From 6e8d06a5949a32b52850ef6aecdd2231aaced01b Mon Sep 17 00:00:00 2001 From: Douglas Barbosa Alexandre Date: Wed, 3 Aug 2016 13:08:58 -0300 Subject: [PATCH] fixup! Add List model --- db/migrate/20160727193336_create_lists.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/db/migrate/20160727193336_create_lists.rb b/db/migrate/20160727193336_create_lists.rb index e962353986c..12bb5605aad 100644 --- a/db/migrate/20160727193336_create_lists.rb +++ b/db/migrate/20160727193336_create_lists.rb @@ -1,4 +1,8 @@ class CreateLists < ActiveRecord::Migration + include Gitlab::Database::MigrationHelpers + + DOWNTIME = false + def change create_table :lists do |t| t.references :board, index: true, foreign_key: true, null: false