Module: SchemaPlus::ForeignKeys::Middleware::Dumper::Tables::SQLite3

Defined in:
lib/schema_plus/foreign_keys/middleware/dumper.rb

Instance Method Summary collapse

Instance Method Details

#after(env) ⇒ Object


58
59
60
# File 'lib/schema_plus/foreign_keys/middleware/dumper.rb', line 58

def after(env)
  env.dump.initial << "  PRAGMA FOREIGN_KEYS = ON;\n" if env.dump.data.has_fks
end