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

     1  -- +goose Up
     2  -- SQL in section 'Up' is executed when this migration is applied
     3  ALTER TABLE teacher ADD COLUMN `fetch_error_count` TINYINT UNSIGNED NOT NULL DEFAULT 0 AFTER `years_of_experience`;
     4  
     5  -- +goose Down
     6  -- SQL section 'Down' is executed when this migration is rolled back
     7  ALTER TABLE teacher DROP COLUMN `fetch_error_count`;