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

     1  -- +goose Up
     2  -- SQL in section 'Up' is executed when this migration is applied
     3  BEGIN;
     4  UPDATE m_plan SET name='ブロンズ', internal_name='Bronze', notification_interval=5, show_ad=0, updated_at=NOW() WHERE id = 2;
     5  UPDATE m_plan SET name='シルバー', internal_name='Silver', notification_interval=1, show_ad=0, updated_at=NOW() WHERE id = 3;
     6  UPDATE m_plan SET name='ゴールド', internal_name='Gold', notification_interval=1, show_ad=0, updated_at=NOW() WHERE id = 4;
     7  UPDATE m_plan SET name='シルバー', internal_name='Silver Beta', notification_interval=1, show_ad=0, updated_at=NOW() WHERE id = 5;
     8  COMMIT;
     9  
    10  -- +goose Down
    11  -- SQL section 'Down' is executed when this migration is rolled back