github.com/oinume/lekcije@v0.0.0-20231017100347-5b4c5eb6ab24/backend/db/migrations/20180328050000_alter_teacher_add_last_lesson_at.sql (about)

     1  -- +goose Up
     2  -- SQL in section 'Up' is executed when this migration is applied
     3  ALTER TABLE teacher ADD COLUMN `last_lesson_at` DATETIME NOT NULL AFTER `rating`;
     4  
     5  -- +goose Down
     6  -- SQL section 'Down' is executed when this migration is rolled back
     7  ALTER TABLE teacher DROP COLUMN `last_lesson_at`;