module PGTrunk::SchemaMigration

@private The module makes ‘pg_trunk` gem-specific registry to be created and dropped along with the native schema.

Public Instance Methods

create_table() click to toggle source
Calls superclass method
# File lib/pg_trunk/core/railtie/schema_migration.rb, line 11
def create_table
  super
  PGTrunk::Registry.create_table
end
drop_table() click to toggle source
Calls superclass method
# File lib/pg_trunk/core/railtie/schema_migration.rb, line 16
def drop_table
  PGTrunk::Registry.drop_table
  super
end