DEV: Drop uploads verified column (#13677)
I marked this ignored almost a year ago in
80268357e7
This commit is contained in:
parent
43d4859d30
commit
ef90575b91
|
@ -0,0 +1,17 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class DropUploadsVerified < ActiveRecord::Migration[6.1]
|
||||
DROPPED_COLUMNS ||= {
|
||||
uploads: %i{verified}
|
||||
}
|
||||
|
||||
def up
|
||||
DROPPED_COLUMNS.each do |table, columns|
|
||||
Migration::ColumnDropper.execute_drop(table, columns)
|
||||
end
|
||||
end
|
||||
|
||||
def down
|
||||
add_column :uploads, :verified, :string
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue