Skip to content
Snippets Groups Projects
Commit 27ad4c15 authored by ThibG's avatar ThibG Committed by Eugen Rochko
Browse files

Fix old migration script depending on the StreamEntry model (#11278)

parent 6172263a
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,11 @@ class FixAccountsUniqueIndex < ActiveRecord::Migration[5.2]
end
end
class StreamEntry < ApplicationRecord
# Dummy class, to make migration possible across version changes
belongs_to :account, inverse_of: :stream_entries
end
disable_ddl_transaction!
def up
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment