]> cat aescling's git repositories - mastodon.git/commit
Make some migration script more robust (fixes #8007) (#8170)
authorThibG <thib@sitedethib.com>
Sat, 11 Aug 2018 16:00:41 +0000 (18:00 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 11 Aug 2018 16:00:41 +0000 (18:00 +0200)
commitcbc2e6bd4094bf2e9d3bf71d7150b8a46cba171b
treea93356ad3e3fb6901366a93008e90969ea92f695
parent44680c46ed55065d73f6fc64e349b39fa57673e9
Make some migration script more robust (fixes #8007) (#8170)

Include a dummy Account class in the migration script containing only the
attributes relevant to the migration in order to not rely as much on the
codebase being in sync with the database schema.
db/migrate/20180528141303_fix_accounts_unique_index.rb