parent
421dab16f4
commit
ce719c03fc
@ -0,0 +1,11 @@ |
||||
class ChangeAttachmentFilesizeToBigInt < ActiveRecord::Migration[6.0] |
||||
def up |
||||
change_column :attachments, :filesize, :integer, limit: 8 |
||||
change_column :attachment_journals, :filesize, :integer, limit: 8 |
||||
end |
||||
|
||||
def down |
||||
change_column :attachments, :filesize, :integer, limit: 4 |
||||
change_column :attachment_journals, :filesize, :integer, limit: 4 |
||||
end |
||||
end |
Loading…
Reference in new issue