A platform for community discussion. Free, open, simple.
fix deprecated setting migration
Arpit Jalan27efa4580038
diff --git a/db/migrate/20180508142711_remove_invite_passthrough_hours.rb b/db/migrate/20180508142711_remove_invite_passthrough_hours.rbindex 76f8f1f4634..5fbe7083cb0 100644--- a/db/migrate/20180508142711_remove_invite_passthrough_hours.rb+++ b/db/migrate/20180508142711_remove_invite_passthrough_hours.rb@@ -1,5 +1,9 @@class RemoveInvitePassthroughHours < ActiveRecord::Migration[5.1]- def change+ def upexecute "DELETE FROM site_settings WHERE name = 'invite_passthrough_hours'"end++ def down+ raise ActiveRecord::IrreversibleMigration+ endend