##// END OF EJS Templates
Fixes migrations that change string limits for sqlite....
Jean-Philippe Lang -
r1208:8195f95464be
parent child
Show More
@@ -1,6 +1,6
1 class ChangeChangesetsCommitterLimit < ActiveRecord::Migration
1 class ChangeChangesetsCommitterLimit < ActiveRecord::Migration
2 def self.up
2 def self.up
3 change_column :changesets, :committer, :string
3 change_column :changesets, :committer, :string, :limit => nil
4 end
4 end
5
5
6 def self.down
6 def self.down
@@ -1,6 +1,6
1 class ChangeAttachmentsContentTypeLimit < ActiveRecord::Migration
1 class ChangeAttachmentsContentTypeLimit < ActiveRecord::Migration
2 def self.up
2 def self.up
3 change_column :attachments, :content_type, :string
3 change_column :attachments, :content_type, :string, :limit => nil
4 end
4 end
5
5
6 def self.down
6 def self.down
@@ -1,6 +1,6
1 class ChangeAuthSourcesAccountLimit < ActiveRecord::Migration
1 class ChangeAuthSourcesAccountLimit < ActiveRecord::Migration
2 def self.up
2 def self.up
3 change_column :auth_sources, :account, :string
3 change_column :auth_sources, :account, :string, :limit => nil
4 end
4 end
5
5
6 def self.down
6 def self.down
General Comments 0
You need to be logged in to leave comments. Login now