Module: ActualDbSchema::Patches::MigrationProxy

Defined in:
lib/actual_db_schema/patches/migration_proxy.rb

Overview

Records the migration file into the tmp folder after it’s been migrated

Instance Method Summary collapse

Instance Method Details

#migrate(direction) ⇒ Object



7
8
9
10
# File 'lib/actual_db_schema/patches/migration_proxy.rb', line 7

def migrate(direction)
  super(direction)
  ActualDbSchema::Store.instance.write(filename) if direction == :up
end