github.com/oinume/lekcije@v0.0.0-20231017100347-5b4c5eb6ab24/backend/db/migrations/20180508050000_modify_teacher_rating.sql (about) 1 -- +goose Up 2 -- SQL in section 'Up' is executed when this migration is applied 3 ALTER TABLE teacher MODIFY COLUMN `rating` decimal(3,2) DEFAULT '0.00'; 4 5 -- +goose Down 6 -- SQL section 'Down' is executed when this migration is rolled back 7 ALTER TABLE teacher MODIFY COLUMN `rating` decimal(2,1) DEFAULT '0.0';