Browse Source

Fixes migrations that change string limits for sqlite.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1222 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/0.7.0-RC1
Jean-Philippe Lang 16 years ago
parent
commit
8195f95464

+ 1
- 1
db/migrate/060_change_changesets_committer_limit.rb 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

+ 1
- 1
db/migrate/070_change_attachments_content_type_limit.rb 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

+ 1
- 1
db/migrate/084_change_auth_sources_account_limit.rb 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

Loading…
Cancel
Save