diff options
author | Valery Sizov <valery@gitlab.com> | 2017-02-27 14:40:26 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2017-02-27 14:40:26 +0300 |
commit | 34bf798eb85635b7cdc3405ab75955f88be6e157 (patch) | |
tree | 4cccc68bd6ad4fe841dbcce6b06e6fafa79ece9f /db/migrate/20170131221752_add_relative_position_to_issues.rb | |
parent | 69e0b06dbb5866be65641ecf0f9b9b29c339a204 (diff) |
[Issue ordering] Using integer instead of float
Diffstat (limited to 'db/migrate/20170131221752_add_relative_position_to_issues.rb')
-rw-r--r-- | db/migrate/20170131221752_add_relative_position_to_issues.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20170131221752_add_relative_position_to_issues.rb b/db/migrate/20170131221752_add_relative_position_to_issues.rb index 41e17cf13ba..4f0cd803308 100644 --- a/db/migrate/20170131221752_add_relative_position_to_issues.rb +++ b/db/migrate/20170131221752_add_relative_position_to_issues.rb @@ -24,7 +24,7 @@ class AddRelativePositionToIssues < ActiveRecord::Migration # disable_ddl_transaction! def change - add_column :issues, :relative_position, :float + add_column :issues, :relative_position, :integer add_index :issues, :relative_position end |