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