Module: PgPower::SchemaDumper::ViewMethods

Included in:
PgPower::SchemaDumper
Defined in:
lib/pg_power/schema_dumper/view_methods.rb

Overview

Extends ActiveRecord::SchemaDumper class to dump views

Instance Method Summary collapse

Instance Method Details

#tables_with_views(stream) ⇒ Object

Dump create view statements



4
5
6
7
8
# File 'lib/pg_power/schema_dumper/view_methods.rb', line 4

def tables_with_views(stream)
  tables_without_views(stream)
  views(stream)
  stream
end