Commit Graph

7 Commits (93d9e16cfc3e99f0ba7669ffed64fb47268ec3a4)

Author SHA1 Message Date
Claire 0cbf19affd Fix most rubocop issues (#2165)
* Run rubocop --autocorrect on app/, config/ and lib/, also manually fix some remaining style issues

* Run rubocop --autocorrect-all on db/

* Run rubocop --autocorrect-all on `spec/` and fix remaining issues
2023-04-09 11:25:30 +02:00
Claire 3fee89578b Fix ActiveRecord monkey-patching migration hack 2021-03-24 10:55:02 +01:00
Thibaut Girka 7f034cf429 Fix ActiveRecord::Migration.check_pending! failing because of duplicate migrations 2020-02-10 20:04:41 +01:00
Thibaut Girka 06b56ac4b7 Fix weird edge case in load_schema 2019-11-20 19:19:57 +01:00
Thibaut Girka 562534a9d3 Override Migrator.new instead of Migrator#initialize, it's easier to understand 2019-11-20 17:31:22 +01:00
Thibaut Girka 13f738e229 Add documentation about the migration hack 2019-11-20 17:18:00 +01:00
Thibaut Girka f046c03787 Monkey-patch Rails' migrator to ignore duplicate migrations across Mastodon and glitch-soc 2019-11-20 17:03:25 +01:00