mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
First db:migrate fails with SQLServer (undefined method type for nil class in sqlserver adapter).
git-svn-id: http://svn.redmine.org/redmine/trunk@13645 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
1e0045e69b
commit
191a4a61f1
@ -1,5 +1,7 @@
|
||||
class AllowNullPosition < ActiveRecord::Migration
|
||||
def self.up
|
||||
Enumeration.reset_column_information
|
||||
|
||||
# removes the 'not null' constraint on position fields
|
||||
change_column :issue_statuses, :position, :integer, :default => 1, :null => true
|
||||
change_column :roles, :position, :integer, :default => 1, :null => true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user