Skip to content
Permalink
Browse files

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

  • Loading branch information...
ThibG authored and Gargron committed Jul 10, 2019
1 parent 6172263 commit 27ad4c1501eb391b56e89bdab52624b953fde786
Showing with 5 additions and 0 deletions.
  1. +5 −0 db/migrate/20180528141303_fix_accounts_unique_index.rb
@@ -12,6 +12,11 @@ def acct
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 comments on commit 27ad4c1

Please sign in to comment.
You can’t perform that action at this time.