diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-03 19:08:58 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-17 18:58:57 +0300 |
commit | 6e8d06a5949a32b52850ef6aecdd2231aaced01b (patch) | |
tree | 6615b1be12a27274a71145f7d76f469367543c89 /db/migrate/20160727193336_create_lists.rb | |
parent | 611dab2e522e5e59cf09cd459a31686e65616863 (diff) |
fixup! Add List model
Diffstat (limited to 'db/migrate/20160727193336_create_lists.rb')
-rw-r--r-- | db/migrate/20160727193336_create_lists.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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 |