@@ -1,9 +1,9 | |||
|
1 | 1 | class ChangeChangesetsCommitterLimit < ActiveRecord::Migration |
|
2 | 2 | def self.up |
|
3 | change_column :changesets, :committer, :string | |
|
3 | change_column :changesets, :committer, :string, :limit => nil | |
|
4 | 4 | end |
|
5 | 5 | |
|
6 | 6 | def self.down |
|
7 | 7 | change_column :changesets, :committer, :string, :limit => 30 |
|
8 | 8 | end |
|
9 | 9 | end |
@@ -1,9 +1,9 | |||
|
1 | 1 | class ChangeAttachmentsContentTypeLimit < ActiveRecord::Migration |
|
2 | 2 | def self.up |
|
3 | change_column :attachments, :content_type, :string | |
|
3 | change_column :attachments, :content_type, :string, :limit => nil | |
|
4 | 4 | end |
|
5 | 5 | |
|
6 | 6 | def self.down |
|
7 | 7 | change_column :attachments, :content_type, :string, :limit => 60 |
|
8 | 8 | end |
|
9 | 9 | end |
@@ -1,9 +1,9 | |||
|
1 | 1 | class ChangeAuthSourcesAccountLimit < ActiveRecord::Migration |
|
2 | 2 | def self.up |
|
3 | change_column :auth_sources, :account, :string | |
|
3 | change_column :auth_sources, :account, :string, :limit => nil | |
|
4 | 4 | end |
|
5 | 5 | |
|
6 | 6 | def self.down |
|
7 | 7 | change_column :auth_sources, :account, :string, :limit => 60 |
|
8 | 8 | end |
|
9 | 9 | end |
General Comments 0
You need to be logged in to leave comments.
Login now