diff options
author | blackst0ne <blackst0ne.ru@gmail.com> | 2018-05-09 20:07:04 +1100 |
---|---|---|
committer | blackst0ne <blackst0ne.ru@gmail.com> | 2018-05-09 20:07:04 +1100 |
commit | 55fa9425e924a2394aa05406c6b2439e7e0e94c5 (patch) | |
tree | 8476574fea0ccec49528f261ab0c99fc3b21943e /db | |
parent | ca91120e6f98de7eeb01cbf4cc7cb0c12bc3e6c4 (diff) | |
download | gitlab-ce-55fa9425e924a2394aa05406c6b2439e7e0e94c5.tar.gz |
Fix `downtime_check` job
15fcd9650f6a4a5832e2ed57419b11e30d3f606f (!18547) squashes old migrations
to a single one.
Old migrations had `rubocop:disable all` rule, but the new migration doesn't
have it, so the `downtime_check` fails.
This commit explicitly tells that the migration requires downtime.
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20140313092127_init_schema.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrate/20140313092127_init_schema.rb b/db/migrate/20140313092127_init_schema.rb index e5c3b65fa8d..895298ed4ed 100644 --- a/db/migrate/20140313092127_init_schema.rb +++ b/db/migrate/20140313092127_init_schema.rb @@ -1,4 +1,6 @@ class InitSchema < ActiveRecord::Migration + DOWNTIME = true + def up create_table "broadcast_messages", force: :cascade do |t| t.text "message", null: false |