lib/builder/batch.rb in prick-0.20.12 vs lib/builder/batch.rb in prick-0.20.13
- old
+ new
@@ -100,15 +100,16 @@
t_type = Timer.new " Load data model"
files = nodes.map(&:path)
# Load meta object
- meta = PgMeta.new(conn)
+ meta = PgMeta.new(conn, exclude_schemas: builder.pg_graph_ignore_schemas)
# Create type object
type = PgGraph::Type.new(meta, builder.reflections_file)
+ # Timer
t_type.stop
t_fox = Timer.new " Parse files"
# Create fox object
fox = FixtureFox::Fox.new(type)
@@ -124,9 +125,10 @@
fox.generate
# Dump state file
fox.write_state(FOX_STATE_PATH)
+ # Timer
t_fox.stop
t_exe = Timer.new " Execute SQL"
delete = builder.clean ? :none : :touched
begin