DEV: resolve Rails/ReversibleMigrationMethodDefinition errors (#96)

This commit is contained in:
Kelv 2024-10-25 14:57:03 +08:00 committed by GitHub
parent 4fd9069115
commit d52e6af7e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -19,4 +19,8 @@ class MigrateSteamAuthData < ActiveRecord::Migration[5.2]
WHERE plugin_name = 'steam' WHERE plugin_name = 'steam'
SQL SQL
end end
def down
raise ActiveRecord::IrreversibleMigration
end
end end