@@ -1,5 +1,7 | |||||
1 | class AllowNullPosition < ActiveRecord::Migration |
|
1 | class AllowNullPosition < ActiveRecord::Migration | |
2 | def self.up |
|
2 | def self.up | |
|
3 | Enumeration.reset_column_information | |||
|
4 | ||||
3 | # removes the 'not null' constraint on position fields |
|
5 | # removes the 'not null' constraint on position fields | |
4 | change_column :issue_statuses, :position, :integer, :default => 1, :null => true |
|
6 | change_column :issue_statuses, :position, :integer, :default => 1, :null => true | |
5 | change_column :roles, :position, :integer, :default => 1, :null => true |
|
7 | change_column :roles, :position, :integer, :default => 1, :null => true |
General Comments 0
You need to be logged in to leave comments.
Login now