Fix some old migration scripts (#17394)
* Fix some old migration scripts * Fix edge case in two-step migration from older releases
This commit is contained in:
parent
f5639e1cbe
commit
ac583fce21
5 changed files with 53 additions and 4 deletions
|
@ -1,4 +1,8 @@
|
|||
class UpdatePtLocales < ActiveRecord::Migration[5.2]
|
||||
class User < ApplicationRecord
|
||||
# Dummy class, to make migration possible across version changes
|
||||
end
|
||||
|
||||
disable_ddl_transaction!
|
||||
|
||||
def up
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue