Module: Torque::PostgreSQL::SchemaDumper

Includes:
Adapter::ColumnDumper
Defined in:
lib/torque/postgresql/schema_dumper.rb

Instance Method Summary collapse

Methods included from Adapter::ColumnDumper

#migration_keys, #prepare_column_options, #schema_type

Instance Method Details

#dump(stream) ⇒ Object

:nodoc:



7
8
9
10
11
12
13
# File 'lib/torque/postgresql/schema_dumper.rb', line 7

def dump(stream) # :nodoc:
  @connection.dump_mode!
  super

  @connection.dump_mode!
  stream
end

#extensions(stream) ⇒ Object

:nodoc:



15
16
17
18
# File 'lib/torque/postgresql/schema_dumper.rb', line 15

def extensions(stream) # :nodoc:
  super
  user_defined_types(stream)
end