Fixes migrations that change string limits for sqlite.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1222 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2008-03-09 18:25:37 +00:00
parent 494a6ecfb0
commit 8195f95464
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
class ChangeChangesetsCommitterLimit < ActiveRecord::Migration
def self.up
change_column :changesets, :committer, :string
change_column :changesets, :committer, :string, :limit => nil
end
def self.down

View File

@ -1,6 +1,6 @@
class ChangeAttachmentsContentTypeLimit < ActiveRecord::Migration
def self.up
change_column :attachments, :content_type, :string
change_column :attachments, :content_type, :string, :limit => nil
end
def self.down

View File

@ -1,6 +1,6 @@
class ChangeAuthSourcesAccountLimit < ActiveRecord::Migration
def self.up
change_column :auth_sources, :account, :string
change_column :auth_sources, :account, :string, :limit => nil
end
def self.down