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

     1  -- +goose Up
     2  -- SQL in section 'Up' is executed when this migration is applied
     3  ALTER TABLE lesson_status_log
     4      ADD COLUMN `id` bigint unsigned NOT NULL AUTO_INCREMENT FIRST,
     5      ADD PRIMARY KEY (id);
     6  
     7  -- +goose Down
     8  -- SQL section 'Down' is executed when this migration is rolled back