diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-07-28 19:26:16 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-17 12:58:57 -0300 |
commit | b07c5f23b8761ae87d29ded1a69b14ae6393443a (patch) | |
tree | ec6d9812ae818c282480ef930c971462a203560f /db/migrate | |
parent | 35420cec0bf511af662e09cbd8664720c58fa187 (diff) | |
download | gitlab-ce-b07c5f23b8761ae87d29ded1a69b14ae6393443a.tar.gz |
Order board lists by list_type, and position
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 |