diff options
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20160727193336_create_lists.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/20160727193336_create_lists.rb b/db/migrate/20160727193336_create_lists.rb index 12bb5605aad..61d501215f2 100644 --- a/db/migrate/20160727193336_create_lists.rb +++ b/db/migrate/20160727193336_create_lists.rb @@ -7,8 +7,8 @@ class CreateLists < ActiveRecord::Migration create_table :lists do |t| t.references :board, index: true, foreign_key: true, null: false t.references :label, index: true, foreign_key: true - t.integer :list_type, null: false, default: 0 - t.integer :position, null: false + t.integer :list_type, null: false, default: 1 + t.integer :position t.timestamps null: false end |