Feature #10672 ยป change_attachments_file_size_limit.diff
| db/migrate/20150725020314_change_attachments_file_size_limit.rb (working copy) | ||
|---|---|---|
| 1 |
class ChangeAttachmentsFileSizeLimit < ActiveRecord::Migration |
|
| 2 |
def up |
|
| 3 |
change_column :attachments, :filesize, :integer, :limit => 8 |
|
| 4 |
end |
|
| 5 | ||
| 6 |
def down |
|
| 7 |
change_column :attachments, :filesize, :integer, :limit => 4 |
|
| 8 |
end |
|
| 9 |
end |
|