Fix migration to migrate LFS objects entries

The INSERT of the new data into lfs_object_registry
should  have happened before the new code is booted.
And the adding of the TRIGGER was indented to exist
while old code was running and to be removed after
new code is booted.
parent 42b27577
# frozen_string_literal: true
require 'spec_helper'
require Rails.root.join('ee', 'db', 'geo', 'post_migrate', '20191010204941_migrate_lfs_objects_to_separate_registry.rb')
require Rails.root.join('ee', 'db', 'geo', 'migrate', '20191010204941_migrate_lfs_objects_to_separate_registry.rb')
describe MigrateLfsObjectsToSeparateRegistry, :geo, :migration do
let(:file_registry) { table(:file_registry) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment