diff options
Diffstat (limited to 'db/migrate/20160212123307_create_tasks.rb')
-rw-r--r-- | db/migrate/20160212123307_create_tasks.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrate/20160212123307_create_tasks.rb b/db/migrate/20160212123307_create_tasks.rb index 20573b01351..84722cc70ca 100644 --- a/db/migrate/20160212123307_create_tasks.rb +++ b/db/migrate/20160212123307_create_tasks.rb @@ -1,5 +1,7 @@ # rubocop:disable all class CreateTasks < ActiveRecord::Migration + DOWNTIME = false + def change create_table :tasks do |t| t.references :user, null: false, index: true |