Module: Polymorpheus::SchemaDumper
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/polymorpheus/schema_dumper.rb
Instance Method Summary collapse
Instance Method Details
#tables_with_triggers(stream) ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/polymorpheus/schema_dumper.rb', line 9 def tables_with_triggers(stream) tables_without_triggers(stream) @connection.triggers.collect(&:schema_statement).each do |statement| stream.puts statement end stream.puts end |