Files
leadchat/db/migrate/20230328131926_drop_extra_audit_integer_column.rb
Jordan Brough aa75666ad9 chore: Remove extra audit column (#6769)
- Drop unintentional "audits.integer" column
2023-03-29 12:24:14 +05:30

8 lines
312 B
Ruby

class DropExtraAuditIntegerColumn < ActiveRecord::Migration[6.1]
def change
# this column was added unintentionally for a time in a migration but not in schema.rb, so some
# installations will have it and some won't.
remove_column :audits, :integer, :integer, default: 0, if_exists: true
end
end