caddie 0.0.2 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -50577,3 +50577,2587 @@ WHERE c.contype = 'f'
50577
50577
  AND t3.nspname = ANY (current_schemas(false))
50578
50578
  ORDER BY c.conname
50579
50579
 
50580
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
50581
+ Migrating to CreateCaddieCrestPriceHistoryUpdates (20160524122651)
50582
+  (0.4ms) BEGIN
50583
+  (3.0ms) CREATE TABLE "caddie_crest_price_history_updates" ("id" serial primary key, "eve_item_id" integer, "region_id" integer, "max_update" date, "max_eve_item_create" date, "max_region_create" date, "max_date" date, "nb_days" integer, "process_queue" character varying, "process_queue_priority" integer, "next_process_date" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
50584
+  (0.2ms) ROLLBACK
50585
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
50586
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
50587
+  (2.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50588
+ FROM pg_constraint c
50589
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50590
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50591
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50592
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50593
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50594
+ WHERE c.contype = 'f'
50595
+ AND t1.relname = 'api_key_errors'
50596
+ AND t3.nspname = ANY (current_schemas(false))
50597
+ ORDER BY c.conname
50598
+ 
50599
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50600
+ FROM pg_constraint c
50601
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50602
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50603
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50604
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50605
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50606
+ WHERE c.contype = 'f'
50607
+ AND t1.relname = 'blueprints'
50608
+ AND t3.nspname = ANY (current_schemas(false))
50609
+ ORDER BY c.conname
50610
+
50611
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50612
+ FROM pg_constraint c
50613
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50614
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50615
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50616
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50617
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50618
+ WHERE c.contype = 'f'
50619
+ AND t1.relname = 'caddie_crest_price_history_updates'
50620
+ AND t3.nspname = ANY (current_schemas(false))
50621
+ ORDER BY c.conname
50622
+ 
50623
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50624
+ FROM pg_constraint c
50625
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50626
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50627
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50628
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50629
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50630
+ WHERE c.contype = 'f'
50631
+ AND t1.relname = 'components'
50632
+ AND t3.nspname = ANY (current_schemas(false))
50633
+ ORDER BY c.conname
50634
+
50635
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50636
+ FROM pg_constraint c
50637
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50638
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50639
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50640
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50641
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50642
+ WHERE c.contype = 'f'
50643
+ AND t1.relname = 'crest_costs'
50644
+ AND t3.nspname = ANY (current_schemas(false))
50645
+ ORDER BY c.conname
50646
+ 
50647
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50648
+ FROM pg_constraint c
50649
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50650
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50651
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50652
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50653
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50654
+ WHERE c.contype = 'f'
50655
+ AND t1.relname = 'crest_price_histories'
50656
+ AND t3.nspname = ANY (current_schemas(false))
50657
+ ORDER BY c.conname
50658
+
50659
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50660
+ FROM pg_constraint c
50661
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50662
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50663
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50664
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50665
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50666
+ WHERE c.contype = 'f'
50667
+ AND t1.relname = 'crest_price_histories_daily_used'
50668
+ AND t3.nspname = ANY (current_schemas(false))
50669
+ ORDER BY c.conname
50670
+ 
50671
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50672
+ FROM pg_constraint c
50673
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50674
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50675
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50676
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50677
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50678
+ WHERE c.contype = 'f'
50679
+ AND t1.relname = 'crest_price_histories_frequently_used'
50680
+ AND t3.nspname = ANY (current_schemas(false))
50681
+ ORDER BY c.conname
50682
+
50683
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50684
+ FROM pg_constraint c
50685
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50686
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50687
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50688
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50689
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50690
+ WHERE c.contype = 'f'
50691
+ AND t1.relname = 'crest_price_histories_never_used'
50692
+ AND t3.nspname = ANY (current_schemas(false))
50693
+ ORDER BY c.conname
50694
+ 
50695
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50696
+ FROM pg_constraint c
50697
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50698
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50699
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50700
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50701
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50702
+ WHERE c.contype = 'f'
50703
+ AND t1.relname = 'crest_price_histories_rarely_used'
50704
+ AND t3.nspname = ANY (current_schemas(false))
50705
+ ORDER BY c.conname
50706
+
50707
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50708
+ FROM pg_constraint c
50709
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50710
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50711
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50712
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50713
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50714
+ WHERE c.contype = 'f'
50715
+ AND t1.relname = 'crest_prices_last_month_averages'
50716
+ AND t3.nspname = ANY (current_schemas(false))
50717
+ ORDER BY c.conname
50718
+ 
50719
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50720
+ FROM pg_constraint c
50721
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50722
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50723
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50724
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50725
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50726
+ WHERE c.contype = 'f'
50727
+ AND t1.relname = 'eve_clients'
50728
+ AND t3.nspname = ANY (current_schemas(false))
50729
+ ORDER BY c.conname
50730
+
50731
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50732
+ FROM pg_constraint c
50733
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50734
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50735
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50736
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50737
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50738
+ WHERE c.contype = 'f'
50739
+ AND t1.relname = 'eve_items'
50740
+ AND t3.nspname = ANY (current_schemas(false))
50741
+ ORDER BY c.conname
50742
+ 
50743
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50744
+ FROM pg_constraint c
50745
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50746
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50747
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50748
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50749
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50750
+ WHERE c.contype = 'f'
50751
+ AND t1.relname = 'eve_items_users'
50752
+ AND t3.nspname = ANY (current_schemas(false))
50753
+ ORDER BY c.conname
50754
+
50755
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50756
+ FROM pg_constraint c
50757
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50758
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50759
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50760
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50761
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50762
+ WHERE c.contype = 'f'
50763
+ AND t1.relname = 'identities'
50764
+ AND t3.nspname = ANY (current_schemas(false))
50765
+ ORDER BY c.conname
50766
+ 
50767
+  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50768
+ FROM pg_constraint c
50769
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50770
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50771
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50772
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50773
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50774
+ WHERE c.contype = 'f'
50775
+ AND t1.relname = 'jita_margins'
50776
+ AND t3.nspname = ANY (current_schemas(false))
50777
+ ORDER BY c.conname
50778
+
50779
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50780
+ FROM pg_constraint c
50781
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50782
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50783
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50784
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50785
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50786
+ WHERE c.contype = 'f'
50787
+ AND t1.relname = 'market_group_hierarchies'
50788
+ AND t3.nspname = ANY (current_schemas(false))
50789
+ ORDER BY c.conname
50790
+ 
50791
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50792
+ FROM pg_constraint c
50793
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50794
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50795
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50796
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50797
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50798
+ WHERE c.contype = 'f'
50799
+ AND t1.relname = 'market_groups'
50800
+ AND t3.nspname = ANY (current_schemas(false))
50801
+ ORDER BY c.conname
50802
+
50803
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50804
+ FROM pg_constraint c
50805
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50806
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50807
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50808
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50809
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50810
+ WHERE c.contype = 'f'
50811
+ AND t1.relname = 'materials'
50812
+ AND t3.nspname = ANY (current_schemas(false))
50813
+ ORDER BY c.conname
50814
+ 
50815
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50816
+ FROM pg_constraint c
50817
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50818
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50819
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50820
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50821
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50822
+ WHERE c.contype = 'f'
50823
+ AND t1.relname = 'min_prices'
50824
+ AND t3.nspname = ANY (current_schemas(false))
50825
+ ORDER BY c.conname
50826
+
50827
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50828
+ FROM pg_constraint c
50829
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50830
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50831
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50832
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50833
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50834
+ WHERE c.contype = 'f'
50835
+ AND t1.relname = 'regions'
50836
+ AND t3.nspname = ANY (current_schemas(false))
50837
+ ORDER BY c.conname
50838
+ 
50839
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50840
+ FROM pg_constraint c
50841
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50842
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50843
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50844
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50845
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50846
+ WHERE c.contype = 'f'
50847
+ AND t1.relname = 'sale_records'
50848
+ AND t3.nspname = ANY (current_schemas(false))
50849
+ ORDER BY c.conname
50850
+
50851
+  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50852
+ FROM pg_constraint c
50853
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50854
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50855
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50856
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50857
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50858
+ WHERE c.contype = 'f'
50859
+ AND t1.relname = 'shopping_baskets'
50860
+ AND t3.nspname = ANY (current_schemas(false))
50861
+ ORDER BY c.conname
50862
+ 
50863
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50864
+ FROM pg_constraint c
50865
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50866
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50867
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50868
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50869
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50870
+ WHERE c.contype = 'f'
50871
+ AND t1.relname = 'stations'
50872
+ AND t3.nspname = ANY (current_schemas(false))
50873
+ ORDER BY c.conname
50874
+
50875
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50876
+ FROM pg_constraint c
50877
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50878
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50879
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50880
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50881
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50882
+ WHERE c.contype = 'f'
50883
+ AND t1.relname = 'trade_hubs'
50884
+ AND t3.nspname = ANY (current_schemas(false))
50885
+ ORDER BY c.conname
50886
+ 
50887
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50888
+ FROM pg_constraint c
50889
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50890
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50891
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50892
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50893
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50894
+ WHERE c.contype = 'f'
50895
+ AND t1.relname = 'trade_hubs_users'
50896
+ AND t3.nspname = ANY (current_schemas(false))
50897
+ ORDER BY c.conname
50898
+
50899
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50900
+ FROM pg_constraint c
50901
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50902
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50903
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50904
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50905
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50906
+ WHERE c.contype = 'f'
50907
+ AND t1.relname = 'trade_orders'
50908
+ AND t3.nspname = ANY (current_schemas(false))
50909
+ ORDER BY c.conname
50910
+ 
50911
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50912
+ FROM pg_constraint c
50913
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50914
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50915
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50916
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50917
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50918
+ WHERE c.contype = 'f'
50919
+ AND t1.relname = 'user_activity_logs'
50920
+ AND t3.nspname = ANY (current_schemas(false))
50921
+ ORDER BY c.conname
50922
+
50923
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50924
+ FROM pg_constraint c
50925
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50926
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50927
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50928
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50929
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50930
+ WHERE c.contype = 'f'
50931
+ AND t1.relname = 'users'
50932
+ AND t3.nspname = ANY (current_schemas(false))
50933
+ ORDER BY c.conname
50934
+ 
50935
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
50936
+ Migrating to CreateCaddieCrestPriceHistoryUpdates (20160524122651)
50937
+  (0.2ms) BEGIN
50938
+  (1.9ms) CREATE TABLE "caddie_crest_price_history_updates" ("id" serial primary key, "eve_item_id" integer, "region_id" integer, "max_update" date, "max_eve_item_create" date, "max_region_create" date, "max_date" date, "nb_days" integer, "process_queue" character varying, "process_queue_priority" integer, "next_process_date" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
50939
+  (0.2ms) ROLLBACK
50940
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
50941
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
50942
+  (2.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50943
+ FROM pg_constraint c
50944
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50945
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50946
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50947
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50948
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50949
+ WHERE c.contype = 'f'
50950
+ AND t1.relname = 'api_key_errors'
50951
+ AND t3.nspname = ANY (current_schemas(false))
50952
+ ORDER BY c.conname
50953
+ 
50954
+  (2.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50955
+ FROM pg_constraint c
50956
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50957
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50958
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50959
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50960
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50961
+ WHERE c.contype = 'f'
50962
+ AND t1.relname = 'blueprints'
50963
+ AND t3.nspname = ANY (current_schemas(false))
50964
+ ORDER BY c.conname
50965
+
50966
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50967
+ FROM pg_constraint c
50968
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50969
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50970
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50971
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50972
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50973
+ WHERE c.contype = 'f'
50974
+ AND t1.relname = 'caddie_crest_price_history_updates'
50975
+ AND t3.nspname = ANY (current_schemas(false))
50976
+ ORDER BY c.conname
50977
+ 
50978
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50979
+ FROM pg_constraint c
50980
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50981
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50982
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50983
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50984
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50985
+ WHERE c.contype = 'f'
50986
+ AND t1.relname = 'components'
50987
+ AND t3.nspname = ANY (current_schemas(false))
50988
+ ORDER BY c.conname
50989
+
50990
+  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
50991
+ FROM pg_constraint c
50992
+ JOIN pg_class t1 ON c.conrelid = t1.oid
50993
+ JOIN pg_class t2 ON c.confrelid = t2.oid
50994
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
50995
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
50996
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
50997
+ WHERE c.contype = 'f'
50998
+ AND t1.relname = 'crest_costs'
50999
+ AND t3.nspname = ANY (current_schemas(false))
51000
+ ORDER BY c.conname
51001
+ 
51002
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51003
+ FROM pg_constraint c
51004
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51005
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51006
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51007
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51008
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51009
+ WHERE c.contype = 'f'
51010
+ AND t1.relname = 'crest_price_histories'
51011
+ AND t3.nspname = ANY (current_schemas(false))
51012
+ ORDER BY c.conname
51013
+
51014
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51015
+ FROM pg_constraint c
51016
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51017
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51018
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51019
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51020
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51021
+ WHERE c.contype = 'f'
51022
+ AND t1.relname = 'crest_price_histories_daily_used'
51023
+ AND t3.nspname = ANY (current_schemas(false))
51024
+ ORDER BY c.conname
51025
+ 
51026
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51027
+ FROM pg_constraint c
51028
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51029
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51030
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51031
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51032
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51033
+ WHERE c.contype = 'f'
51034
+ AND t1.relname = 'crest_price_histories_frequently_used'
51035
+ AND t3.nspname = ANY (current_schemas(false))
51036
+ ORDER BY c.conname
51037
+
51038
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51039
+ FROM pg_constraint c
51040
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51041
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51042
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51043
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51044
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51045
+ WHERE c.contype = 'f'
51046
+ AND t1.relname = 'crest_price_histories_never_used'
51047
+ AND t3.nspname = ANY (current_schemas(false))
51048
+ ORDER BY c.conname
51049
+ 
51050
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51051
+ FROM pg_constraint c
51052
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51053
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51054
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51055
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51056
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51057
+ WHERE c.contype = 'f'
51058
+ AND t1.relname = 'crest_price_histories_rarely_used'
51059
+ AND t3.nspname = ANY (current_schemas(false))
51060
+ ORDER BY c.conname
51061
+
51062
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51063
+ FROM pg_constraint c
51064
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51065
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51066
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51067
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51068
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51069
+ WHERE c.contype = 'f'
51070
+ AND t1.relname = 'crest_prices_last_month_averages'
51071
+ AND t3.nspname = ANY (current_schemas(false))
51072
+ ORDER BY c.conname
51073
+ 
51074
+  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51075
+ FROM pg_constraint c
51076
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51077
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51078
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51079
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51080
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51081
+ WHERE c.contype = 'f'
51082
+ AND t1.relname = 'eve_clients'
51083
+ AND t3.nspname = ANY (current_schemas(false))
51084
+ ORDER BY c.conname
51085
+
51086
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51087
+ FROM pg_constraint c
51088
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51089
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51090
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51091
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51092
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51093
+ WHERE c.contype = 'f'
51094
+ AND t1.relname = 'eve_items'
51095
+ AND t3.nspname = ANY (current_schemas(false))
51096
+ ORDER BY c.conname
51097
+ 
51098
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51099
+ FROM pg_constraint c
51100
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51101
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51102
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51103
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51104
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51105
+ WHERE c.contype = 'f'
51106
+ AND t1.relname = 'eve_items_users'
51107
+ AND t3.nspname = ANY (current_schemas(false))
51108
+ ORDER BY c.conname
51109
+
51110
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51111
+ FROM pg_constraint c
51112
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51113
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51114
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51115
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51116
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51117
+ WHERE c.contype = 'f'
51118
+ AND t1.relname = 'identities'
51119
+ AND t3.nspname = ANY (current_schemas(false))
51120
+ ORDER BY c.conname
51121
+ 
51122
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51123
+ FROM pg_constraint c
51124
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51125
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51126
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51127
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51128
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51129
+ WHERE c.contype = 'f'
51130
+ AND t1.relname = 'jita_margins'
51131
+ AND t3.nspname = ANY (current_schemas(false))
51132
+ ORDER BY c.conname
51133
+
51134
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51135
+ FROM pg_constraint c
51136
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51137
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51138
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51139
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51140
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51141
+ WHERE c.contype = 'f'
51142
+ AND t1.relname = 'market_group_hierarchies'
51143
+ AND t3.nspname = ANY (current_schemas(false))
51144
+ ORDER BY c.conname
51145
+ 
51146
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51147
+ FROM pg_constraint c
51148
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51149
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51150
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51151
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51152
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51153
+ WHERE c.contype = 'f'
51154
+ AND t1.relname = 'market_groups'
51155
+ AND t3.nspname = ANY (current_schemas(false))
51156
+ ORDER BY c.conname
51157
+
51158
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51159
+ FROM pg_constraint c
51160
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51161
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51162
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51163
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51164
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51165
+ WHERE c.contype = 'f'
51166
+ AND t1.relname = 'materials'
51167
+ AND t3.nspname = ANY (current_schemas(false))
51168
+ ORDER BY c.conname
51169
+ 
51170
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51171
+ FROM pg_constraint c
51172
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51173
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51174
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51175
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51176
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51177
+ WHERE c.contype = 'f'
51178
+ AND t1.relname = 'min_prices'
51179
+ AND t3.nspname = ANY (current_schemas(false))
51180
+ ORDER BY c.conname
51181
+
51182
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51183
+ FROM pg_constraint c
51184
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51185
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51186
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51187
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51188
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51189
+ WHERE c.contype = 'f'
51190
+ AND t1.relname = 'regions'
51191
+ AND t3.nspname = ANY (current_schemas(false))
51192
+ ORDER BY c.conname
51193
+ 
51194
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51195
+ FROM pg_constraint c
51196
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51197
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51198
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51199
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51200
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51201
+ WHERE c.contype = 'f'
51202
+ AND t1.relname = 'sale_records'
51203
+ AND t3.nspname = ANY (current_schemas(false))
51204
+ ORDER BY c.conname
51205
+
51206
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51207
+ FROM pg_constraint c
51208
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51209
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51210
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51211
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51212
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51213
+ WHERE c.contype = 'f'
51214
+ AND t1.relname = 'shopping_baskets'
51215
+ AND t3.nspname = ANY (current_schemas(false))
51216
+ ORDER BY c.conname
51217
+ 
51218
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51219
+ FROM pg_constraint c
51220
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51221
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51222
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51223
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51224
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51225
+ WHERE c.contype = 'f'
51226
+ AND t1.relname = 'stations'
51227
+ AND t3.nspname = ANY (current_schemas(false))
51228
+ ORDER BY c.conname
51229
+
51230
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51231
+ FROM pg_constraint c
51232
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51233
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51234
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51235
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51236
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51237
+ WHERE c.contype = 'f'
51238
+ AND t1.relname = 'trade_hubs'
51239
+ AND t3.nspname = ANY (current_schemas(false))
51240
+ ORDER BY c.conname
51241
+ 
51242
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51243
+ FROM pg_constraint c
51244
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51245
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51246
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51247
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51248
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51249
+ WHERE c.contype = 'f'
51250
+ AND t1.relname = 'trade_hubs_users'
51251
+ AND t3.nspname = ANY (current_schemas(false))
51252
+ ORDER BY c.conname
51253
+
51254
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51255
+ FROM pg_constraint c
51256
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51257
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51258
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51259
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51260
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51261
+ WHERE c.contype = 'f'
51262
+ AND t1.relname = 'trade_orders'
51263
+ AND t3.nspname = ANY (current_schemas(false))
51264
+ ORDER BY c.conname
51265
+ 
51266
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51267
+ FROM pg_constraint c
51268
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51269
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51270
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51271
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51272
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51273
+ WHERE c.contype = 'f'
51274
+ AND t1.relname = 'user_activity_logs'
51275
+ AND t3.nspname = ANY (current_schemas(false))
51276
+ ORDER BY c.conname
51277
+
51278
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51279
+ FROM pg_constraint c
51280
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51281
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51282
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51283
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51284
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51285
+ WHERE c.contype = 'f'
51286
+ AND t1.relname = 'users'
51287
+ AND t3.nspname = ANY (current_schemas(false))
51288
+ ORDER BY c.conname
51289
+ 
51290
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
51291
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
51292
+  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51293
+ FROM pg_constraint c
51294
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51295
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51296
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51297
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51298
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51299
+ WHERE c.contype = 'f'
51300
+ AND t1.relname = 'api_key_errors'
51301
+ AND t3.nspname = ANY (current_schemas(false))
51302
+ ORDER BY c.conname
51303
+ 
51304
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51305
+ FROM pg_constraint c
51306
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51307
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51308
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51309
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51310
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51311
+ WHERE c.contype = 'f'
51312
+ AND t1.relname = 'blueprints'
51313
+ AND t3.nspname = ANY (current_schemas(false))
51314
+ ORDER BY c.conname
51315
+
51316
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51317
+ FROM pg_constraint c
51318
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51319
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51320
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51321
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51322
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51323
+ WHERE c.contype = 'f'
51324
+ AND t1.relname = 'caddie_crest_price_history_updates'
51325
+ AND t3.nspname = ANY (current_schemas(false))
51326
+ ORDER BY c.conname
51327
+ 
51328
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51329
+ FROM pg_constraint c
51330
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51331
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51332
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51333
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51334
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51335
+ WHERE c.contype = 'f'
51336
+ AND t1.relname = 'components'
51337
+ AND t3.nspname = ANY (current_schemas(false))
51338
+ ORDER BY c.conname
51339
+
51340
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51341
+ FROM pg_constraint c
51342
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51343
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51344
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51345
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51346
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51347
+ WHERE c.contype = 'f'
51348
+ AND t1.relname = 'crest_costs'
51349
+ AND t3.nspname = ANY (current_schemas(false))
51350
+ ORDER BY c.conname
51351
+ 
51352
+  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51353
+ FROM pg_constraint c
51354
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51355
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51356
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51357
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51358
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51359
+ WHERE c.contype = 'f'
51360
+ AND t1.relname = 'crest_price_histories'
51361
+ AND t3.nspname = ANY (current_schemas(false))
51362
+ ORDER BY c.conname
51363
+
51364
+  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51365
+ FROM pg_constraint c
51366
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51367
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51368
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51369
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51370
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51371
+ WHERE c.contype = 'f'
51372
+ AND t1.relname = 'crest_price_histories_daily_used'
51373
+ AND t3.nspname = ANY (current_schemas(false))
51374
+ ORDER BY c.conname
51375
+ 
51376
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51377
+ FROM pg_constraint c
51378
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51379
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51380
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51381
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51382
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51383
+ WHERE c.contype = 'f'
51384
+ AND t1.relname = 'crest_price_histories_frequently_used'
51385
+ AND t3.nspname = ANY (current_schemas(false))
51386
+ ORDER BY c.conname
51387
+
51388
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51389
+ FROM pg_constraint c
51390
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51391
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51392
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51393
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51394
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51395
+ WHERE c.contype = 'f'
51396
+ AND t1.relname = 'crest_price_histories_never_used'
51397
+ AND t3.nspname = ANY (current_schemas(false))
51398
+ ORDER BY c.conname
51399
+ 
51400
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51401
+ FROM pg_constraint c
51402
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51403
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51404
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51405
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51406
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51407
+ WHERE c.contype = 'f'
51408
+ AND t1.relname = 'crest_price_histories_rarely_used'
51409
+ AND t3.nspname = ANY (current_schemas(false))
51410
+ ORDER BY c.conname
51411
+
51412
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51413
+ FROM pg_constraint c
51414
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51415
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51416
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51417
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51418
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51419
+ WHERE c.contype = 'f'
51420
+ AND t1.relname = 'crest_prices_last_month_averages'
51421
+ AND t3.nspname = ANY (current_schemas(false))
51422
+ ORDER BY c.conname
51423
+ 
51424
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51425
+ FROM pg_constraint c
51426
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51427
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51428
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51429
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51430
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51431
+ WHERE c.contype = 'f'
51432
+ AND t1.relname = 'eve_clients'
51433
+ AND t3.nspname = ANY (current_schemas(false))
51434
+ ORDER BY c.conname
51435
+
51436
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51437
+ FROM pg_constraint c
51438
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51439
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51440
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51441
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51442
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51443
+ WHERE c.contype = 'f'
51444
+ AND t1.relname = 'eve_items'
51445
+ AND t3.nspname = ANY (current_schemas(false))
51446
+ ORDER BY c.conname
51447
+ 
51448
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51449
+ FROM pg_constraint c
51450
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51451
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51452
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51453
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51454
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51455
+ WHERE c.contype = 'f'
51456
+ AND t1.relname = 'eve_items_users'
51457
+ AND t3.nspname = ANY (current_schemas(false))
51458
+ ORDER BY c.conname
51459
+
51460
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51461
+ FROM pg_constraint c
51462
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51463
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51464
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51465
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51466
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51467
+ WHERE c.contype = 'f'
51468
+ AND t1.relname = 'identities'
51469
+ AND t3.nspname = ANY (current_schemas(false))
51470
+ ORDER BY c.conname
51471
+ 
51472
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51473
+ FROM pg_constraint c
51474
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51475
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51476
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51477
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51478
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51479
+ WHERE c.contype = 'f'
51480
+ AND t1.relname = 'jita_margins'
51481
+ AND t3.nspname = ANY (current_schemas(false))
51482
+ ORDER BY c.conname
51483
+
51484
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51485
+ FROM pg_constraint c
51486
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51487
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51488
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51489
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51490
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51491
+ WHERE c.contype = 'f'
51492
+ AND t1.relname = 'market_group_hierarchies'
51493
+ AND t3.nspname = ANY (current_schemas(false))
51494
+ ORDER BY c.conname
51495
+ 
51496
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51497
+ FROM pg_constraint c
51498
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51499
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51500
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51501
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51502
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51503
+ WHERE c.contype = 'f'
51504
+ AND t1.relname = 'market_groups'
51505
+ AND t3.nspname = ANY (current_schemas(false))
51506
+ ORDER BY c.conname
51507
+
51508
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51509
+ FROM pg_constraint c
51510
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51511
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51512
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51513
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51514
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51515
+ WHERE c.contype = 'f'
51516
+ AND t1.relname = 'materials'
51517
+ AND t3.nspname = ANY (current_schemas(false))
51518
+ ORDER BY c.conname
51519
+ 
51520
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51521
+ FROM pg_constraint c
51522
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51523
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51524
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51525
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51526
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51527
+ WHERE c.contype = 'f'
51528
+ AND t1.relname = 'min_prices'
51529
+ AND t3.nspname = ANY (current_schemas(false))
51530
+ ORDER BY c.conname
51531
+
51532
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51533
+ FROM pg_constraint c
51534
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51535
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51536
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51537
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51538
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51539
+ WHERE c.contype = 'f'
51540
+ AND t1.relname = 'regions'
51541
+ AND t3.nspname = ANY (current_schemas(false))
51542
+ ORDER BY c.conname
51543
+ 
51544
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51545
+ FROM pg_constraint c
51546
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51547
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51548
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51549
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51550
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51551
+ WHERE c.contype = 'f'
51552
+ AND t1.relname = 'sale_records'
51553
+ AND t3.nspname = ANY (current_schemas(false))
51554
+ ORDER BY c.conname
51555
+
51556
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51557
+ FROM pg_constraint c
51558
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51559
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51560
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51561
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51562
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51563
+ WHERE c.contype = 'f'
51564
+ AND t1.relname = 'shopping_baskets'
51565
+ AND t3.nspname = ANY (current_schemas(false))
51566
+ ORDER BY c.conname
51567
+ 
51568
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51569
+ FROM pg_constraint c
51570
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51571
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51572
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51573
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51574
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51575
+ WHERE c.contype = 'f'
51576
+ AND t1.relname = 'stations'
51577
+ AND t3.nspname = ANY (current_schemas(false))
51578
+ ORDER BY c.conname
51579
+
51580
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51581
+ FROM pg_constraint c
51582
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51583
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51584
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51585
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51586
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51587
+ WHERE c.contype = 'f'
51588
+ AND t1.relname = 'trade_hubs'
51589
+ AND t3.nspname = ANY (current_schemas(false))
51590
+ ORDER BY c.conname
51591
+ 
51592
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51593
+ FROM pg_constraint c
51594
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51595
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51596
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51597
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51598
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51599
+ WHERE c.contype = 'f'
51600
+ AND t1.relname = 'trade_hubs_users'
51601
+ AND t3.nspname = ANY (current_schemas(false))
51602
+ ORDER BY c.conname
51603
+
51604
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51605
+ FROM pg_constraint c
51606
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51607
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51608
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51609
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51610
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51611
+ WHERE c.contype = 'f'
51612
+ AND t1.relname = 'trade_orders'
51613
+ AND t3.nspname = ANY (current_schemas(false))
51614
+ ORDER BY c.conname
51615
+ 
51616
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51617
+ FROM pg_constraint c
51618
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51619
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51620
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51621
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51622
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51623
+ WHERE c.contype = 'f'
51624
+ AND t1.relname = 'user_activity_logs'
51625
+ AND t3.nspname = ANY (current_schemas(false))
51626
+ ORDER BY c.conname
51627
+
51628
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51629
+ FROM pg_constraint c
51630
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51631
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51632
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51633
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51634
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51635
+ WHERE c.contype = 'f'
51636
+ AND t1.relname = 'users'
51637
+ AND t3.nspname = ANY (current_schemas(false))
51638
+ ORDER BY c.conname
51639
+ 
51640
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
51641
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
51642
+  (2.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51643
+ FROM pg_constraint c
51644
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51645
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51646
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51647
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51648
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51649
+ WHERE c.contype = 'f'
51650
+ AND t1.relname = 'api_key_errors'
51651
+ AND t3.nspname = ANY (current_schemas(false))
51652
+ ORDER BY c.conname
51653
+ 
51654
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51655
+ FROM pg_constraint c
51656
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51657
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51658
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51659
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51660
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51661
+ WHERE c.contype = 'f'
51662
+ AND t1.relname = 'blueprints'
51663
+ AND t3.nspname = ANY (current_schemas(false))
51664
+ ORDER BY c.conname
51665
+
51666
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51667
+ FROM pg_constraint c
51668
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51669
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51670
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51671
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51672
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51673
+ WHERE c.contype = 'f'
51674
+ AND t1.relname = 'caddie_crest_price_history_updates'
51675
+ AND t3.nspname = ANY (current_schemas(false))
51676
+ ORDER BY c.conname
51677
+ 
51678
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51679
+ FROM pg_constraint c
51680
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51681
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51682
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51683
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51684
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51685
+ WHERE c.contype = 'f'
51686
+ AND t1.relname = 'components'
51687
+ AND t3.nspname = ANY (current_schemas(false))
51688
+ ORDER BY c.conname
51689
+
51690
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51691
+ FROM pg_constraint c
51692
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51693
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51694
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51695
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51696
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51697
+ WHERE c.contype = 'f'
51698
+ AND t1.relname = 'crest_costs'
51699
+ AND t3.nspname = ANY (current_schemas(false))
51700
+ ORDER BY c.conname
51701
+ 
51702
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51703
+ FROM pg_constraint c
51704
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51705
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51706
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51707
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51708
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51709
+ WHERE c.contype = 'f'
51710
+ AND t1.relname = 'crest_price_histories'
51711
+ AND t3.nspname = ANY (current_schemas(false))
51712
+ ORDER BY c.conname
51713
+
51714
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51715
+ FROM pg_constraint c
51716
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51717
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51718
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51719
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51720
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51721
+ WHERE c.contype = 'f'
51722
+ AND t1.relname = 'crest_price_histories_daily_used'
51723
+ AND t3.nspname = ANY (current_schemas(false))
51724
+ ORDER BY c.conname
51725
+ 
51726
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51727
+ FROM pg_constraint c
51728
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51729
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51730
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51731
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51732
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51733
+ WHERE c.contype = 'f'
51734
+ AND t1.relname = 'crest_price_histories_frequently_used'
51735
+ AND t3.nspname = ANY (current_schemas(false))
51736
+ ORDER BY c.conname
51737
+
51738
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51739
+ FROM pg_constraint c
51740
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51741
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51742
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51743
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51744
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51745
+ WHERE c.contype = 'f'
51746
+ AND t1.relname = 'crest_price_histories_never_used'
51747
+ AND t3.nspname = ANY (current_schemas(false))
51748
+ ORDER BY c.conname
51749
+ 
51750
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51751
+ FROM pg_constraint c
51752
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51753
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51754
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51755
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51756
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51757
+ WHERE c.contype = 'f'
51758
+ AND t1.relname = 'crest_price_histories_rarely_used'
51759
+ AND t3.nspname = ANY (current_schemas(false))
51760
+ ORDER BY c.conname
51761
+
51762
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51763
+ FROM pg_constraint c
51764
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51765
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51766
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51767
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51768
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51769
+ WHERE c.contype = 'f'
51770
+ AND t1.relname = 'crest_prices_last_month_averages'
51771
+ AND t3.nspname = ANY (current_schemas(false))
51772
+ ORDER BY c.conname
51773
+ 
51774
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51775
+ FROM pg_constraint c
51776
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51777
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51778
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51779
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51780
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51781
+ WHERE c.contype = 'f'
51782
+ AND t1.relname = 'eve_clients'
51783
+ AND t3.nspname = ANY (current_schemas(false))
51784
+ ORDER BY c.conname
51785
+
51786
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51787
+ FROM pg_constraint c
51788
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51789
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51790
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51791
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51792
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51793
+ WHERE c.contype = 'f'
51794
+ AND t1.relname = 'eve_items'
51795
+ AND t3.nspname = ANY (current_schemas(false))
51796
+ ORDER BY c.conname
51797
+ 
51798
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51799
+ FROM pg_constraint c
51800
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51801
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51802
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51803
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51804
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51805
+ WHERE c.contype = 'f'
51806
+ AND t1.relname = 'eve_items_users'
51807
+ AND t3.nspname = ANY (current_schemas(false))
51808
+ ORDER BY c.conname
51809
+
51810
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51811
+ FROM pg_constraint c
51812
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51813
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51814
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51815
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51816
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51817
+ WHERE c.contype = 'f'
51818
+ AND t1.relname = 'identities'
51819
+ AND t3.nspname = ANY (current_schemas(false))
51820
+ ORDER BY c.conname
51821
+ 
51822
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51823
+ FROM pg_constraint c
51824
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51825
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51826
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51827
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51828
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51829
+ WHERE c.contype = 'f'
51830
+ AND t1.relname = 'jita_margins'
51831
+ AND t3.nspname = ANY (current_schemas(false))
51832
+ ORDER BY c.conname
51833
+
51834
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51835
+ FROM pg_constraint c
51836
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51837
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51838
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51839
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51840
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51841
+ WHERE c.contype = 'f'
51842
+ AND t1.relname = 'market_group_hierarchies'
51843
+ AND t3.nspname = ANY (current_schemas(false))
51844
+ ORDER BY c.conname
51845
+ 
51846
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51847
+ FROM pg_constraint c
51848
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51849
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51850
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51851
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51852
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51853
+ WHERE c.contype = 'f'
51854
+ AND t1.relname = 'market_groups'
51855
+ AND t3.nspname = ANY (current_schemas(false))
51856
+ ORDER BY c.conname
51857
+
51858
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51859
+ FROM pg_constraint c
51860
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51861
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51862
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51863
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51864
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51865
+ WHERE c.contype = 'f'
51866
+ AND t1.relname = 'materials'
51867
+ AND t3.nspname = ANY (current_schemas(false))
51868
+ ORDER BY c.conname
51869
+ 
51870
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51871
+ FROM pg_constraint c
51872
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51873
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51874
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51875
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51876
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51877
+ WHERE c.contype = 'f'
51878
+ AND t1.relname = 'min_prices'
51879
+ AND t3.nspname = ANY (current_schemas(false))
51880
+ ORDER BY c.conname
51881
+
51882
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51883
+ FROM pg_constraint c
51884
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51885
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51886
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51887
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51888
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51889
+ WHERE c.contype = 'f'
51890
+ AND t1.relname = 'regions'
51891
+ AND t3.nspname = ANY (current_schemas(false))
51892
+ ORDER BY c.conname
51893
+ 
51894
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51895
+ FROM pg_constraint c
51896
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51897
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51898
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51899
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51900
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51901
+ WHERE c.contype = 'f'
51902
+ AND t1.relname = 'sale_records'
51903
+ AND t3.nspname = ANY (current_schemas(false))
51904
+ ORDER BY c.conname
51905
+
51906
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51907
+ FROM pg_constraint c
51908
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51909
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51910
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51911
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51912
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51913
+ WHERE c.contype = 'f'
51914
+ AND t1.relname = 'shopping_baskets'
51915
+ AND t3.nspname = ANY (current_schemas(false))
51916
+ ORDER BY c.conname
51917
+ 
51918
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51919
+ FROM pg_constraint c
51920
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51921
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51922
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51923
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51924
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51925
+ WHERE c.contype = 'f'
51926
+ AND t1.relname = 'stations'
51927
+ AND t3.nspname = ANY (current_schemas(false))
51928
+ ORDER BY c.conname
51929
+
51930
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51931
+ FROM pg_constraint c
51932
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51933
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51934
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51935
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51936
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51937
+ WHERE c.contype = 'f'
51938
+ AND t1.relname = 'trade_hubs'
51939
+ AND t3.nspname = ANY (current_schemas(false))
51940
+ ORDER BY c.conname
51941
+ 
51942
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51943
+ FROM pg_constraint c
51944
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51945
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51946
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51947
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51948
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51949
+ WHERE c.contype = 'f'
51950
+ AND t1.relname = 'trade_hubs_users'
51951
+ AND t3.nspname = ANY (current_schemas(false))
51952
+ ORDER BY c.conname
51953
+
51954
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51955
+ FROM pg_constraint c
51956
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51957
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51958
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51959
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51960
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51961
+ WHERE c.contype = 'f'
51962
+ AND t1.relname = 'trade_orders'
51963
+ AND t3.nspname = ANY (current_schemas(false))
51964
+ ORDER BY c.conname
51965
+ 
51966
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51967
+ FROM pg_constraint c
51968
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51969
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51970
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51971
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51972
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51973
+ WHERE c.contype = 'f'
51974
+ AND t1.relname = 'user_activity_logs'
51975
+ AND t3.nspname = ANY (current_schemas(false))
51976
+ ORDER BY c.conname
51977
+
51978
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
51979
+ FROM pg_constraint c
51980
+ JOIN pg_class t1 ON c.conrelid = t1.oid
51981
+ JOIN pg_class t2 ON c.confrelid = t2.oid
51982
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
51983
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
51984
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
51985
+ WHERE c.contype = 'f'
51986
+ AND t1.relname = 'users'
51987
+ AND t3.nspname = ANY (current_schemas(false))
51988
+ ORDER BY c.conname
51989
+ 
51990
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
51991
+ Migrating to CreateCaddieCrestPriceHistoryUpdates (20160524122651)
51992
+  (0.3ms) BEGIN
51993
+  (1.9ms) CREATE TABLE "caddie_crest_price_history_updates" ("id" serial primary key, "eve_item_id" integer, "region_id" integer, "max_update" date, "max_eve_item_create" date, "max_region_create" date, "max_date" date, "nb_days" integer, "process_queue" character varying, "process_queue_priority" integer, "next_process_date" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
51994
+  (0.2ms) ROLLBACK
51995
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
51996
+  (0.2ms) BEGIN
51997
+  (2.4ms) CREATE TABLE "caddie_crest_price_history_updates" ("id" serial primary key, "eve_item_id" integer, "region_id" integer, "max_update" date, "max_eve_item_create" date, "max_region_create" date, "max_date" date, "nb_days" integer, "process_queue" character varying, "process_queue_priority" integer, "next_process_date" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
51998
+  (0.2ms) ROLLBACK
51999
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
52000
+  (0.2ms) BEGIN
52001
+  (0.6ms) ALTER TABLE "caddie_crest_price_history_updates" ADD "thread_slice_id" integer
52002
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160527152027"]]
52003
+  (2.1ms) COMMIT
52004
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
52005
+  (2.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52006
+ FROM pg_constraint c
52007
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52008
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52009
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52010
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52011
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52012
+ WHERE c.contype = 'f'
52013
+ AND t1.relname = 'api_key_errors'
52014
+ AND t3.nspname = ANY (current_schemas(false))
52015
+ ORDER BY c.conname
52016
+ 
52017
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52018
+ FROM pg_constraint c
52019
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52020
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52021
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52022
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52023
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52024
+ WHERE c.contype = 'f'
52025
+ AND t1.relname = 'blueprints'
52026
+ AND t3.nspname = ANY (current_schemas(false))
52027
+ ORDER BY c.conname
52028
+
52029
+  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52030
+ FROM pg_constraint c
52031
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52032
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52033
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52034
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52035
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52036
+ WHERE c.contype = 'f'
52037
+ AND t1.relname = 'caddie_crest_price_history_updates'
52038
+ AND t3.nspname = ANY (current_schemas(false))
52039
+ ORDER BY c.conname
52040
+ 
52041
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52042
+ FROM pg_constraint c
52043
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52044
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52045
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52046
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52047
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52048
+ WHERE c.contype = 'f'
52049
+ AND t1.relname = 'components'
52050
+ AND t3.nspname = ANY (current_schemas(false))
52051
+ ORDER BY c.conname
52052
+
52053
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52054
+ FROM pg_constraint c
52055
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52056
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52057
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52058
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52059
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52060
+ WHERE c.contype = 'f'
52061
+ AND t1.relname = 'crest_costs'
52062
+ AND t3.nspname = ANY (current_schemas(false))
52063
+ ORDER BY c.conname
52064
+ 
52065
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52066
+ FROM pg_constraint c
52067
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52068
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52069
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52070
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52071
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52072
+ WHERE c.contype = 'f'
52073
+ AND t1.relname = 'crest_price_histories'
52074
+ AND t3.nspname = ANY (current_schemas(false))
52075
+ ORDER BY c.conname
52076
+
52077
+  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52078
+ FROM pg_constraint c
52079
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52080
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52081
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52082
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52083
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52084
+ WHERE c.contype = 'f'
52085
+ AND t1.relname = 'crest_price_histories_daily_used'
52086
+ AND t3.nspname = ANY (current_schemas(false))
52087
+ ORDER BY c.conname
52088
+ 
52089
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52090
+ FROM pg_constraint c
52091
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52092
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52093
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52094
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52095
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52096
+ WHERE c.contype = 'f'
52097
+ AND t1.relname = 'crest_price_histories_frequently_used'
52098
+ AND t3.nspname = ANY (current_schemas(false))
52099
+ ORDER BY c.conname
52100
+
52101
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52102
+ FROM pg_constraint c
52103
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52104
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52105
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52106
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52107
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52108
+ WHERE c.contype = 'f'
52109
+ AND t1.relname = 'crest_price_histories_never_used'
52110
+ AND t3.nspname = ANY (current_schemas(false))
52111
+ ORDER BY c.conname
52112
+ 
52113
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52114
+ FROM pg_constraint c
52115
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52116
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52117
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52118
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52119
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52120
+ WHERE c.contype = 'f'
52121
+ AND t1.relname = 'crest_price_histories_rarely_used'
52122
+ AND t3.nspname = ANY (current_schemas(false))
52123
+ ORDER BY c.conname
52124
+
52125
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52126
+ FROM pg_constraint c
52127
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52128
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52129
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52130
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52131
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52132
+ WHERE c.contype = 'f'
52133
+ AND t1.relname = 'crest_prices_last_month_averages'
52134
+ AND t3.nspname = ANY (current_schemas(false))
52135
+ ORDER BY c.conname
52136
+ 
52137
+  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52138
+ FROM pg_constraint c
52139
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52140
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52141
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52142
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52143
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52144
+ WHERE c.contype = 'f'
52145
+ AND t1.relname = 'eve_clients'
52146
+ AND t3.nspname = ANY (current_schemas(false))
52147
+ ORDER BY c.conname
52148
+
52149
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52150
+ FROM pg_constraint c
52151
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52152
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52153
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52154
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52155
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52156
+ WHERE c.contype = 'f'
52157
+ AND t1.relname = 'eve_items'
52158
+ AND t3.nspname = ANY (current_schemas(false))
52159
+ ORDER BY c.conname
52160
+ 
52161
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52162
+ FROM pg_constraint c
52163
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52164
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52165
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52166
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52167
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52168
+ WHERE c.contype = 'f'
52169
+ AND t1.relname = 'eve_items_users'
52170
+ AND t3.nspname = ANY (current_schemas(false))
52171
+ ORDER BY c.conname
52172
+
52173
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52174
+ FROM pg_constraint c
52175
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52176
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52177
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52178
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52179
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52180
+ WHERE c.contype = 'f'
52181
+ AND t1.relname = 'identities'
52182
+ AND t3.nspname = ANY (current_schemas(false))
52183
+ ORDER BY c.conname
52184
+ 
52185
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52186
+ FROM pg_constraint c
52187
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52188
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52189
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52190
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52191
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52192
+ WHERE c.contype = 'f'
52193
+ AND t1.relname = 'jita_margins'
52194
+ AND t3.nspname = ANY (current_schemas(false))
52195
+ ORDER BY c.conname
52196
+
52197
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52198
+ FROM pg_constraint c
52199
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52200
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52201
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52202
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52203
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52204
+ WHERE c.contype = 'f'
52205
+ AND t1.relname = 'market_group_hierarchies'
52206
+ AND t3.nspname = ANY (current_schemas(false))
52207
+ ORDER BY c.conname
52208
+ 
52209
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52210
+ FROM pg_constraint c
52211
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52212
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52213
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52214
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52215
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52216
+ WHERE c.contype = 'f'
52217
+ AND t1.relname = 'market_groups'
52218
+ AND t3.nspname = ANY (current_schemas(false))
52219
+ ORDER BY c.conname
52220
+
52221
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52222
+ FROM pg_constraint c
52223
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52224
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52225
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52226
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52227
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52228
+ WHERE c.contype = 'f'
52229
+ AND t1.relname = 'materials'
52230
+ AND t3.nspname = ANY (current_schemas(false))
52231
+ ORDER BY c.conname
52232
+ 
52233
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52234
+ FROM pg_constraint c
52235
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52236
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52237
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52238
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52239
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52240
+ WHERE c.contype = 'f'
52241
+ AND t1.relname = 'min_prices'
52242
+ AND t3.nspname = ANY (current_schemas(false))
52243
+ ORDER BY c.conname
52244
+
52245
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52246
+ FROM pg_constraint c
52247
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52248
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52249
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52250
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52251
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52252
+ WHERE c.contype = 'f'
52253
+ AND t1.relname = 'regions'
52254
+ AND t3.nspname = ANY (current_schemas(false))
52255
+ ORDER BY c.conname
52256
+ 
52257
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52258
+ FROM pg_constraint c
52259
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52260
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52261
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52262
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52263
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52264
+ WHERE c.contype = 'f'
52265
+ AND t1.relname = 'sale_records'
52266
+ AND t3.nspname = ANY (current_schemas(false))
52267
+ ORDER BY c.conname
52268
+
52269
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52270
+ FROM pg_constraint c
52271
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52272
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52273
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52274
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52275
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52276
+ WHERE c.contype = 'f'
52277
+ AND t1.relname = 'shopping_baskets'
52278
+ AND t3.nspname = ANY (current_schemas(false))
52279
+ ORDER BY c.conname
52280
+ 
52281
+  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52282
+ FROM pg_constraint c
52283
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52284
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52285
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52286
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52287
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52288
+ WHERE c.contype = 'f'
52289
+ AND t1.relname = 'stations'
52290
+ AND t3.nspname = ANY (current_schemas(false))
52291
+ ORDER BY c.conname
52292
+
52293
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52294
+ FROM pg_constraint c
52295
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52296
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52297
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52298
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52299
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52300
+ WHERE c.contype = 'f'
52301
+ AND t1.relname = 'trade_hubs'
52302
+ AND t3.nspname = ANY (current_schemas(false))
52303
+ ORDER BY c.conname
52304
+ 
52305
+  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52306
+ FROM pg_constraint c
52307
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52308
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52309
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52310
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52311
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52312
+ WHERE c.contype = 'f'
52313
+ AND t1.relname = 'trade_hubs_users'
52314
+ AND t3.nspname = ANY (current_schemas(false))
52315
+ ORDER BY c.conname
52316
+
52317
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52318
+ FROM pg_constraint c
52319
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52320
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52321
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52322
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52323
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52324
+ WHERE c.contype = 'f'
52325
+ AND t1.relname = 'trade_orders'
52326
+ AND t3.nspname = ANY (current_schemas(false))
52327
+ ORDER BY c.conname
52328
+ 
52329
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52330
+ FROM pg_constraint c
52331
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52332
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52333
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52334
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52335
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52336
+ WHERE c.contype = 'f'
52337
+ AND t1.relname = 'user_activity_logs'
52338
+ AND t3.nspname = ANY (current_schemas(false))
52339
+ ORDER BY c.conname
52340
+
52341
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
52342
+ FROM pg_constraint c
52343
+ JOIN pg_class t1 ON c.conrelid = t1.oid
52344
+ JOIN pg_class t2 ON c.confrelid = t2.oid
52345
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
52346
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
52347
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
52348
+ WHERE c.contype = 'f'
52349
+ AND t1.relname = 'users'
52350
+ AND t3.nspname = ANY (current_schemas(false))
52351
+ ORDER BY c.conname
52352
+ 
52353
+  (1.4ms) SELECT "caddie_crest_price_history_updates"."eve_item_id", "caddie_crest_price_history_updates"."region_id", cpp_eve_item_id, cpp_region_id FROM "caddie_crest_price_history_updates" INNER JOIN "eve_items" ON "eve_items"."id" = "caddie_crest_price_history_updates"."eve_item_id" INNER JOIN "regions" ON "regions"."id" = "caddie_crest_price_history_updates"."region_id" WHERE "caddie_crest_price_history_updates"."next_process_date" = $1 ORDER BY "caddie_crest_price_history_updates"."process_queue_priority" ASC [["next_process_date", "2016-05-27"]]
52354
+  (0.4ms) SELECT "caddie_crest_price_history_updates"."eve_item_id", "caddie_crest_price_history_updates"."region_id", cpp_eve_item_id, cpp_region_id FROM "caddie_crest_price_history_updates" INNER JOIN "eve_items" ON "eve_items"."id" = "caddie_crest_price_history_updates"."eve_item_id" INNER JOIN "regions" ON "regions"."id" = "caddie_crest_price_history_updates"."region_id" WHERE "caddie_crest_price_history_updates"."next_process_date" = $1 ORDER BY "caddie_crest_price_history_updates"."process_queue_priority" ASC [["next_process_date", "2016-05-27"]]
52355
+  (84704.0ms) /* Don't forget to set the postgres sequence to cycle on production */
52356
+ /* ALTER SEQUENCE caddie_crest_price_history_updates_id_seq CYCLE; */
52357
+
52358
+ /* TRUNCATE TABLE caddie_crest_price_history_updates; */
52359
+
52360
+ /* Insert new regions / items */
52361
+ INSERT INTO caddie_crest_price_history_updates( eve_item_id, region_id, created_at, updated_at )
52362
+ SELECT eve_items.id, regions.id, now(), now()
52363
+ FROM eve_items, regions
52364
+ WHERE NOT EXISTS ( SELECT NULL FROM caddie_crest_price_history_updates WHERE eve_item_id = eve_items.id and region_id = regions.id );
52365
+
52366
+ /* Update all datas */
52367
+ UPDATE caddie_crest_price_history_updates cphu
52368
+ SET max_update = sub.mua, max_eve_item_create = sub.max_eve_item_create, max_region_create = sub.max_region_create
52369
+ FROM (
52370
+ SELECT DISTINCT eve_item_id, region_id, MAX( crest_price_histories.updated_at ) mua, MAX( eve_items.created_at ) max_eve_item_create, MAX( regions.created_at ) max_region_create
52371
+ FROM crest_price_histories, eve_items, regions
52372
+ WHERE eve_item_id = eve_items.id
52373
+ AND region_id = regions.id
52374
+ GROUP BY eve_item_id, region_id
52375
+ ) sub
52376
+ WHERE cphu.eve_item_id = sub.eve_item_id
52377
+ AND cphu.region_id = sub.region_id;
52378
+
52379
+ UPDATE caddie_crest_price_history_updates cphu SET max_date = GREATEST( max_update, max_eve_item_create, max_region_create );
52380
+
52381
+ UPDATE caddie_crest_price_history_updates cphu SET nb_days = ( CURRENT_DATE - max_date );
52382
+
52383
+ UPDATE caddie_crest_price_history_updates cphu
52384
+ SET process_queue = 'DAILY', next_process_date = current_date, process_queue_priority = 1
52385
+ WHERE nb_days <= 7;
52386
+
52387
+ UPDATE caddie_crest_price_history_updates cphu
52388
+ SET process_queue = 'WEEKLY', next_process_date = date_trunc( 'week', ( current_date + ( interval '1 week' ) ) ), process_queue_priority = 2
52389
+ WHERE nb_days <= 30 AND nb_days > 7;
52390
+
52391
+ UPDATE caddie_crest_price_history_updates cphu
52392
+ SET process_queue = 'MONTHLY', next_process_date = date_trunc( 'month', ( current_date + ( interval '1 month' ) ) ), process_queue_priority = 3
52393
+ WHERE nb_days > 30 OR nb_days IS NULL;
52394
+  (82.8ms) SELECT "caddie_crest_price_history_updates"."eve_item_id", "caddie_crest_price_history_updates"."region_id", cpp_eve_item_id, cpp_region_id FROM "caddie_crest_price_history_updates" INNER JOIN "eve_items" ON "eve_items"."id" = "caddie_crest_price_history_updates"."eve_item_id" INNER JOIN "regions" ON "regions"."id" = "caddie_crest_price_history_updates"."region_id" WHERE "caddie_crest_price_history_updates"."next_process_date" = $1 ORDER BY "caddie_crest_price_history_updates"."process_queue_priority" ASC [["next_process_date", "2016-05-27"]]
52395
+  (53103.8ms) /* Don't forget to set the postgres sequence to cycle on production */
52396
+ /* ALTER SEQUENCE caddie_crest_price_history_updates_id_seq CYCLE; */
52397
+
52398
+ /* TRUNCATE TABLE caddie_crest_price_history_updates; */
52399
+
52400
+ /* Insert new regions / items */
52401
+ INSERT INTO caddie_crest_price_history_updates( eve_item_id, region_id, created_at, updated_at )
52402
+ SELECT eve_items.id, regions.id, now(), now()
52403
+ FROM eve_items, regions
52404
+ WHERE NOT EXISTS ( SELECT NULL FROM caddie_crest_price_history_updates WHERE eve_item_id = eve_items.id and region_id = regions.id );
52405
+
52406
+ /* Update all datas */
52407
+ UPDATE caddie_crest_price_history_updates cphu
52408
+ SET max_update = sub.mua, max_eve_item_create = sub.max_eve_item_create, max_region_create = sub.max_region_create
52409
+ FROM (
52410
+ SELECT DISTINCT eve_item_id, region_id, MAX( crest_price_histories.updated_at ) mua, MAX( eve_items.created_at ) max_eve_item_create, MAX( regions.created_at ) max_region_create
52411
+ FROM crest_price_histories, eve_items, regions
52412
+ WHERE eve_item_id = eve_items.id
52413
+ AND region_id = regions.id
52414
+ GROUP BY eve_item_id, region_id
52415
+ ) sub
52416
+ WHERE cphu.eve_item_id = sub.eve_item_id
52417
+ AND cphu.region_id = sub.region_id;
52418
+
52419
+ UPDATE caddie_crest_price_history_updates cphu SET max_date = GREATEST( max_update, max_eve_item_create, max_region_create );
52420
+
52421
+ UPDATE caddie_crest_price_history_updates cphu SET nb_days = ( CURRENT_DATE - max_date );
52422
+
52423
+ UPDATE caddie_crest_price_history_updates cphu
52424
+ SET process_queue = 'DAILY', next_process_date = current_date, process_queue_priority = 1
52425
+ WHERE nb_days <= 7;
52426
+
52427
+ UPDATE caddie_crest_price_history_updates cphu
52428
+ SET process_queue = 'WEEKLY', next_process_date = date_trunc( 'week', ( current_date + ( interval '1 week' ) ) ), process_queue_priority = 2
52429
+ WHERE nb_days <= 30 AND nb_days > 7;
52430
+
52431
+ UPDATE caddie_crest_price_history_updates cphu
52432
+ SET process_queue = 'MONTHLY', next_process_date = date_trunc( 'month', ( current_date + ( interval '1 month' ) ) ), process_queue_priority = 3
52433
+ WHERE nb_days > 30 OR nb_days IS NULL;
52434
+  (48930.0ms) /* Don't forget to set the postgres sequence to cycle on production */
52435
+ /* ALTER SEQUENCE caddie_crest_price_history_updates_id_seq CYCLE; */
52436
+
52437
+ /* TRUNCATE TABLE caddie_crest_price_history_updates; */
52438
+
52439
+ /* Insert new regions / items */
52440
+ INSERT INTO caddie_crest_price_history_updates( eve_item_id, region_id, created_at, updated_at )
52441
+ SELECT eve_items.id, regions.id, now(), now()
52442
+ FROM eve_items, regions
52443
+ WHERE NOT EXISTS ( SELECT NULL FROM caddie_crest_price_history_updates WHERE eve_item_id = eve_items.id and region_id = regions.id );
52444
+
52445
+ /* Update all datas */
52446
+ UPDATE caddie_crest_price_history_updates cphu
52447
+ SET max_update = sub.mua, max_eve_item_create = sub.max_eve_item_create, max_region_create = sub.max_region_create
52448
+ FROM (
52449
+ SELECT DISTINCT eve_item_id, region_id, MAX( crest_price_histories.updated_at ) mua, MAX( eve_items.created_at ) max_eve_item_create, MAX( regions.created_at ) max_region_create
52450
+ FROM crest_price_histories, eve_items, regions
52451
+ WHERE eve_item_id = eve_items.id
52452
+ AND region_id = regions.id
52453
+ GROUP BY eve_item_id, region_id
52454
+ ) sub
52455
+ WHERE cphu.eve_item_id = sub.eve_item_id
52456
+ AND cphu.region_id = sub.region_id;
52457
+
52458
+ UPDATE caddie_crest_price_history_updates cphu SET max_date = GREATEST( max_update, max_eve_item_create, max_region_create );
52459
+
52460
+ UPDATE caddie_crest_price_history_updates cphu SET nb_days = ( CURRENT_DATE - max_date );
52461
+
52462
+ UPDATE caddie_crest_price_history_updates cphu
52463
+ SET process_queue = 'DAILY', next_process_date = current_date, process_queue_priority = 1
52464
+ WHERE nb_days <= 7;
52465
+
52466
+ UPDATE caddie_crest_price_history_updates cphu
52467
+ SET process_queue = 'WEEKLY', next_process_date = date_trunc( 'week', ( current_date + ( interval '1 week' ) ) ), process_queue_priority = 2
52468
+ WHERE nb_days <= 30 AND nb_days > 7;
52469
+
52470
+ UPDATE caddie_crest_price_history_updates cphu
52471
+ SET process_queue = 'MONTHLY', next_process_date = date_trunc( 'month', ( current_date + ( interval '1 month' ) ) ), process_queue_priority = 3
52472
+ WHERE nb_days > 30 OR nb_days IS NULL;
52473
+  (68.5ms) SELECT "caddie_crest_price_history_updates"."eve_item_id", "caddie_crest_price_history_updates"."region_id", cpp_eve_item_id, cpp_region_id FROM "caddie_crest_price_history_updates" INNER JOIN "eve_items" ON "eve_items"."id" = "caddie_crest_price_history_updates"."eve_item_id" INNER JOIN "regions" ON "regions"."id" = "caddie_crest_price_history_updates"."region_id" WHERE "caddie_crest_price_history_updates"."next_process_date" = $1 ORDER BY "caddie_crest_price_history_updates"."process_queue_priority" ASC LIMIT 1000 [["next_process_date", "2016-05-30"]]
52474
+  (86.2ms) SELECT "caddie_crest_price_history_updates"."eve_item_id", "caddie_crest_price_history_updates"."region_id", cpp_eve_item_id, cpp_region_id FROM "caddie_crest_price_history_updates" INNER JOIN "eve_items" ON "eve_items"."id" = "caddie_crest_price_history_updates"."eve_item_id" INNER JOIN "regions" ON "regions"."id" = "caddie_crest_price_history_updates"."region_id" WHERE "caddie_crest_price_history_updates"."next_process_date" = $1 ORDER BY "caddie_crest_price_history_updates"."process_queue_priority" ASC LIMIT 1000 [["next_process_date", "2016-05-30"]]
52475
+  (66.5ms) SELECT "caddie_crest_price_history_updates"."eve_item_id", "caddie_crest_price_history_updates"."region_id", cpp_eve_item_id, cpp_region_id FROM "caddie_crest_price_history_updates" INNER JOIN "eve_items" ON "eve_items"."id" = "caddie_crest_price_history_updates"."eve_item_id" INNER JOIN "regions" ON "regions"."id" = "caddie_crest_price_history_updates"."region_id" WHERE "caddie_crest_price_history_updates"."next_process_date" = $1 ORDER BY "caddie_crest_price_history_updates"."process_queue_priority" ASC LIMIT 1000 [["next_process_date", "2016-05-30"]]
52476
+  (72.6ms) SELECT "caddie_crest_price_history_updates"."eve_item_id", "caddie_crest_price_history_updates"."region_id", cpp_eve_item_id, cpp_region_id FROM "caddie_crest_price_history_updates" INNER JOIN "eve_items" ON "eve_items"."id" = "caddie_crest_price_history_updates"."eve_item_id" INNER JOIN "regions" ON "regions"."id" = "caddie_crest_price_history_updates"."region_id" WHERE "caddie_crest_price_history_updates"."next_process_date" = $1 ORDER BY "caddie_crest_price_history_updates"."process_queue_priority" ASC LIMIT 1000 [["next_process_date", "2016-05-30"]]
52477
+  (70.3ms) SELECT "caddie_crest_price_history_updates"."eve_item_id", "caddie_crest_price_history_updates"."region_id", cpp_eve_item_id, cpp_region_id FROM "caddie_crest_price_history_updates" INNER JOIN "eve_items" ON "eve_items"."id" = "caddie_crest_price_history_updates"."eve_item_id" INNER JOIN "regions" ON "regions"."id" = "caddie_crest_price_history_updates"."region_id" WHERE "caddie_crest_price_history_updates"."next_process_date" = $1 ORDER BY "caddie_crest_price_history_updates"."process_queue_priority" ASC LIMIT 1000 [["next_process_date", "2016-05-30"]]
52478
+  (68.3ms) SELECT "caddie_crest_price_history_updates"."eve_item_id", "caddie_crest_price_history_updates"."region_id", cpp_eve_item_id, cpp_region_id FROM "caddie_crest_price_history_updates" INNER JOIN "eve_items" ON "eve_items"."id" = "caddie_crest_price_history_updates"."eve_item_id" INNER JOIN "regions" ON "regions"."id" = "caddie_crest_price_history_updates"."region_id" WHERE "caddie_crest_price_history_updates"."next_process_date" = $1 ORDER BY "caddie_crest_price_history_updates"."process_queue_priority" ASC LIMIT 1000 [["next_process_date", "2016-05-30"]]
52479
+  (67.8ms) SELECT "caddie_crest_price_history_updates"."eve_item_id", "caddie_crest_price_history_updates"."region_id", cpp_eve_item_id, cpp_region_id FROM "caddie_crest_price_history_updates" INNER JOIN "eve_items" ON "eve_items"."id" = "caddie_crest_price_history_updates"."eve_item_id" INNER JOIN "regions" ON "regions"."id" = "caddie_crest_price_history_updates"."region_id" WHERE "caddie_crest_price_history_updates"."next_process_date" = $1 ORDER BY "caddie_crest_price_history_updates"."process_queue_priority" ASC LIMIT 1000 [["next_process_date", "2016-05-30"]]
52480
+  (0.4ms) BEGIN
52481
+  (1.0ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 34], ["eve_item_id", 3]]
52482
+  (0.6ms) COMMIT
52483
+  (0.4ms) BEGIN
52484
+  (0.7ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 35], ["eve_item_id", 3]]
52485
+  (0.3ms) COMMIT
52486
+  (0.8ms) BEGIN
52487
+  (0.9ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 37], ["eve_item_id", 3]]
52488
+  (0.8ms) COMMIT
52489
+  (0.7ms) BEGIN
52490
+  (2.1ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 38], ["eve_item_id", 3]]
52491
+  (0.5ms) COMMIT
52492
+  (0.2ms) BEGIN
52493
+  (0.7ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 46], ["eve_item_id", 3]]
52494
+  (0.3ms) COMMIT
52495
+  (1.7ms) BEGIN
52496
+  (17.1ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 48], ["eve_item_id", 3]]
52497
+  (0.6ms) COMMIT
52498
+  (1.1ms) BEGIN
52499
+  (1.5ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 54], ["eve_item_id", 3]]
52500
+  (1.3ms) COMMIT
52501
+  (1.0ms) BEGIN
52502
+  (2.1ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 55], ["eve_item_id", 3]]
52503
+  (6.0ms) COMMIT
52504
+  (1.0ms) BEGIN
52505
+  (2.4ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 58], ["eve_item_id", 3]]
52506
+  (0.7ms) COMMIT
52507
+  (0.8ms) BEGIN
52508
+  (1.2ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 65], ["eve_item_id", 3]]
52509
+  (3.0ms) COMMIT
52510
+  (0.5ms) BEGIN
52511
+  (0.5ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 66], ["eve_item_id", 3]]
52512
+  (0.4ms) COMMIT
52513
+  (0.4ms) BEGIN
52514
+  (1.0ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 38], ["eve_item_id", 4]]
52515
+  (0.4ms) COMMIT
52516
+  (1.2ms) BEGIN
52517
+  (2.5ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 46], ["eve_item_id", 4]]
52518
+  (0.9ms) COMMIT
52519
+  (0.6ms) BEGIN
52520
+  (6.3ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 48], ["eve_item_id", 4]]
52521
+  (0.2ms) COMMIT
52522
+  (66.5ms) SELECT "caddie_crest_price_history_updates"."eve_item_id", "caddie_crest_price_history_updates"."region_id", cpp_eve_item_id, cpp_region_id FROM "caddie_crest_price_history_updates" INNER JOIN "eve_items" ON "eve_items"."id" = "caddie_crest_price_history_updates"."eve_item_id" INNER JOIN "regions" ON "regions"."id" = "caddie_crest_price_history_updates"."region_id" WHERE "caddie_crest_price_history_updates"."next_process_date" = $1 ORDER BY "caddie_crest_price_history_updates"."process_queue_priority" ASC LIMIT 100 [["next_process_date", "2016-05-30"]]
52523
+  (0.6ms) BEGIN
52524
+  (1.1ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 34], ["eve_item_id", 3]]
52525
+  (11.6ms) COMMIT
52526
+  (0.4ms) BEGIN
52527
+  (0.8ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 35], ["eve_item_id", 3]]
52528
+  (0.4ms) COMMIT
52529
+  (0.9ms) BEGIN
52530
+  (10.8ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 37], ["eve_item_id", 3]]
52531
+  (0.5ms) COMMIT
52532
+  (0.3ms) BEGIN
52533
+  (1.1ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 38], ["eve_item_id", 3]]
52534
+  (0.5ms) COMMIT
52535
+  (0.4ms) BEGIN
52536
+  (1.0ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 46], ["eve_item_id", 3]]
52537
+  (0.5ms) COMMIT
52538
+  (66.7ms) SELECT "caddie_crest_price_history_updates"."eve_item_id", "caddie_crest_price_history_updates"."region_id", cpp_eve_item_id, cpp_region_id FROM "caddie_crest_price_history_updates" INNER JOIN "eve_items" ON "eve_items"."id" = "caddie_crest_price_history_updates"."eve_item_id" INNER JOIN "regions" ON "regions"."id" = "caddie_crest_price_history_updates"."region_id" WHERE "caddie_crest_price_history_updates"."next_process_date" = $1 ORDER BY "caddie_crest_price_history_updates"."process_queue_priority" ASC LIMIT 100 [["next_process_date", "2016-05-30"]]
52539
+  (0.4ms) BEGIN
52540
+  (1.8ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 34], ["eve_item_id", 3]]
52541
+  (0.5ms) COMMIT
52542
+  (0.2ms) BEGIN
52543
+  (1.2ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 35], ["eve_item_id", 3]]
52544
+  (0.7ms) COMMIT
52545
+  (0.4ms) BEGIN
52546
+  (1.3ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 37], ["eve_item_id", 3]]
52547
+  (0.6ms) COMMIT
52548
+  (0.7ms) BEGIN
52549
+  (1.5ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 38], ["eve_item_id", 3]]
52550
+  (0.7ms) COMMIT
52551
+  (0.7ms) BEGIN
52552
+  (1.3ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 46], ["eve_item_id", 3]]
52553
+  (0.4ms) COMMIT
52554
+  (0.4ms) BEGIN
52555
+  (0.7ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 48], ["eve_item_id", 3]]
52556
+  (0.4ms) COMMIT
52557
+  (0.5ms) BEGIN
52558
+  (1.9ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 54], ["eve_item_id", 3]]
52559
+  (0.6ms) COMMIT
52560
+  (1.0ms) BEGIN
52561
+  (1.8ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 55], ["eve_item_id", 3]]
52562
+  (0.8ms) COMMIT
52563
+  (0.8ms) BEGIN
52564
+  (1.4ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 58], ["eve_item_id", 3]]
52565
+  (0.9ms) COMMIT
52566
+  (0.3ms) BEGIN
52567
+  (1.0ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 65], ["eve_item_id", 3]]
52568
+  (13.4ms) COMMIT
52569
+  (0.9ms) BEGIN
52570
+  (1.9ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 66], ["eve_item_id", 3]]
52571
+  (0.7ms) COMMIT
52572
+  (1.2ms) BEGIN
52573
+  (0.9ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 38], ["eve_item_id", 4]]
52574
+  (0.4ms) COMMIT
52575
+  (0.9ms) BEGIN
52576
+  (2.0ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 46], ["eve_item_id", 4]]
52577
+  (0.5ms) COMMIT
52578
+  (1.1ms) BEGIN
52579
+  (1.0ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 48], ["eve_item_id", 4]]
52580
+  (0.6ms) COMMIT
52581
+  (0.4ms) BEGIN
52582
+  (0.9ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 54], ["eve_item_id", 4]]
52583
+  (0.6ms) COMMIT
52584
+  (1.3ms) BEGIN
52585
+  (1.0ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 55], ["eve_item_id", 4]]
52586
+  (1.4ms) COMMIT
52587
+  (0.4ms) BEGIN
52588
+  (1.1ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 58], ["eve_item_id", 4]]
52589
+  (0.5ms) COMMIT
52590
+  (0.9ms) BEGIN
52591
+  (1.8ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 64], ["eve_item_id", 4]]
52592
+ SQL (1.1ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 64], ["eve_item_id", 4], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 91000.01], ["avg_price", 297000.0], ["high_price", 400000.0], ["created_at", "2016-05-30 10:11:39.045302"], ["updated_at", "2016-05-30 10:11:39.045302"]]
52593
+ SQL (1.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 64], ["eve_item_id", 4], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 800000.0], ["avg_price", 800000.0], ["high_price", 800000.0], ["created_at", "2016-05-30 10:11:39.048814"], ["updated_at", "2016-05-30 10:11:39.048814"]]
52594
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 64], ["eve_item_id", 4], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 400000.0], ["avg_price", 400000.0], ["high_price", 400000.0], ["created_at", "2016-05-30 10:11:39.051704"], ["updated_at", "2016-05-30 10:11:39.051704"]]
52595
+  (0.8ms) COMMIT
52596
+  (1.7ms) BEGIN
52597
+  (1.8ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 65], ["eve_item_id", 4]]
52598
+ SQL (1.1ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 65], ["eve_item_id", 4], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 4], ["volume", 5], ["low_price", 399999.99], ["avg_price", 469999.99], ["high_price", 750000.0], ["created_at", "2016-05-30 10:11:39.985016"], ["updated_at", "2016-05-30 10:11:39.985016"]]
52599
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 65], ["eve_item_id", 4], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 3], ["volume", 4], ["low_price", 399999.99], ["avg_price", 400000.0], ["high_price", 400000.0], ["created_at", "2016-05-30 10:11:39.988505"], ["updated_at", "2016-05-30 10:11:39.988505"]]
52600
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 65], ["eve_item_id", 4], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 2], ["volume", 8], ["low_price", 750000.0], ["avg_price", 750000.0], ["high_price", 750000.0], ["created_at", "2016-05-30 10:11:39.991914"], ["updated_at", "2016-05-30 10:11:39.991914"]]
52601
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 65], ["eve_item_id", 4], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 3000.0], ["avg_price", 267666.66], ["high_price", 399999.99], ["created_at", "2016-05-30 10:11:39.994798"], ["updated_at", "2016-05-30 10:11:39.994798"]]
52602
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 65], ["eve_item_id", 4], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 499999.89], ["avg_price", 499999.89], ["high_price", 499999.89], ["created_at", "2016-05-30 10:11:39.997428"], ["updated_at", "2016-05-30 10:11:39.997428"]]
52603
+  (1.1ms) COMMIT
52604
+  (0.2ms) BEGIN
52605
+  (0.4ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 66], ["eve_item_id", 4]]
52606
+ SQL (1.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 66], ["eve_item_id", 4], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 500000.0], ["avg_price", 500000.0], ["high_price", 500000.0], ["created_at", "2016-05-30 10:11:41.067034"], ["updated_at", "2016-05-30 10:11:41.067034"]]
52607
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 66], ["eve_item_id", 4], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 500000.0], ["avg_price", 500000.0], ["high_price", 500000.0], ["created_at", "2016-05-30 10:11:41.070128"], ["updated_at", "2016-05-30 10:11:41.070128"]]
52608
+  (0.5ms) COMMIT
52609
+  (1.0ms) BEGIN
52610
+  (1.4ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 67], ["eve_item_id", 4]]
52611
+ SQL (10.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 67], ["eve_item_id", 4], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 25], ["volume", 27], ["low_price", 120003.08], ["avg_price", 253797.5], ["high_price", 318888.0], ["created_at", "2016-05-30 10:11:41.673021"], ["updated_at", "2016-05-30 10:11:41.673021"]]
52612
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 67], ["eve_item_id", 4], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 29], ["volume", 29], ["low_price", 120003.09], ["avg_price", 633066.3], ["high_price", 838499.5], ["created_at", "2016-05-30 10:11:41.685835"], ["updated_at", "2016-05-30 10:11:41.685835"]]
52613
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 67], ["eve_item_id", 4], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 18], ["volume", 25], ["low_price", 320000.0], ["avg_price", 466083.59], ["high_price", 555555.55], ["created_at", "2016-05-30 10:11:41.687729"], ["updated_at", "2016-05-30 10:11:41.687729"]]
52614
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 67], ["eve_item_id", 4], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 38], ["volume", 40], ["low_price", 312000.0], ["avg_price", 452538.82], ["high_price", 750000.0], ["created_at", "2016-05-30 10:11:41.689462"], ["updated_at", "2016-05-30 10:11:41.689462"]]
52615
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 67], ["eve_item_id", 4], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 28], ["volume", 29], ["low_price", 320000.0], ["avg_price", 18194960.91], ["high_price", 510000000.02], ["created_at", "2016-05-30 10:11:41.691309"], ["updated_at", "2016-05-30 10:11:41.691309"]]
52616
+  (0.7ms) COMMIT
52617
+  (15.5ms) BEGIN
52618
+  (16.1ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 69], ["eve_item_id", 4]]
52619
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 69], ["eve_item_id", 4], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 11], ["volume", 11], ["low_price", 210000.01], ["avg_price", 257181.91], ["high_price", 260000.0], ["created_at", "2016-05-30 10:11:42.264752"], ["updated_at", "2016-05-30 10:11:42.264752"]]
52620
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 69], ["eve_item_id", 4], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 10], ["volume", 10], ["low_price", 127500.0], ["avg_price", 232500.05], ["high_price", 259999.99], ["created_at", "2016-05-30 10:11:42.267082"], ["updated_at", "2016-05-30 10:11:42.267082"]]
52621
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 69], ["eve_item_id", 4], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 10], ["volume", 11], ["low_price", 259999.99], ["avg_price", 276363.63], ["high_price", 590000.01], ["created_at", "2016-05-30 10:11:42.269055"], ["updated_at", "2016-05-30 10:11:42.269055"]]
52622
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 69], ["eve_item_id", 4], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 8], ["volume", 8], ["low_price", 245000.0], ["avg_price", 256250.0], ["high_price", 259999.99], ["created_at", "2016-05-30 10:11:42.270952"], ["updated_at", "2016-05-30 10:11:42.270952"]]
52623
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 69], ["eve_item_id", 4], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 14], ["volume", 21], ["low_price", 252499.99], ["avg_price", 350238.09], ["high_price", 999999.99], ["created_at", "2016-05-30 10:11:42.272605"], ["updated_at", "2016-05-30 10:11:42.272605"]]
52624
+  (0.6ms) COMMIT
52625
+  (0.7ms) BEGIN
52626
+  (1.2ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 70], ["eve_item_id", 4]]
52627
+ SQL (1.9ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 70], ["eve_item_id", 4], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 450000.0], ["avg_price", 450000.0], ["high_price", 450000.0], ["created_at", "2016-05-30 10:11:42.871743"], ["updated_at", "2016-05-30 10:11:42.871743"]]
52628
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 70], ["eve_item_id", 4], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 450000.0], ["avg_price", 450000.0], ["high_price", 450000.0], ["created_at", "2016-05-30 10:11:42.887954"], ["updated_at", "2016-05-30 10:11:42.887954"]]
52629
+ SQL (0.2ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 70], ["eve_item_id", 4], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 450000.0], ["avg_price", 450000.0], ["high_price", 450000.0], ["created_at", "2016-05-30 10:11:42.889627"], ["updated_at", "2016-05-30 10:11:42.889627"]]
52630
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 70], ["eve_item_id", 4], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 0.01], ["avg_price", 0.01], ["high_price", 0.01], ["created_at", "2016-05-30 10:11:42.890977"], ["updated_at", "2016-05-30 10:11:42.890977"]]
52631
+ SQL (0.2ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 70], ["eve_item_id", 4], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 450000.0], ["avg_price", 450000.0], ["high_price", 450000.0], ["created_at", "2016-05-30 10:11:42.892356"], ["updated_at", "2016-05-30 10:11:42.892356"]]
52632
+  (1.2ms) COMMIT
52633
+  (0.3ms) BEGIN
52634
+  (0.5ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 78], ["eve_item_id", 4]]
52635
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 78], ["eve_item_id", 4], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 4], ["volume", 5], ["low_price", 30010.0], ["avg_price", 227763.8], ["high_price", 350000.0], ["created_at", "2016-05-30 10:11:43.618607"], ["updated_at", "2016-05-30 10:11:43.618607"]]
52636
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 78], ["eve_item_id", 4], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 3], ["volume", 48], ["low_price", 30010.0], ["avg_price", 76753.07], ["high_price", 266719.65], ["created_at", "2016-05-30 10:11:43.620836"], ["updated_at", "2016-05-30 10:11:43.620836"]]
52637
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 78], ["eve_item_id", 4], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 380000.0], ["avg_price", 447000.0], ["high_price", 514000.0], ["created_at", "2016-05-30 10:11:43.622518"], ["updated_at", "2016-05-30 10:11:43.622518"]]
52638
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 78], ["eve_item_id", 4], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 6], ["volume", 10], ["low_price", 349000.0], ["avg_price", 356299.8], ["high_price", 369000.0], ["created_at", "2016-05-30 10:11:43.624044"], ["updated_at", "2016-05-30 10:11:43.624044"]]
52639
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 78], ["eve_item_id", 4], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 6], ["volume", 6], ["low_price", 280000.0], ["avg_price", 337500.0], ["high_price", 349000.0], ["created_at", "2016-05-30 10:11:43.625523"], ["updated_at", "2016-05-30 10:11:43.625523"]]
52640
+  (0.6ms) COMMIT
52641
+  (0.3ms) BEGIN
52642
+  (1.0ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 82], ["eve_item_id", 4]]
52643
+ SQL (11.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 82], ["eve_item_id", 4], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 599999.95], ["avg_price", 799999.47], ["high_price", 999998.98], ["created_at", "2016-05-30 10:11:44.453462"], ["updated_at", "2016-05-30 10:11:44.453462"]]
52644
+  (5.4ms) COMMIT
52645
+  (0.7ms) BEGIN
52646
+  (28.3ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 83], ["eve_item_id", 4]]
52647
+ SQL (6.0ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 83], ["eve_item_id", 4], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 14], ["volume", 17], ["low_price", 275000.0], ["avg_price", 310390.28], ["high_price", 334999.99], ["created_at", "2016-05-30 10:11:45.123366"], ["updated_at", "2016-05-30 10:11:45.123366"]]
52648
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 83], ["eve_item_id", 4], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 12], ["volume", 23], ["low_price", 225934.26], ["avg_price", 248217.95], ["high_price", 329999.99], ["created_at", "2016-05-30 10:11:45.132336"], ["updated_at", "2016-05-30 10:11:45.132336"]]
52649
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 83], ["eve_item_id", 4], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 8], ["volume", 8], ["low_price", 225934.26], ["avg_price", 320301.18], ["high_price", 329999.99], ["created_at", "2016-05-30 10:11:45.134465"], ["updated_at", "2016-05-30 10:11:45.134465"]]
52650
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 83], ["eve_item_id", 4], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 35], ["volume", 144], ["low_price", 327499.99], ["avg_price", 327499.99], ["high_price", 327499.99], ["created_at", "2016-05-30 10:11:45.136147"], ["updated_at", "2016-05-30 10:11:45.136147"]]
52651
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 83], ["eve_item_id", 4], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 16], ["volume", 27], ["low_price", 327499.99], ["avg_price", 328127.19], ["high_price", 450000.0], ["created_at", "2016-05-30 10:11:45.160697"], ["updated_at", "2016-05-30 10:11:45.160697"]]
52652
+  (0.6ms) COMMIT
52653
+  (1.1ms) BEGIN
52654
+  (1.7ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 84], ["eve_item_id", 4]]
52655
+ SQL (13.2ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 84], ["eve_item_id", 4], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 375000.0], ["avg_price", 375000.0], ["high_price", 375000.0], ["created_at", "2016-05-30 10:11:46.937945"], ["updated_at", "2016-05-30 10:11:46.937945"]]
52656
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 84], ["eve_item_id", 4], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 374000.0], ["avg_price", 382500.0], ["high_price", 391000.0], ["created_at", "2016-05-30 10:11:46.954166"], ["updated_at", "2016-05-30 10:11:46.954166"]]
52657
+  (1.1ms) COMMIT
52658
+  (0.6ms) BEGIN
52659
+  (0.5ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 85], ["eve_item_id", 4]]
52660
+ SQL (1.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 85], ["eve_item_id", 4], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 500000.0], ["avg_price", 500000.0], ["high_price", 500000.0], ["created_at", "2016-05-30 10:11:47.545188"], ["updated_at", "2016-05-30 10:11:47.545188"]]
52661
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 85], ["eve_item_id", 4], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 671428.57], ["avg_price", 671428.57], ["high_price", 671428.57], ["created_at", "2016-05-30 10:11:47.549071"], ["updated_at", "2016-05-30 10:11:47.549071"]]
52662
+  (1.0ms) COMMIT
52663
+  (0.4ms) BEGIN
52664
+  (0.4ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 86], ["eve_item_id", 4]]
52665
+ SQL (1.0ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 86], ["eve_item_id", 4], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 650000.0], ["avg_price", 650000.0], ["high_price", 650000.0], ["created_at", "2016-05-30 10:11:49.377539"], ["updated_at", "2016-05-30 10:11:49.377539"]]
52666
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 86], ["eve_item_id", 4], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 4], ["volume", 4], ["low_price", 595000.0], ["avg_price", 746249.8], ["high_price", 1199999.18], ["created_at", "2016-05-30 10:11:49.380202"], ["updated_at", "2016-05-30 10:11:49.380202"]]
52667
+  (0.5ms) COMMIT
52668
+  (0.2ms) BEGIN
52669
+  (0.4ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 90], ["eve_item_id", 4]]
52670
+ SQL (1.2ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 90], ["eve_item_id", 4], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 5], ["volume", 5], ["low_price", 100.01], ["avg_price", 230039.6], ["high_price", 349999.0], ["created_at", "2016-05-30 10:11:50.185225"], ["updated_at", "2016-05-30 10:11:50.185225"]]
52671
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 90], ["eve_item_id", 4], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 349999.0], ["avg_price", 366665.99], ["high_price", 399999.98], ["created_at", "2016-05-30 10:11:50.188180"], ["updated_at", "2016-05-30 10:11:50.188180"]]
52672
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 90], ["eve_item_id", 4], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 4], ["volume", 4], ["low_price", 349998.99], ["avg_price", 571499.49], ["high_price", 792999.99], ["created_at", "2016-05-30 10:11:50.190106"], ["updated_at", "2016-05-30 10:11:50.190106"]]
52673
+  (0.6ms) COMMIT
52674
+  (0.5ms) BEGIN
52675
+  (1.0ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 91], ["eve_item_id", 4]]
52676
+ SQL (2.2ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 91], ["eve_item_id", 4], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 12], ["volume", 14], ["low_price", 125001.0], ["avg_price", 326428.66], ["high_price", 396000.08], ["created_at", "2016-05-30 10:11:50.858725"], ["updated_at", "2016-05-30 10:11:50.858725"]]
52677
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 91], ["eve_item_id", 4], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 10], ["volume", 10], ["low_price", 125001.0], ["avg_price", 304150.2], ["high_price", 400000.0], ["created_at", "2016-05-30 10:11:50.864064"], ["updated_at", "2016-05-30 10:11:50.864064"]]
52678
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 91], ["eve_item_id", 4], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 5], ["volume", 28], ["low_price", 125000.0], ["avg_price", 174232.05], ["high_price", 419999.16], ["created_at", "2016-05-30 10:11:50.866226"], ["updated_at", "2016-05-30 10:11:50.866226"]]
52679
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 91], ["eve_item_id", 4], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 15], ["volume", 20], ["low_price", 343500.0], ["avg_price", 372124.57], ["high_price", 419999.16], ["created_at", "2016-05-30 10:11:50.868935"], ["updated_at", "2016-05-30 10:11:50.868935"]]
52680
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 91], ["eve_item_id", 4], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 4], ["volume", 4], ["low_price", 234500.5], ["avg_price", 347249.79], ["high_price", 459999.07], ["created_at", "2016-05-30 10:11:50.871284"], ["updated_at", "2016-05-30 10:11:50.871284"]]
52681
+  (1.1ms) COMMIT
52682
+  (0.9ms) BEGIN
52683
+  (2.1ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 92], ["eve_item_id", 4]]
52684
+ SQL (1.2ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 4], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 126], ["volume", 162], ["low_price", 344999.99], ["avg_price", 344999.99], ["high_price", 347994.91], ["created_at", "2016-05-30 10:11:51.561310"], ["updated_at", "2016-05-30 10:11:51.561310"]]
52685
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 4], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 136], ["volume", 179], ["low_price", 347994.97], ["avg_price", 347994.98], ["high_price", 347994.98], ["created_at", "2016-05-30 10:11:51.565119"], ["updated_at", "2016-05-30 10:11:51.565119"]]
52686
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 4], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 109], ["volume", 335], ["low_price", 301002.06], ["avg_price", 347994.97], ["high_price", 347995.0], ["created_at", "2016-05-30 10:11:51.568170"], ["updated_at", "2016-05-30 10:11:51.568170"]]
52687
+ SQL (1.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 4], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 135], ["volume", 785], ["low_price", 350000.0], ["avg_price", 367998.75], ["high_price", 367998.75], ["created_at", "2016-05-30 10:11:51.571309"], ["updated_at", "2016-05-30 10:11:51.571309"]]
52688
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 4], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 145], ["volume", 177], ["low_price", 310000.56], ["avg_price", 349999.98], ["high_price", 399998.98], ["created_at", "2016-05-30 10:11:51.575478"], ["updated_at", "2016-05-30 10:11:51.575478"]]
52689
+  (1.2ms) COMMIT
52690
+  (0.3ms) BEGIN
52691
+  (0.8ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 99], ["eve_item_id", 4]]
52692
+ SQL (1.1ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 99], ["eve_item_id", 4], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 300000.0], ["avg_price", 300000.0], ["high_price", 300000.0], ["created_at", "2016-05-30 10:11:52.174110"], ["updated_at", "2016-05-30 10:11:52.174110"]]
52693
+ SQL (0.9ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 99], ["eve_item_id", 4], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 3], ["volume", 4], ["low_price", 310000.0], ["avg_price", 342500.0], ["high_price", 375000.0], ["created_at", "2016-05-30 10:11:52.177334"], ["updated_at", "2016-05-30 10:11:52.177334"]]
52694
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 99], ["eve_item_id", 4], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 34400.0], ["avg_price", 34400.0], ["high_price", 34400.0], ["created_at", "2016-05-30 10:11:52.180329"], ["updated_at", "2016-05-30 10:11:52.180329"]]
52695
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 99], ["eve_item_id", 4], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 3], ["volume", 12], ["low_price", 234400.0], ["avg_price", 242416.67], ["high_price", 282500.0], ["created_at", "2016-05-30 10:11:52.182930"], ["updated_at", "2016-05-30 10:11:52.182930"]]
52696
+  (0.7ms) COMMIT
52697
+  (2.1ms) BEGIN
52698
+  (1.8ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 92], ["eve_item_id", 5]]
52699
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 5], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 58], ["volume", 924], ["low_price", 689999.82], ["avg_price", 689999.82], ["high_price", 689999.93], ["created_at", "2016-05-30 10:11:52.881158"], ["updated_at", "2016-05-30 10:11:52.881158"]]
52700
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 5], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 30], ["volume", 97], ["low_price", 400000.0], ["avg_price", 950032.08], ["high_price", 1189999.0], ["created_at", "2016-05-30 10:11:52.884072"], ["updated_at", "2016-05-30 10:11:52.884072"]]
52701
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 5], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 38], ["volume", 136], ["low_price", 917999.92], ["avg_price", 917999.92], ["high_price", 917999.92], ["created_at", "2016-05-30 10:11:52.886333"], ["updated_at", "2016-05-30 10:11:52.886333"]]
52702
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 5], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 32], ["volume", 273], ["low_price", 839999.77], ["avg_price", 839999.77], ["high_price", 839999.77], ["created_at", "2016-05-30 10:11:52.888234"], ["updated_at", "2016-05-30 10:11:52.888234"]]
52703
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 5], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 35], ["volume", 64], ["low_price", 376026.7], ["avg_price", 668974.39], ["high_price", 749999.99], ["created_at", "2016-05-30 10:11:52.890274"], ["updated_at", "2016-05-30 10:11:52.890274"]]
52704
+  (1.4ms) COMMIT
52705
+  (0.5ms) BEGIN
52706
+  (1.2ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 92], ["eve_item_id", 6]]
52707
+ SQL (1.9ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 6], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 28], ["volume", 46], ["low_price", 8799645.5], ["avg_price", 9389064.6], ["high_price", 9800000.0], ["created_at", "2016-05-30 10:11:53.915005"], ["updated_at", "2016-05-30 10:11:53.915005"]]
52708
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 6], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 29], ["volume", 36], ["low_price", 8800059.94], ["avg_price", 9361025.11], ["high_price", 9699999.98], ["created_at", "2016-05-30 10:11:53.919748"], ["updated_at", "2016-05-30 10:11:53.919748"]]
52709
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 6], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 24], ["volume", 48], ["low_price", 8800097.3], ["avg_price", 9468775.79], ["high_price", 9799994.94], ["created_at", "2016-05-30 10:11:53.923030"], ["updated_at", "2016-05-30 10:11:53.923030"]]
52710
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 6], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 29], ["volume", 34], ["low_price", 8800103.74], ["avg_price", 9291194.8], ["high_price", 9799993.8], ["created_at", "2016-05-30 10:11:53.924836"], ["updated_at", "2016-05-30 10:11:53.924836"]]
52711
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 6], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 55], ["volume", 90], ["low_price", 8800105.29], ["avg_price", 9590898.7], ["high_price", 9799994.93], ["created_at", "2016-05-30 10:11:53.926478"], ["updated_at", "2016-05-30 10:11:53.926478"]]
52712
+  (0.6ms) COMMIT
52713
+  (1.1ms) BEGIN
52714
+  (1.4ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 11], ["eve_item_id", 7]]
52715
+ SQL (6.2ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 11], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 6], ["volume", 9], ["low_price", 12600000.0], ["avg_price", 12830555.56], ["high_price", 15000000.0], ["created_at", "2016-05-30 10:11:54.575976"], ["updated_at", "2016-05-30 10:11:54.575976"]]
52716
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 11], ["eve_item_id", 7], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 5], ["volume", 5], ["low_price", 6500000.02], ["avg_price", 11617997.8], ["high_price", 12995497.0], ["created_at", "2016-05-30 10:11:54.584884"], ["updated_at", "2016-05-30 10:11:54.584884"]]
52717
+ SQL (1.0ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 11], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 12600000.0], ["avg_price", 12797498.0], ["high_price", 12994996.0], ["created_at", "2016-05-30 10:11:54.588434"], ["updated_at", "2016-05-30 10:11:54.588434"]]
52718
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 11], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 5], ["volume", 5], ["low_price", 12500000.0], ["avg_price", 13499199.6], ["high_price", 15000000.0], ["created_at", "2016-05-30 10:11:54.591394"], ["updated_at", "2016-05-30 10:11:54.591394"]]
52719
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 11], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 9], ["volume", 9], ["low_price", 10000000.0], ["avg_price", 12067789.11], ["high_price", 12999999.0], ["created_at", "2016-05-30 10:11:54.593413"], ["updated_at", "2016-05-30 10:11:54.593413"]]
52720
+  (1.2ms) COMMIT
52721
+  (0.3ms) BEGIN
52722
+  (1.5ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 24], ["eve_item_id", 7]]
52723
+ SQL (107.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 24], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 11999999.0], ["avg_price", 11999999.0], ["high_price", 11999999.0], ["created_at", "2016-05-30 10:11:55.465750"], ["updated_at", "2016-05-30 10:11:55.465750"]]
52724
+  (0.7ms) COMMIT
52725
+  (48.9ms) BEGIN
52726
+  (0.6ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 34], ["eve_item_id", 7]]
52727
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 34], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 8], ["volume", 8], ["low_price", 8000000.0], ["avg_price", 9543124.86], ["high_price", 11965000.0], ["created_at", "2016-05-30 10:11:56.251082"], ["updated_at", "2016-05-30 10:11:56.251082"]]
52728
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 34], ["eve_item_id", 7], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 5], ["volume", 5], ["low_price", 3440000.0], ["avg_price", 8351999.81], ["high_price", 12000000.0], ["created_at", "2016-05-30 10:11:56.253110"], ["updated_at", "2016-05-30 10:11:56.253110"]]
52729
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 34], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 12000000.0], ["avg_price", 12000000.0], ["high_price", 12000000.0], ["created_at", "2016-05-30 10:11:56.261530"], ["updated_at", "2016-05-30 10:11:56.261530"]]
52730
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 34], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 8], ["volume", 8], ["low_price", 7800000.0], ["avg_price", 9823749.97], ["high_price", 11969999.98], ["created_at", "2016-05-30 10:11:56.263404"], ["updated_at", "2016-05-30 10:11:56.263404"]]
52731
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 34], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 5], ["volume", 5], ["low_price", 7365499.96], ["avg_price", 9746199.98], ["high_price", 12000000.0], ["created_at", "2016-05-30 10:11:56.265078"], ["updated_at", "2016-05-30 10:11:56.265078"]]
52732
+  (0.6ms) COMMIT
52733
+  (47.2ms) BEGIN
52734
+  (0.8ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 35], ["eve_item_id", 7]]
52735
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 35], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 13999999.99], ["avg_price", 13999999.99], ["high_price", 13999999.99], ["created_at", "2016-05-30 10:11:57.554864"], ["updated_at", "2016-05-30 10:11:57.554864"]]
52736
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 35], ["eve_item_id", 7], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 2], ["volume", 3], ["low_price", 10000000.0], ["avg_price", 10666666.33], ["high_price", 11999999.0], ["created_at", "2016-05-30 10:11:57.557151"], ["updated_at", "2016-05-30 10:11:57.557151"]]
52737
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 35], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 4], ["volume", 4], ["low_price", 7750000.01], ["avg_price", 10125000.0], ["high_price", 12500000.0], ["created_at", "2016-05-30 10:11:57.559084"], ["updated_at", "2016-05-30 10:11:57.559084"]]
52738
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 35], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 11999999.0], ["avg_price", 11999999.0], ["high_price", 11999999.0], ["created_at", "2016-05-30 10:11:57.560731"], ["updated_at", "2016-05-30 10:11:57.560731"]]
52739
+  (1.0ms) COMMIT
52740
+  (0.5ms) BEGIN
52741
+  (0.9ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 37], ["eve_item_id", 7]]
52742
+ SQL (1.1ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 37], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 11000000.0], ["avg_price", 11479914.33], ["high_price", 11719871.5], ["created_at", "2016-05-30 10:11:58.391430"], ["updated_at", "2016-05-30 10:11:58.391430"]]
52743
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 37], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 4], ["volume", 4], ["low_price", 10000000.0], ["avg_price", 10500000.0], ["high_price", 12000000.0], ["created_at", "2016-05-30 10:11:58.395067"], ["updated_at", "2016-05-30 10:11:58.395067"]]
52744
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 37], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 4400101.01], ["avg_price", 7994871.51], ["high_price", 11589642.0], ["created_at", "2016-05-30 10:11:58.396857"], ["updated_at", "2016-05-30 10:11:58.396857"]]
52745
+  (0.7ms) COMMIT
52746
+  (0.3ms) BEGIN
52747
+  (0.6ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 38], ["eve_item_id", 7]]
52748
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 38], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 59], ["volume", 68], ["low_price", 10000300.0], ["avg_price", 12769552.51], ["high_price", 13499998.97], ["created_at", "2016-05-30 10:12:00.174895"], ["updated_at", "2016-05-30 10:12:00.174895"]]
52749
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 38], ["eve_item_id", 7], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 72], ["volume", 134], ["low_price", 13450000.0], ["avg_price", 13499998.99], ["high_price", 13499999.0], ["created_at", "2016-05-30 10:12:00.177073"], ["updated_at", "2016-05-30 10:12:00.177073"]]
52750
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 38], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 59], ["volume", 73], ["low_price", 11001000.32], ["avg_price", 12505229.54], ["high_price", 13399894.99], ["created_at", "2016-05-30 10:12:00.179026"], ["updated_at", "2016-05-30 10:12:00.179026"]]
52751
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 38], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 47], ["volume", 82], ["low_price", 11002102.03], ["avg_price", 12285003.15], ["high_price", 12899999.99], ["created_at", "2016-05-30 10:12:00.181022"], ["updated_at", "2016-05-30 10:12:00.181022"]]
52752
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 38], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 60], ["volume", 73], ["low_price", 11002103.0], ["avg_price", 11897882.33], ["high_price", 12499999.85], ["created_at", "2016-05-30 10:12:00.182936"], ["updated_at", "2016-05-30 10:12:00.182936"]]
52753
+  (0.7ms) COMMIT
52754
+  (3.1ms) BEGIN
52755
+  (1.2ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 46], ["eve_item_id", 7]]
52756
+ SQL (1.0ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 46], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 5], ["volume", 5], ["low_price", 5000000.0], ["avg_price", 10730000.0], ["high_price", 11950000.0], ["created_at", "2016-05-30 10:12:02.227820"], ["updated_at", "2016-05-30 10:12:02.227820"]]
52757
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 46], ["eve_item_id", 7], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 8], ["volume", 8], ["low_price", 5000000.0], ["avg_price", 11449375.0], ["high_price", 12495000.0], ["created_at", "2016-05-30 10:12:02.231794"], ["updated_at", "2016-05-30 10:12:02.231794"]]
52758
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 46], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 4800000.0], ["avg_price", 7266666.64], ["high_price", 12199999.93], ["created_at", "2016-05-30 10:12:02.234022"], ["updated_at", "2016-05-30 10:12:02.234022"]]
52759
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 46], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 12100000.0], ["avg_price", 12133333.32], ["high_price", 12199999.96], ["created_at", "2016-05-30 10:12:02.235543"], ["updated_at", "2016-05-30 10:12:02.235543"]]
52760
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 46], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 4], ["volume", 4], ["low_price", 4800000.0], ["avg_price", 10768749.75], ["high_price", 12999999.0], ["created_at", "2016-05-30 10:12:02.237026"], ["updated_at", "2016-05-30 10:12:02.237026"]]
52761
+  (0.9ms) COMMIT
52762
+  (1.3ms) BEGIN
52763
+  (2.1ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 48], ["eve_item_id", 7]]
52764
+ SQL (1.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 48], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 13000000.0], ["avg_price", 13499999.49], ["high_price", 13999998.97], ["created_at", "2016-05-30 10:12:02.956495"], ["updated_at", "2016-05-30 10:12:02.956495"]]
52765
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 48], ["eve_item_id", 7], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 6100533.0], ["avg_price", 6100533.0], ["high_price", 6100533.0], ["created_at", "2016-05-30 10:12:02.960766"], ["updated_at", "2016-05-30 10:12:02.960766"]]
52766
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 48], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 13000000.0], ["avg_price", 13000000.0], ["high_price", 13000000.0], ["created_at", "2016-05-30 10:12:02.964191"], ["updated_at", "2016-05-30 10:12:02.964191"]]
52767
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 48], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 13000000.0], ["avg_price", 13499999.49], ["high_price", 13999998.97], ["created_at", "2016-05-30 10:12:02.967732"], ["updated_at", "2016-05-30 10:12:02.967732"]]
52768
+  (1.3ms) COMMIT
52769
+  (1.3ms) BEGIN
52770
+  (1.4ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 54], ["eve_item_id", 7]]
52771
+ SQL (3.1ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 54], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 9999999.5], ["avg_price", 10666666.33], ["high_price", 12000000.0], ["created_at", "2016-05-30 10:12:03.966261"], ["updated_at", "2016-05-30 10:12:03.966261"]]
52772
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 54], ["eve_item_id", 7], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 7], ["volume", 7], ["low_price", 6255007.36], ["avg_price", 10358573.53], ["high_price", 12000000.0], ["created_at", "2016-05-30 10:12:03.972894"], ["updated_at", "2016-05-30 10:12:03.972894"]]
52773
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 54], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 9999999.0], ["avg_price", 11333333.0], ["high_price", 12000000.0], ["created_at", "2016-05-30 10:12:03.974966"], ["updated_at", "2016-05-30 10:12:03.974966"]]
52774
+ SQL (0.2ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 54], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 20], ["volume", 20], ["low_price", 9874999.5], ["avg_price", 11910899.39], ["high_price", 12439998.99], ["created_at", "2016-05-30 10:12:03.976681"], ["updated_at", "2016-05-30 10:12:03.976681"]]
52775
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 54], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 16], ["volume", 16], ["low_price", 8411000.01], ["avg_price", 11135562.92], ["high_price", 12439998.99], ["created_at", "2016-05-30 10:12:03.978178"], ["updated_at", "2016-05-30 10:12:03.978178"]]
52776
+  (6.3ms) COMMIT
52777
+  (0.3ms) BEGIN
52778
+  (1.0ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 55], ["eve_item_id", 7]]
52779
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 55], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 8000000.63], ["avg_price", 17666666.9], ["high_price", 22500000.04], ["created_at", "2016-05-30 10:12:04.853116"], ["updated_at", "2016-05-30 10:12:04.853116"]]
52780
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 55], ["eve_item_id", 7], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 8500000.01], ["avg_price", 9333333.14], ["high_price", 10999999.39], ["created_at", "2016-05-30 10:12:04.856096"], ["updated_at", "2016-05-30 10:12:04.856096"]]
52781
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 55], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 8000000.63], ["avg_price", 10000000.22], ["high_price", 13999999.39], ["created_at", "2016-05-30 10:12:04.858388"], ["updated_at", "2016-05-30 10:12:04.858388"]]
52782
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 55], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 4], ["volume", 4], ["low_price", 11000000.01], ["avg_price", 14487499.76], ["high_price", 17974999.5], ["created_at", "2016-05-30 10:12:04.860523"], ["updated_at", "2016-05-30 10:12:04.860523"]]
52783
+  (0.8ms) COMMIT
52784
+  (0.3ms) BEGIN
52785
+  (2.0ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 58], ["eve_item_id", 7]]
52786
+ SQL (0.9ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 58], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 15], ["volume", 15], ["low_price", 9000101.32], ["avg_price", 10990806.85], ["high_price", 11497999.88], ["created_at", "2016-05-30 10:12:05.563933"], ["updated_at", "2016-05-30 10:12:05.563933"]]
52787
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 58], ["eve_item_id", 7], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 7], ["volume", 7], ["low_price", 9000102.16], ["avg_price", 10107586.57], ["high_price", 11312449.88], ["created_at", "2016-05-30 10:12:05.566828"], ["updated_at", "2016-05-30 10:12:05.566828"]]
52788
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 58], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 9], ["volume", 9], ["low_price", 10479998.0], ["avg_price", 10585899.39], ["high_price", 11134999.4], ["created_at", "2016-05-30 10:12:05.569268"], ["updated_at", "2016-05-30 10:12:05.569268"]]
52789
+ SQL (1.0ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 58], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 19], ["volume", 19], ["low_price", 9000105.65], ["avg_price", 10253401.06], ["high_price", 11000000.0], ["created_at", "2016-05-30 10:12:05.571868"], ["updated_at", "2016-05-30 10:12:05.571868"]]
52790
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 58], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 18], ["volume", 22], ["low_price", 9000106.4], ["avg_price", 10843876.54], ["high_price", 11134998.0], ["created_at", "2016-05-30 10:12:05.574854"], ["updated_at", "2016-05-30 10:12:05.574854"]]
52791
+  (0.9ms) COMMIT
52792
+  (1.0ms) BEGIN
52793
+  (1.3ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 64], ["eve_item_id", 7]]
52794
+ SQL (1.9ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 64], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 12950999.0], ["avg_price", 12950999.0], ["high_price", 12950999.0], ["created_at", "2016-05-30 10:12:06.577798"], ["updated_at", "2016-05-30 10:12:06.577798"]]
52795
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 64], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 12400000.0], ["avg_price", 12400000.0], ["high_price", 12400000.0], ["created_at", "2016-05-30 10:12:06.583056"], ["updated_at", "2016-05-30 10:12:06.583056"]]
52796
+  (0.9ms) COMMIT
52797
+  (10.3ms) BEGIN
52798
+  (1.0ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 65], ["eve_item_id", 7]]
52799
+ SQL (1.0ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 65], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 5], ["volume", 6], ["low_price", 5000100.02], ["avg_price", 8833383.34], ["high_price", 11000000.0], ["created_at", "2016-05-30 10:12:07.861166"], ["updated_at", "2016-05-30 10:12:07.861166"]]
52800
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 65], ["eve_item_id", 7], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 6], ["volume", 6], ["low_price", 10000050.01], ["avg_price", 10666683.34], ["high_price", 11000000.0], ["created_at", "2016-05-30 10:12:07.865391"], ["updated_at", "2016-05-30 10:12:07.865391"]]
52801
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 65], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 2], ["volume", 3], ["low_price", 10000100.02], ["avg_price", 10333366.67], ["high_price", 10500000.0], ["created_at", "2016-05-30 10:12:07.869051"], ["updated_at", "2016-05-30 10:12:07.869051"]]
52802
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 65], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 9], ["volume", 11], ["low_price", 5000100.02], ["avg_price", 9636390.91], ["high_price", 11000000.0], ["created_at", "2016-05-30 10:12:07.872791"], ["updated_at", "2016-05-30 10:12:07.872791"]]
52803
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 65], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 13000000.0], ["avg_price", 14000000.0], ["high_price", 15000000.0], ["created_at", "2016-05-30 10:12:07.875019"], ["updated_at", "2016-05-30 10:12:07.875019"]]
52804
+  (0.7ms) COMMIT
52805
+  (0.7ms) BEGIN
52806
+  (1.2ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 66], ["eve_item_id", 7]]
52807
+ SQL (1.2ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 66], ["eve_item_id", 7], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 11490990.0], ["avg_price", 11490990.0], ["high_price", 11490990.0], ["created_at", "2016-05-30 10:12:08.758860"], ["updated_at", "2016-05-30 10:12:08.758860"]]
52808
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 66], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 2], ["volume", 3], ["low_price", 1370100.02], ["avg_price", 5213400.01], ["high_price", 12900000.0], ["created_at", "2016-05-30 10:12:08.763708"], ["updated_at", "2016-05-30 10:12:08.763708"]]
52809
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 66], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 3685050.01], ["avg_price", 6753366.67], ["high_price", 12890000.0], ["created_at", "2016-05-30 10:12:08.767727"], ["updated_at", "2016-05-30 10:12:08.767727"]]
52810
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 66], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 1370100.01], ["avg_price", 7185050.01], ["high_price", 13000000.0], ["created_at", "2016-05-30 10:12:08.772128"], ["updated_at", "2016-05-30 10:12:08.772128"]]
52811
+  (1.5ms) COMMIT
52812
+  (0.5ms) BEGIN
52813
+  (1.4ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 67], ["eve_item_id", 7]]
52814
+ SQL (1.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 67], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 23], ["volume", 23], ["low_price", 10799999.99], ["avg_price", 12005733.25], ["high_price", 12850000.0], ["created_at", "2016-05-30 10:12:09.486863"], ["updated_at", "2016-05-30 10:12:09.486863"]]
52815
+ SQL (4.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 67], ["eve_item_id", 7], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 24], ["volume", 34], ["low_price", 10000000.0], ["avg_price", 11087405.85], ["high_price", 12598933.0], ["created_at", "2016-05-30 10:12:09.492058"], ["updated_at", "2016-05-30 10:12:09.492058"]]
52816
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 67], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 19], ["volume", 20], ["low_price", 9500000.0], ["avg_price", 11476749.99], ["high_price", 12475000.0], ["created_at", "2016-05-30 10:12:09.499132"], ["updated_at", "2016-05-30 10:12:09.499132"]]
52817
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 67], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 18], ["volume", 18], ["low_price", 10999999.97], ["avg_price", 11499986.05], ["high_price", 12350000.0], ["created_at", "2016-05-30 10:12:09.501535"], ["updated_at", "2016-05-30 10:12:09.501535"]]
52818
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 67], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 28], ["volume", 34], ["low_price", 10650000.0], ["avg_price", 12408470.41], ["high_price", 12500000.0], ["created_at", "2016-05-30 10:12:09.503541"], ["updated_at", "2016-05-30 10:12:09.503541"]]
52819
+  (1.0ms) COMMIT
52820
+  (1.4ms) BEGIN
52821
+  (2.0ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 69], ["eve_item_id", 7]]
52822
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 69], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 6], ["volume", 6], ["low_price", 9802000.54], ["avg_price", 10867683.84], ["high_price", 11600000.48], ["created_at", "2016-05-30 10:12:10.402703"], ["updated_at", "2016-05-30 10:12:10.402703"]]
52823
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 69], ["eve_item_id", 7], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 5], ["volume", 5], ["low_price", 10701050.69], ["avg_price", 11929820.4], ["high_price", 12749000.21], ["created_at", "2016-05-30 10:12:10.405827"], ["updated_at", "2016-05-30 10:12:10.405827"]]
52824
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 69], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 7], ["volume", 8], ["low_price", 9802199.05], ["avg_price", 10647556.26], ["high_price", 12424495.1], ["created_at", "2016-05-30 10:12:10.408362"], ["updated_at", "2016-05-30 10:12:10.408362"]]
52825
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 69], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 13], ["volume", 13], ["low_price", 6035853.5], ["avg_price", 11664142.72], ["high_price", 12149000.18], ["created_at", "2016-05-30 10:12:10.411669"], ["updated_at", "2016-05-30 10:12:10.411669"]]
52826
+ SQL (1.0ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 69], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 9], ["volume", 10], ["low_price", 9802381.33], ["avg_price", 11680876.38], ["high_price", 12149000.18], ["created_at", "2016-05-30 10:12:10.414980"], ["updated_at", "2016-05-30 10:12:10.414980"]]
52827
+  (1.1ms) COMMIT
52828
+  (0.3ms) BEGIN
52829
+  (0.7ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 70], ["eve_item_id", 7]]
52830
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 70], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 6010000.0], ["avg_price", 8255000.0], ["high_price", 10500000.0], ["created_at", "2016-05-30 10:12:11.432167"], ["updated_at", "2016-05-30 10:12:11.432167"]]
52831
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 70], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 9500000.0], ["avg_price", 10505000.0], ["high_price", 11510000.0], ["created_at", "2016-05-30 10:12:11.435484"], ["updated_at", "2016-05-30 10:12:11.435484"]]
52832
+  (0.8ms) COMMIT
52833
+  (0.4ms) BEGIN
52834
+  (0.7ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 74], ["eve_item_id", 7]]
52835
+ SQL (14.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 74], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 15000000.0], ["avg_price", 15000000.0], ["high_price", 15000000.0], ["created_at", "2016-05-30 10:12:12.051017"], ["updated_at", "2016-05-30 10:12:12.051017"]]
52836
+  (1.0ms) COMMIT
52837
+  (0.9ms) BEGIN
52838
+  (2.9ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 78], ["eve_item_id", 7]]
52839
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 78], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 5], ["volume", 5], ["low_price", 12750000.0], ["avg_price", 14549998.33], ["high_price", 14999997.91], ["created_at", "2016-05-30 10:12:13.491191"], ["updated_at", "2016-05-30 10:12:13.491191"]]
52840
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 78], ["eve_item_id", 7], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 7], ["volume", 7], ["low_price", 10250000.0], ["avg_price", 12957000.0], ["high_price", 18500000.0], ["created_at", "2016-05-30 10:12:13.494182"], ["updated_at", "2016-05-30 10:12:13.494182"]]
52841
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 78], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 675000.02], ["avg_price", 7837498.51], ["high_price", 14999997.0], ["created_at", "2016-05-30 10:12:13.496773"], ["updated_at", "2016-05-30 10:12:13.496773"]]
52842
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 78], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 8], ["volume", 8], ["low_price", 12500000.0], ["avg_price", 14096999.24], ["high_price", 14999996.96], ["created_at", "2016-05-30 10:12:13.499395"], ["updated_at", "2016-05-30 10:12:13.499395"]]
52843
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 78], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 4], ["volume", 4], ["low_price", 14999996.95], ["avg_price", 15212748.47], ["high_price", 19850999.99], ["created_at", "2016-05-30 10:12:13.502007"], ["updated_at", "2016-05-30 10:12:13.502007"]]
52844
+  (0.8ms) COMMIT
52845
+  (21.8ms) BEGIN
52846
+  (0.6ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 82], ["eve_item_id", 7]]
52847
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 82], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 11000000.0], ["avg_price", 11000000.0], ["high_price", 11000000.0], ["created_at", "2016-05-30 10:12:14.364971"], ["updated_at", "2016-05-30 10:12:14.364971"]]
52848
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 82], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 10000000.0], ["avg_price", 10000000.0], ["high_price", 10000000.0], ["created_at", "2016-05-30 10:12:14.367068"], ["updated_at", "2016-05-30 10:12:14.367068"]]
52849
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 82], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 2], ["volume", 3], ["low_price", 10050000.0], ["avg_price", 10166683.33], ["high_price", 10400050.0], ["created_at", "2016-05-30 10:12:14.368735"], ["updated_at", "2016-05-30 10:12:14.368735"]]
52850
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 82], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 10050000.0], ["avg_price", 10050000.0], ["high_price", 10050000.0], ["created_at", "2016-05-30 10:12:14.370946"], ["updated_at", "2016-05-30 10:12:14.370946"]]
52851
+  (0.6ms) COMMIT
52852
+  (0.9ms) BEGIN
52853
+  (1.8ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 83], ["eve_item_id", 7]]
52854
+ SQL (1.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 83], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 17], ["volume", 24], ["low_price", 10000115.01], ["avg_price", 10879187.12], ["high_price", 10999988.98], ["created_at", "2016-05-30 10:12:15.366148"], ["updated_at", "2016-05-30 10:12:15.366148"]]
52855
+ SQL (1.1ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 83], ["eve_item_id", 7], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 18], ["volume", 18], ["low_price", 9500000.03], ["avg_price", 10494428.4], ["high_price", 10999988.0], ["created_at", "2016-05-30 10:12:15.371124"], ["updated_at", "2016-05-30 10:12:15.371124"]]
52856
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 83], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 20], ["volume", 25], ["low_price", 8750111.04], ["avg_price", 10234021.05], ["high_price", 10699990.0], ["created_at", "2016-05-30 10:12:15.374150"], ["updated_at", "2016-05-30 10:12:15.374150"]]
52857
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 83], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 14], ["volume", 14], ["low_price", 9800003.22], ["avg_price", 10235714.57], ["high_price", 10499999.96], ["created_at", "2016-05-30 10:12:15.376497"], ["updated_at", "2016-05-30 10:12:15.376497"]]
52858
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 83], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 23], ["volume", 26], ["low_price", 9500005.44], ["avg_price", 10375000.54], ["high_price", 10499999.96], ["created_at", "2016-05-30 10:12:15.378587"], ["updated_at", "2016-05-30 10:12:15.378587"]]
52859
+  (1.3ms) COMMIT
52860
+  (5.2ms) BEGIN
52861
+  (1.7ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 84], ["eve_item_id", 7]]
52862
+ SQL (1.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 84], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 11699999.0], ["avg_price", 11699999.0], ["high_price", 11699999.0], ["created_at", "2016-05-30 10:12:16.284085"], ["updated_at", "2016-05-30 10:12:16.284085"]]
52863
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 84], ["eve_item_id", 7], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 11200000.0], ["avg_price", 11200000.0], ["high_price", 11200000.0], ["created_at", "2016-05-30 10:12:16.288855"], ["updated_at", "2016-05-30 10:12:16.288855"]]
52864
+  (1.3ms) COMMIT
52865
+  (20.4ms) BEGIN
52866
+  (0.7ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 85], ["eve_item_id", 7]]
52867
+ SQL (1.0ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 85], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 9000000.0], ["avg_price", 14000000.0], ["high_price", 19000000.0], ["created_at", "2016-05-30 10:12:17.363978"], ["updated_at", "2016-05-30 10:12:17.363978"]]
52868
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 85], ["eve_item_id", 7], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 13000000.0], ["avg_price", 13450000.0], ["high_price", 13900000.0], ["created_at", "2016-05-30 10:12:17.367444"], ["updated_at", "2016-05-30 10:12:17.367444"]]
52869
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 85], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 13900000.0], ["avg_price", 13900000.0], ["high_price", 13900000.0], ["created_at", "2016-05-30 10:12:17.370321"], ["updated_at", "2016-05-30 10:12:17.370321"]]
52870
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 85], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 20000000.0], ["avg_price", 20000000.0], ["high_price", 20000000.0], ["created_at", "2016-05-30 10:12:17.373784"], ["updated_at", "2016-05-30 10:12:17.373784"]]
52871
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 85], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 11950000.0], ["avg_price", 11950000.0], ["high_price", 11950000.0], ["created_at", "2016-05-30 10:12:17.376951"], ["updated_at", "2016-05-30 10:12:17.376951"]]
52872
+  (1.3ms) COMMIT
52873
+  (6.6ms) BEGIN
52874
+  (2.1ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 86], ["eve_item_id", 7]]
52875
+ SQL (1.0ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 86], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 2], ["volume", 3], ["low_price", 9000000.0], ["avg_price", 9666666.67], ["high_price", 11000000.0], ["created_at", "2016-05-30 10:12:18.260406"], ["updated_at", "2016-05-30 10:12:18.260406"]]
52876
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 86], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 14000000.0], ["avg_price", 14000000.0], ["high_price", 14000000.0], ["created_at", "2016-05-30 10:12:18.263987"], ["updated_at", "2016-05-30 10:12:18.263987"]]
52877
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 86], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 9600000.08], ["avg_price", 9600000.08], ["high_price", 9600000.08], ["created_at", "2016-05-30 10:12:18.266917"], ["updated_at", "2016-05-30 10:12:18.266917"]]
52878
+  (1.0ms) COMMIT
52879
+  (0.7ms) BEGIN
52880
+  (1.1ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 90], ["eve_item_id", 7]]
52881
+ SQL (0.9ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 90], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 1219999.99], ["avg_price", 1219999.99], ["high_price", 1219999.99], ["created_at", "2016-05-30 10:12:19.156523"], ["updated_at", "2016-05-30 10:12:19.156523"]]
52882
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 90], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 13999997.99], ["avg_price", 13999997.99], ["high_price", 13999997.99], ["created_at", "2016-05-30 10:12:19.160041"], ["updated_at", "2016-05-30 10:12:19.160041"]]
52883
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 90], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 1], ["volume", 2], ["low_price", 13999997.99], ["avg_price", 13999997.99], ["high_price", 13999997.99], ["created_at", "2016-05-30 10:12:19.163003"], ["updated_at", "2016-05-30 10:12:19.163003"]]
52884
+  (1.0ms) COMMIT
52885
+  (0.4ms) BEGIN
52886
+  (0.5ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 91], ["eve_item_id", 7]]
52887
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 91], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 10], ["volume", 10], ["low_price", 11510003.02], ["avg_price", 14446200.3], ["high_price", 37500000.0], ["created_at", "2016-05-30 10:12:19.767855"], ["updated_at", "2016-05-30 10:12:19.767855"]]
52888
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 91], ["eve_item_id", 7], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 11750000.0], ["avg_price", 11750000.0], ["high_price", 11750000.0], ["created_at", "2016-05-30 10:12:19.770061"], ["updated_at", "2016-05-30 10:12:19.770061"]]
52889
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 91], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 9], ["volume", 9], ["low_price", 10750000.0], ["avg_price", 10828889.22], ["high_price", 12350000.0], ["created_at", "2016-05-30 10:12:19.771892"], ["updated_at", "2016-05-30 10:12:19.771892"]]
52890
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 91], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 6], ["volume", 6], ["low_price", 4510003.02], ["avg_price", 9951667.17], ["high_price", 10750000.0], ["created_at", "2016-05-30 10:12:19.773447"], ["updated_at", "2016-05-30 10:12:19.773447"]]
52891
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 91], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 3], ["volume", 4], ["low_price", 4510003.02], ["avg_price", 10382500.26], ["high_price", 13259999.0], ["created_at", "2016-05-30 10:12:19.774907"], ["updated_at", "2016-05-30 10:12:19.774907"]]
52892
+  (0.6ms) COMMIT
52893
+  (0.4ms) BEGIN
52894
+  (0.9ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 92], ["eve_item_id", 7]]
52895
+ SQL (1.0ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 7], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 160], ["volume", 268], ["low_price", 11598999.97], ["avg_price", 11649998.95], ["high_price", 11997998.0], ["created_at", "2016-05-30 10:12:20.401942"], ["updated_at", "2016-05-30 10:12:20.401942"]]
52896
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 7], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 136], ["volume", 247], ["low_price", 12199996.41], ["avg_price", 12199996.95], ["high_price", 12199997.98], ["created_at", "2016-05-30 10:12:20.405208"], ["updated_at", "2016-05-30 10:12:20.405208"]]
52897
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 194], ["volume", 348], ["low_price", 12199996.42], ["avg_price", 12199998.0], ["high_price", 12199998.0], ["created_at", "2016-05-30 10:12:20.407805"], ["updated_at", "2016-05-30 10:12:20.407805"]]
52898
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 166], ["volume", 320], ["low_price", 11006000.09], ["avg_price", 11995001.01], ["high_price", 12199998.8], ["created_at", "2016-05-30 10:12:20.410201"], ["updated_at", "2016-05-30 10:12:20.410201"]]
52899
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 183], ["volume", 552], ["low_price", 12199998.9], ["avg_price", 12299988.97], ["high_price", 12299989.32], ["created_at", "2016-05-30 10:12:20.412536"], ["updated_at", "2016-05-30 10:12:20.412536"]]
52900
+  (0.8ms) COMMIT
52901
+  (1.7ms) BEGIN
52902
+  (1.5ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 98], ["eve_item_id", 7]]
52903
+ SQL (2.0ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 98], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 10000000.0], ["avg_price", 10000000.0], ["high_price", 10000000.0], ["created_at", "2016-05-30 10:12:20.997267"], ["updated_at", "2016-05-30 10:12:20.997267"]]
52904
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 98], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 10000000.0], ["avg_price", 15000000.0], ["high_price", 20000000.0], ["created_at", "2016-05-30 10:12:21.005181"], ["updated_at", "2016-05-30 10:12:21.005181"]]
52905
+  (3.3ms) COMMIT
52906
+  (1.2ms) BEGIN
52907
+  (1.9ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 99], ["eve_item_id", 7]]
52908
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 99], ["eve_item_id", 7], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 10910999.99], ["avg_price", 10910999.99], ["high_price", 10910999.99], ["created_at", "2016-05-30 10:12:21.912133"], ["updated_at", "2016-05-30 10:12:21.912133"]]
52909
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 99], ["eve_item_id", 7], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 11731526.35], ["avg_price", 11731526.35], ["high_price", 11731526.35], ["created_at", "2016-05-30 10:12:21.915168"], ["updated_at", "2016-05-30 10:12:21.915168"]]
52910
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 99], ["eve_item_id", 7], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 10910999.5], ["avg_price", 11184508.45], ["high_price", 11731526.35], ["created_at", "2016-05-30 10:12:21.916927"], ["updated_at", "2016-05-30 10:12:21.916927"]]
52911
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 99], ["eve_item_id", 7], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 4], ["volume", 4], ["low_price", 7000000.51], ["avg_price", 10080499.88], ["high_price", 10910999.99], ["created_at", "2016-05-30 10:12:21.918575"], ["updated_at", "2016-05-30 10:12:21.918575"]]
52912
+  (0.8ms) COMMIT
52913
+  (0.7ms) BEGIN
52914
+  (0.9ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 92], ["eve_item_id", 8]]
52915
+ SQL (1.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 8], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 42], ["volume", 45], ["low_price", 175000600.57], ["avg_price", 188859440.23], ["high_price", 194985415.94], ["created_at", "2016-05-30 10:12:22.657798"], ["updated_at", "2016-05-30 10:12:22.657798"]]
52916
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 8], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 44], ["volume", 45], ["low_price", 179457000.01], ["avg_price", 192049070.17], ["high_price", 194985398.33], ["created_at", "2016-05-30 10:12:22.661569"], ["updated_at", "2016-05-30 10:12:22.661569"]]
52917
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 8], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 52], ["volume", 55], ["low_price", 180457000.58], ["avg_price", 190842479.04], ["high_price", 194984999.95], ["created_at", "2016-05-30 10:12:22.663698"], ["updated_at", "2016-05-30 10:12:22.663698"]]
52918
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 8], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 73], ["volume", 85], ["low_price", 182100001.49], ["avg_price", 197701333.11], ["high_price", 202995799.93], ["created_at", "2016-05-30 10:12:22.666270"], ["updated_at", "2016-05-30 10:12:22.666270"]]
52919
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 8], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 65], ["volume", 77], ["low_price", 182100054.0], ["avg_price", 199190660.25], ["high_price", 202995778.94], ["created_at", "2016-05-30 10:12:22.668013"], ["updated_at", "2016-05-30 10:12:22.668013"]]
52920
+  (0.6ms) COMMIT
52921
+  (4.6ms) BEGIN
52922
+  (0.7ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 92], ["eve_item_id", 9]]
52923
+ SQL (1.0ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 9], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 53], ["volume", 190], ["low_price", 554998.0], ["avg_price", 554998.0], ["high_price", 554998.0], ["created_at", "2016-05-30 10:12:23.393844"], ["updated_at", "2016-05-30 10:12:23.393844"]]
52924
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 9], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 67], ["volume", 130], ["low_price", 553895.97], ["avg_price", 553898.0], ["high_price", 553997.99], ["created_at", "2016-05-30 10:12:23.396683"], ["updated_at", "2016-05-30 10:12:23.396683"]]
52925
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 9], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 44], ["volume", 98], ["low_price", 409000.0], ["avg_price", 501298.37], ["high_price", 553895.97], ["created_at", "2016-05-30 10:12:23.398677"], ["updated_at", "2016-05-30 10:12:23.398677"]]
52926
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 9], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 47], ["volume", 152], ["low_price", 552895.93], ["avg_price", 552895.99], ["high_price", 553895.95], ["created_at", "2016-05-30 10:12:23.400497"], ["updated_at", "2016-05-30 10:12:23.400497"]]
52927
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 9], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 46], ["volume", 241], ["low_price", 550002.69], ["avg_price", 550002.69], ["high_price", 550002.69], ["created_at", "2016-05-30 10:12:23.402170"], ["updated_at", "2016-05-30 10:12:23.402170"]]
52928
+  (0.6ms) COMMIT
52929
+  (0.3ms) BEGIN
52930
+  (0.6ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 92], ["eve_item_id", 10]]
52931
+ SQL (1.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 10], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 47], ["volume", 67], ["low_price", 418000.32], ["avg_price", 510120.31], ["high_price", 574998.84], ["created_at", "2016-05-30 10:12:24.017659"], ["updated_at", "2016-05-30 10:12:24.017659"]]
52932
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 10], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 55], ["volume", 67], ["low_price", 418000.44], ["avg_price", 574905.81], ["high_price", 574988.27], ["created_at", "2016-05-30 10:12:24.021897"], ["updated_at", "2016-05-30 10:12:24.021897"]]
52933
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 10], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 41], ["volume", 104], ["low_price", 418000.61], ["avg_price", 528550.5], ["high_price", 557001.99], ["created_at", "2016-05-30 10:12:24.024187"], ["updated_at", "2016-05-30 10:12:24.024187"]]
52934
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 10], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 55], ["volume", 152], ["low_price", 418000.8], ["avg_price", 556999.92], ["high_price", 556999.93], ["created_at", "2016-05-30 10:12:24.027428"], ["updated_at", "2016-05-30 10:12:24.027428"]]
52935
+ SQL (1.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 10], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 48], ["volume", 113], ["low_price", 418000.85], ["avg_price", 418000.92], ["high_price", 499999.85], ["created_at", "2016-05-30 10:12:24.030559"], ["updated_at", "2016-05-30 10:12:24.030559"]]
52936
+  (0.7ms) COMMIT
52937
+  (0.3ms) BEGIN
52938
+  (1.5ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 5], ["eve_item_id", 11]]
52939
+ SQL (3.2ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 5], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 1], ["volume", 4], ["low_price", 420000.0], ["avg_price", 420000.0], ["high_price", 420000.0], ["created_at", "2016-05-30 10:12:24.643042"], ["updated_at", "2016-05-30 10:12:24.643042"]]
52940
+ SQL (0.9ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 5], ["eve_item_id", 11], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 500000.0], ["avg_price", 500000.0], ["high_price", 500000.0], ["created_at", "2016-05-30 10:12:24.648737"], ["updated_at", "2016-05-30 10:12:24.648737"]]
52941
+  (1.4ms) COMMIT
52942
+  (17.5ms) BEGIN
52943
+  (1.0ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 11], ["eve_item_id", 11]]
52944
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 11], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 6], ["volume", 6], ["low_price", 400000.0], ["avg_price", 529666.67], ["high_price", 589000.0], ["created_at", "2016-05-30 10:12:25.320492"], ["updated_at", "2016-05-30 10:12:25.320492"]]
52945
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 11], ["eve_item_id", 11], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 8], ["volume", 14], ["low_price", 364000.01], ["avg_price", 581571.43], ["high_price", 597000.0], ["created_at", "2016-05-30 10:12:25.323316"], ["updated_at", "2016-05-30 10:12:25.323316"]]
52946
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 11], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 577999.99], ["avg_price", 601999.99], ["high_price", 650000.0], ["created_at", "2016-05-30 10:12:25.325756"], ["updated_at", "2016-05-30 10:12:25.325756"]]
52947
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 11], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 7], ["volume", 7], ["low_price", 275000.01], ["avg_price", 483428.57], ["high_price", 577999.99], ["created_at", "2016-05-30 10:12:25.328276"], ["updated_at", "2016-05-30 10:12:25.328276"]]
52948
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 11], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 150000.02], ["avg_price", 150000.02], ["high_price", 150000.02], ["created_at", "2016-05-30 10:12:25.330613"], ["updated_at", "2016-05-30 10:12:25.330613"]]
52949
+  (0.7ms) COMMIT
52950
+  (0.4ms) BEGIN
52951
+  (0.6ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 24], ["eve_item_id", 11]]
52952
+  (0.4ms) COMMIT
52953
+  (1.0ms) BEGIN
52954
+  (1.2ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 34], ["eve_item_id", 11]]
52955
+ SQL (1.1ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 34], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 500000.0], ["avg_price", 500000.0], ["high_price", 500000.0], ["created_at", "2016-05-30 10:12:27.030332"], ["updated_at", "2016-05-30 10:12:27.030332"]]
52956
+ SQL (1.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 34], ["eve_item_id", 11], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 500000.0], ["avg_price", 566666.67], ["high_price", 600000.0], ["created_at", "2016-05-30 10:12:27.034562"], ["updated_at", "2016-05-30 10:12:27.034562"]]
52957
+ SQL (1.0ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 34], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 525000.0], ["avg_price", 525000.0], ["high_price", 525000.0], ["created_at", "2016-05-30 10:12:27.039368"], ["updated_at", "2016-05-30 10:12:27.039368"]]
52958
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 34], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 1], ["volume", 2], ["low_price", 600000.0], ["avg_price", 600000.0], ["high_price", 600000.0], ["created_at", "2016-05-30 10:12:27.043036"], ["updated_at", "2016-05-30 10:12:27.043036"]]
52959
+  (0.8ms) COMMIT
52960
+  (28.0ms) BEGIN
52961
+  (0.5ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 35], ["eve_item_id", 11]]
52962
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 35], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 2], ["volume", 5], ["low_price", 400000.0], ["avg_price", 500000.0], ["high_price", 899999.99], ["created_at", "2016-05-30 10:12:27.950916"], ["updated_at", "2016-05-30 10:12:27.950916"]]
52963
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 35], ["eve_item_id", 11], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 357499.99], ["avg_price", 568999.99], ["high_price", 992000.0], ["created_at", "2016-05-30 10:12:27.953051"], ["updated_at", "2016-05-30 10:12:27.953051"]]
52964
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 35], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 359999.99], ["avg_price", 359999.99], ["high_price", 359999.99], ["created_at", "2016-05-30 10:12:27.954917"], ["updated_at", "2016-05-30 10:12:27.954917"]]
52965
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 35], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 1], ["volume", 4], ["low_price", 500.0], ["avg_price", 500.0], ["high_price", 500.0], ["created_at", "2016-05-30 10:12:27.956548"], ["updated_at", "2016-05-30 10:12:27.956548"]]
52966
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 35], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 500.0], ["avg_price", 500.0], ["high_price", 500.0], ["created_at", "2016-05-30 10:12:27.958136"], ["updated_at", "2016-05-30 10:12:27.958136"]]
52967
+  (0.6ms) COMMIT
52968
+  (0.9ms) BEGIN
52969
+  (1.7ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 37], ["eve_item_id", 11]]
52970
+ SQL (16.2ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 37], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 450000.0], ["avg_price", 450000.0], ["high_price", 450000.0], ["created_at", "2016-05-30 10:12:28.871299"], ["updated_at", "2016-05-30 10:12:28.871299"]]
52971
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 37], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 350000.0], ["avg_price", 350000.0], ["high_price", 350000.0], ["created_at", "2016-05-30 10:12:28.890036"], ["updated_at", "2016-05-30 10:12:28.890036"]]
52972
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 37], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 450000.0], ["avg_price", 450000.0], ["high_price", 450000.0], ["created_at", "2016-05-30 10:12:28.892890"], ["updated_at", "2016-05-30 10:12:28.892890"]]
52973
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 37], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 495000.0], ["avg_price", 495000.0], ["high_price", 495000.0], ["created_at", "2016-05-30 10:12:28.895492"], ["updated_at", "2016-05-30 10:12:28.895492"]]
52974
+  (1.0ms) COMMIT
52975
+  (0.8ms) BEGIN
52976
+  (2.1ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 38], ["eve_item_id", 11]]
52977
+ SQL (1.0ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 38], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 34], ["volume", 37], ["low_price", 370009.01], ["avg_price", 399457.68], ["high_price", 399995.0], ["created_at", "2016-05-30 10:12:30.711319"], ["updated_at", "2016-05-30 10:12:30.711319"]]
52978
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 38], ["eve_item_id", 11], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 31], ["volume", 72], ["low_price", 410000.0], ["avg_price", 427543.41], ["high_price", 444444.1], ["created_at", "2016-05-30 10:12:30.714445"], ["updated_at", "2016-05-30 10:12:30.714445"]]
52979
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 38], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 33], ["volume", 36], ["low_price", 370009.01], ["avg_price", 400658.1], ["high_price", 470000.0], ["created_at", "2016-05-30 10:12:30.717053"], ["updated_at", "2016-05-30 10:12:30.717053"]]
52980
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 38], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 35], ["volume", 100], ["low_price", 475955.71], ["avg_price", 517446.66], ["high_price", 549499.69], ["created_at", "2016-05-30 10:12:30.720068"], ["updated_at", "2016-05-30 10:12:30.720068"]]
52981
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 38], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 35], ["volume", 149], ["low_price", 370009.03], ["avg_price", 370009.03], ["high_price", 370009.03], ["created_at", "2016-05-30 10:12:30.722579"], ["updated_at", "2016-05-30 10:12:30.722579"]]
52982
+  (1.3ms) COMMIT
52983
+  (0.4ms) BEGIN
52984
+  (0.8ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 46], ["eve_item_id", 11]]
52985
+ SQL (1.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 46], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 10], ["volume", 12], ["low_price", 100000.0], ["avg_price", 354333.33], ["high_price", 500000.0], ["created_at", "2016-05-30 10:12:32.302224"], ["updated_at", "2016-05-30 10:12:32.302224"]]
52986
+ SQL (2.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 46], ["eve_item_id", 11], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 100000.0], ["avg_price", 325000.0], ["high_price", 550000.0], ["created_at", "2016-05-30 10:12:32.307186"], ["updated_at", "2016-05-30 10:12:32.307186"]]
52987
+ SQL (1.9ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 46], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 7], ["volume", 10], ["low_price", 425000.0], ["avg_price", 438999.99], ["high_price", 599999.95], ["created_at", "2016-05-30 10:12:32.314163"], ["updated_at", "2016-05-30 10:12:32.314163"]]
52988
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 46], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 11], ["volume", 12], ["low_price", 299999.99], ["avg_price", 383333.33], ["high_price", 500000.0], ["created_at", "2016-05-30 10:12:32.318438"], ["updated_at", "2016-05-30 10:12:32.318438"]]
52989
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 46], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 11], ["volume", 15], ["low_price", 299999.99], ["avg_price", 410666.66], ["high_price", 500000.0], ["created_at", "2016-05-30 10:12:32.321008"], ["updated_at", "2016-05-30 10:12:32.321008"]]
52990
+  (0.7ms) COMMIT
52991
+  (0.3ms) BEGIN
52992
+  (0.5ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 48], ["eve_item_id", 11]]
52993
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 48], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 5], ["volume", 6], ["low_price", 10000.0], ["avg_price", 269254.55], ["high_price", 387763.66], ["created_at", "2016-05-30 10:12:32.914182"], ["updated_at", "2016-05-30 10:12:32.914182"]]
52994
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 48], ["eve_item_id", 11], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 350000.0], ["avg_price", 375000.0], ["high_price", 400000.0], ["created_at", "2016-05-30 10:12:32.916229"], ["updated_at", "2016-05-30 10:12:32.916229"]]
52995
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 48], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 550000.0], ["avg_price", 550000.0], ["high_price", 550000.0], ["created_at", "2016-05-30 10:12:32.917881"], ["updated_at", "2016-05-30 10:12:32.917881"]]
52996
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 48], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 4], ["volume", 4], ["low_price", 324342.11], ["avg_price", 334608.3], ["high_price", 344874.5], ["created_at", "2016-05-30 10:12:32.919511"], ["updated_at", "2016-05-30 10:12:32.919511"]]
52997
+  (0.6ms) COMMIT
52998
+  (1.2ms) BEGIN
52999
+  (2.0ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 54], ["eve_item_id", 11]]
53000
+ SQL (2.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 54], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 750000.0], ["avg_price", 750000.0], ["high_price", 750000.0], ["created_at", "2016-05-30 10:12:33.571165"], ["updated_at", "2016-05-30 10:12:33.571165"]]
53001
+ SQL (0.9ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 54], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 599999.89], ["avg_price", 599999.89], ["high_price", 599999.89], ["created_at", "2016-05-30 10:12:33.579411"], ["updated_at", "2016-05-30 10:12:33.579411"]]
53002
+ SQL (1.2ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 54], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 500000.0], ["avg_price", 500000.0], ["high_price", 500000.0], ["created_at", "2016-05-30 10:12:33.584963"], ["updated_at", "2016-05-30 10:12:33.584963"]]
53003
+  (1.9ms) COMMIT
53004
+  (1.0ms) BEGIN
53005
+  (2.2ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 55], ["eve_item_id", 11]]
53006
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 55], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 350000.0], ["avg_price", 350000.0], ["high_price", 350000.0], ["created_at", "2016-05-30 10:12:34.722633"], ["updated_at", "2016-05-30 10:12:34.722633"]]
53007
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 55], ["eve_item_id", 11], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 514498.51], ["avg_price", 514498.51], ["high_price", 514498.51], ["created_at", "2016-05-30 10:12:34.724896"], ["updated_at", "2016-05-30 10:12:34.724896"]]
53008
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 55], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 9], ["volume", 33], ["low_price", 299999.99], ["avg_price", 328195.96], ["high_price", 350000.0], ["created_at", "2016-05-30 10:12:34.727005"], ["updated_at", "2016-05-30 10:12:34.727005"]]
53009
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 55], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 4], ["volume", 4], ["low_price", 438000.0], ["avg_price", 566750.01], ["high_price", 990000.05], ["created_at", "2016-05-30 10:12:34.728903"], ["updated_at", "2016-05-30 10:12:34.728903"]]
53010
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 55], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 400000.0], ["avg_price", 400000.0], ["high_price", 400000.0], ["created_at", "2016-05-30 10:12:34.730622"], ["updated_at", "2016-05-30 10:12:34.730622"]]
53011
+  (0.6ms) COMMIT
53012
+  (0.3ms) BEGIN
53013
+  (0.5ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 58], ["eve_item_id", 11]]
53014
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 58], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 63], ["volume", 200], ["low_price", 130000.0], ["avg_price", 130000.0], ["high_price", 130000.0], ["created_at", "2016-05-30 10:12:35.367874"], ["updated_at", "2016-05-30 10:12:35.367874"]]
53015
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 58], ["eve_item_id", 11], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 68], ["volume", 164], ["low_price", 290000.09], ["avg_price", 290000.1], ["high_price", 387500.01], ["created_at", "2016-05-30 10:12:35.370300"], ["updated_at", "2016-05-30 10:12:35.370300"]]
53016
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 58], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 76], ["volume", 216], ["low_price", 300000.0], ["avg_price", 300000.0], ["high_price", 315000.0], ["created_at", "2016-05-30 10:12:35.372099"], ["updated_at", "2016-05-30 10:12:35.372099"]]
53017
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 58], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 91], ["volume", 223], ["low_price", 315000.0], ["avg_price", 330000.0], ["high_price", 399999.95], ["created_at", "2016-05-30 10:12:35.373821"], ["updated_at", "2016-05-30 10:12:35.373821"]]
53018
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 58], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 71], ["volume", 141], ["low_price", 355000.0], ["avg_price", 400000.0], ["high_price", 419998.94], ["created_at", "2016-05-30 10:12:35.375585"], ["updated_at", "2016-05-30 10:12:35.375585"]]
53019
+  (0.7ms) COMMIT
53020
+  (7.0ms) BEGIN
53021
+  (1.1ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 64], ["eve_item_id", 11]]
53022
+ SQL (1.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 64], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 1], ["volume", 10], ["low_price", 35000.0], ["avg_price", 35000.0], ["high_price", 35000.0], ["created_at", "2016-05-30 10:12:36.432356"], ["updated_at", "2016-05-30 10:12:36.432356"]]
53023
+ SQL (0.9ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 64], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 1], ["volume", 10], ["low_price", 25000.0], ["avg_price", 25000.0], ["high_price", 25000.0], ["created_at", "2016-05-30 10:12:36.437961"], ["updated_at", "2016-05-30 10:12:36.437961"]]
53024
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 64], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 405000.0], ["avg_price", 405000.0], ["high_price", 405000.0], ["created_at", "2016-05-30 10:12:36.441541"], ["updated_at", "2016-05-30 10:12:36.441541"]]
53025
+ SQL (0.9ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 64], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 25000.0], ["avg_price", 185350.88], ["high_price", 265526.32], ["created_at", "2016-05-30 10:12:36.446189"], ["updated_at", "2016-05-30 10:12:36.446189"]]
53026
+  (2.0ms) COMMIT
53027
+  (3.2ms) BEGIN
53028
+  (21.2ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 65], ["eve_item_id", 11]]
53029
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 65], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 5], ["volume", 5], ["low_price", 312499.5], ["avg_price", 379999.6], ["high_price", 650000.0], ["created_at", "2016-05-30 10:12:37.385499"], ["updated_at", "2016-05-30 10:12:37.385499"]]
53030
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 65], ["eve_item_id", 11], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 324999.0], ["avg_price", 324999.0], ["high_price", 324999.0], ["created_at", "2016-05-30 10:12:37.388788"], ["updated_at", "2016-05-30 10:12:37.388788"]]
53031
+ SQL (0.2ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 65], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 7], ["volume", 7], ["low_price", 468999.99], ["avg_price", 514571.14], ["high_price", 1000000.0], ["created_at", "2016-05-30 10:12:37.391079"], ["updated_at", "2016-05-30 10:12:37.391079"]]
53032
+ SQL (0.2ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 65], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 400000.0], ["avg_price", 400000.0], ["high_price", 400000.0], ["created_at", "2016-05-30 10:12:37.392530"], ["updated_at", "2016-05-30 10:12:37.392530"]]
53033
+  (1.1ms) COMMIT
53034
+  (0.5ms) BEGIN
53035
+  (1.1ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 66], ["eve_item_id", 11]]
53036
+ SQL (8.0ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 66], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 40000.0], ["avg_price", 165000.0], ["high_price", 290000.0], ["created_at", "2016-05-30 10:12:38.642283"], ["updated_at", "2016-05-30 10:12:38.642283"]]
53037
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 66], ["eve_item_id", 11], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 2], ["volume", 6], ["low_price", 40000.0], ["avg_price", 82500.0], ["high_price", 295000.0], ["created_at", "2016-05-30 10:12:38.652549"], ["updated_at", "2016-05-30 10:12:38.652549"]]
53038
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 66], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 6], ["volume", 7], ["low_price", 290000.0], ["avg_price", 346428.57], ["high_price", 410000.0], ["created_at", "2016-05-30 10:12:38.654715"], ["updated_at", "2016-05-30 10:12:38.654715"]]
53039
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 66], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 410000.0], ["avg_price", 410000.0], ["high_price", 410000.0], ["created_at", "2016-05-30 10:12:38.656537"], ["updated_at", "2016-05-30 10:12:38.656537"]]
53040
+  (0.8ms) COMMIT
53041
+  (0.2ms) BEGIN
53042
+  (0.6ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 67], ["eve_item_id", 11]]
53043
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 67], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 16], ["volume", 59], ["low_price", 300000.0], ["avg_price", 353730.37], ["high_price", 469999.0], ["created_at", "2016-05-30 10:12:39.352460"], ["updated_at", "2016-05-30 10:12:39.352460"]]
53044
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 67], ["eve_item_id", 11], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 6], ["volume", 6], ["low_price", 437500.0], ["avg_price", 763365.63], ["high_price", 1489991.33], ["created_at", "2016-05-30 10:12:39.355248"], ["updated_at", "2016-05-30 10:12:39.355248"]]
53045
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 67], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 10], ["volume", 10], ["low_price", 550000.0], ["avg_price", 51761500.0], ["high_price", 510000000.03], ["created_at", "2016-05-30 10:12:39.357134"], ["updated_at", "2016-05-30 10:12:39.357134"]]
53046
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 67], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 6], ["volume", 6], ["low_price", 127201.0], ["avg_price", 618134.0], ["high_price", 1600000.0], ["created_at", "2016-05-30 10:12:39.359530"], ["updated_at", "2016-05-30 10:12:39.359530"]]
53047
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 67], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 6], ["volume", 30], ["low_price", 400000.0], ["avg_price", 2559404.2], ["high_price", 2999997.0], ["created_at", "2016-05-30 10:12:39.361282"], ["updated_at", "2016-05-30 10:12:39.361282"]]
53048
+  (0.7ms) COMMIT
53049
+  (0.6ms) BEGIN
53050
+  (2.4ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 69], ["eve_item_id", 11]]
53051
+ SQL (0.9ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 69], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 45], ["volume", 48], ["low_price", 332500.0], ["avg_price", 417673.31], ["high_price", 480002.5], ["created_at", "2016-05-30 10:12:40.102002"], ["updated_at", "2016-05-30 10:12:40.102002"]]
53052
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 69], ["eve_item_id", 11], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 77], ["volume", 208], ["low_price", 426000.0], ["avg_price", 500000.0], ["high_price", 550000.0], ["created_at", "2016-05-30 10:12:40.105233"], ["updated_at", "2016-05-30 10:12:40.105233"]]
53053
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 69], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 51], ["volume", 172], ["low_price", 550000.0], ["avg_price", 550000.0], ["high_price", 550000.0], ["created_at", "2016-05-30 10:12:40.108207"], ["updated_at", "2016-05-30 10:12:40.108207"]]
53054
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 69], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 45], ["volume", 154], ["low_price", 550000.0], ["avg_price", 550000.0], ["high_price", 550000.0], ["created_at", "2016-05-30 10:12:40.111121"], ["updated_at", "2016-05-30 10:12:40.111121"]]
53055
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 69], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 37], ["volume", 57], ["low_price", 299000.0], ["avg_price", 303323.31], ["high_price", 399000.0], ["created_at", "2016-05-30 10:12:40.114039"], ["updated_at", "2016-05-30 10:12:40.114039"]]
53056
+  (1.1ms) COMMIT
53057
+  (0.8ms) BEGIN
53058
+  (0.9ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 70], ["eve_item_id", 11]]
53059
+ SQL (1.0ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 70], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 424999.99], ["avg_price", 424999.99], ["high_price", 424999.99], ["created_at", "2016-05-30 10:12:41.022915"], ["updated_at", "2016-05-30 10:12:41.022915"]]
53060
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 70], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 6], ["volume", 6], ["low_price", 424999.99], ["avg_price", 515833.33], ["high_price", 775000.0], ["created_at", "2016-05-30 10:12:41.026427"], ["updated_at", "2016-05-30 10:12:41.026427"]]
53061
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 70], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 9], ["volume", 10], ["low_price", 300000.0], ["avg_price", 357000.0], ["high_price", 424999.99], ["created_at", "2016-05-30 10:12:41.029065"], ["updated_at", "2016-05-30 10:12:41.029065"]]
53062
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 70], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 300000.0], ["avg_price", 443333.33], ["high_price", 515000.0], ["created_at", "2016-05-30 10:12:41.031075"], ["updated_at", "2016-05-30 10:12:41.031075"]]
53063
+  (0.8ms) COMMIT
53064
+  (0.8ms) BEGIN
53065
+  (1.6ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 78], ["eve_item_id", 11]]
53066
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 78], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 9], ["volume", 22], ["low_price", 470000.0], ["avg_price", 544772.73], ["high_price", 590000.0], ["created_at", "2016-05-30 10:12:41.692061"], ["updated_at", "2016-05-30 10:12:41.692061"]]
53067
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 78], ["eve_item_id", 11], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 350000.0], ["avg_price", 410000.0], ["high_price", 470000.0], ["created_at", "2016-05-30 10:12:41.694374"], ["updated_at", "2016-05-30 10:12:41.694374"]]
53068
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 78], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 500000.0], ["avg_price", 513333.33], ["high_price", 519999.99], ["created_at", "2016-05-30 10:12:41.696351"], ["updated_at", "2016-05-30 10:12:41.696351"]]
53069
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 78], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 9], ["volume", 9], ["low_price", 340000.0], ["avg_price", 404566.66], ["high_price", 519999.99], ["created_at", "2016-05-30 10:12:41.698158"], ["updated_at", "2016-05-30 10:12:41.698158"]]
53070
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 78], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 4], ["volume", 4], ["low_price", 395000.35], ["avg_price", 455250.42], ["high_price", 515500.5], ["created_at", "2016-05-30 10:12:41.699706"], ["updated_at", "2016-05-30 10:12:41.699706"]]
53071
+  (0.6ms) COMMIT
53072
+  (31.5ms) BEGIN
53073
+  (0.5ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 82], ["eve_item_id", 11]]
53074
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 82], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 999998.0], ["avg_price", 999998.0], ["high_price", 999998.0], ["created_at", "2016-05-30 10:12:42.707277"], ["updated_at", "2016-05-30 10:12:42.707277"]]
53075
+  (0.7ms) COMMIT
53076
+  (0.5ms) BEGIN
53077
+  (1.3ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 83], ["eve_item_id", 11]]
53078
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 83], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 24], ["volume", 83], ["low_price", 296000.0], ["avg_price", 316733.36], ["high_price", 318999.0], ["created_at", "2016-05-30 10:12:43.333367"], ["updated_at", "2016-05-30 10:12:43.333367"]]
53079
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 83], ["eve_item_id", 11], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 17], ["volume", 34], ["low_price", 278121.04], ["avg_price", 329202.34], ["high_price", 376897.25], ["created_at", "2016-05-30 10:12:43.335673"], ["updated_at", "2016-05-30 10:12:43.335673"]]
53080
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 83], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 17], ["volume", 27], ["low_price", 290000.0], ["avg_price", 361891.56], ["high_price", 376897.23], ["created_at", "2016-05-30 10:12:43.337401"], ["updated_at", "2016-05-30 10:12:43.337401"]]
53081
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 83], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 29], ["volume", 62], ["low_price", 276606.05], ["avg_price", 369846.04], ["high_price", 376897.2], ["created_at", "2016-05-30 10:12:43.339240"], ["updated_at", "2016-05-30 10:12:43.339240"]]
53082
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 83], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 24], ["volume", 131], ["low_price", 377897.31], ["avg_price", 377897.31], ["high_price", 377897.31], ["created_at", "2016-05-30 10:12:43.340962"], ["updated_at", "2016-05-30 10:12:43.340962"]]
53083
+  (0.8ms) COMMIT
53084
+  (1.1ms) BEGIN
53085
+  (16.5ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 84], ["eve_item_id", 11]]
53086
+ SQL (1.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 84], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 399999.0], ["avg_price", 399999.0], ["high_price", 399999.0], ["created_at", "2016-05-30 10:12:44.187544"], ["updated_at", "2016-05-30 10:12:44.187544"]]
53087
+  (1.3ms) COMMIT
53088
+  (1.3ms) BEGIN
53089
+  (2.3ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 85], ["eve_item_id", 11]]
53090
+ SQL (1.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 85], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 1590000.01], ["avg_price", 1590000.01], ["high_price", 1590000.01], ["created_at", "2016-05-30 10:12:44.803810"], ["updated_at", "2016-05-30 10:12:44.803810"]]
53091
+  (1.8ms) COMMIT
53092
+  (0.3ms) BEGIN
53093
+  (0.4ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 86], ["eve_item_id", 11]]
53094
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 86], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 99.99], ["avg_price", 99.99], ["high_price", 99.99], ["created_at", "2016-05-30 10:12:45.655915"], ["updated_at", "2016-05-30 10:12:45.655915"]]
53095
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 86], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 499990.0], ["avg_price", 499990.0], ["high_price", 499990.0], ["created_at", "2016-05-30 10:12:45.658694"], ["updated_at", "2016-05-30 10:12:45.658694"]]
53096
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 86], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 499990.0], ["avg_price", 499990.0], ["high_price", 499990.0], ["created_at", "2016-05-30 10:12:45.660869"], ["updated_at", "2016-05-30 10:12:45.660869"]]
53097
+  (1.5ms) COMMIT
53098
+  (1.3ms) BEGIN
53099
+  (2.0ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 90], ["eve_item_id", 11]]
53100
+ SQL (1.2ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 90], ["eve_item_id", 11], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 374999.99], ["avg_price", 412499.97], ["high_price", 449999.95], ["created_at", "2016-05-30 10:12:46.322222"], ["updated_at", "2016-05-30 10:12:46.322222"]]
53101
+  (2.0ms) COMMIT
53102
+  (0.6ms) BEGIN
53103
+  (1.1ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 91], ["eve_item_id", 11]]
53104
+ SQL (1.0ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 91], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 379000.01], ["avg_price", 396000.0], ["high_price", 430000.0], ["created_at", "2016-05-30 10:12:46.936527"], ["updated_at", "2016-05-30 10:12:46.936527"]]
53105
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 91], ["eve_item_id", 11], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 7], ["volume", 7], ["low_price", 390000.0], ["avg_price", 435857.73], ["high_price", 542500.0], ["created_at", "2016-05-30 10:12:46.939234"], ["updated_at", "2016-05-30 10:12:46.939234"]]
53106
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 91], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 11], ["volume", 15], ["low_price", 110000.01], ["avg_price", 352001.37], ["high_price", 430004.09], ["created_at", "2016-05-30 10:12:46.940943"], ["updated_at", "2016-05-30 10:12:46.940943"]]
53107
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 91], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 11], ["volume", 15], ["low_price", 430004.09], ["avg_price", 459200.69], ["high_price", 499999.0], ["created_at", "2016-05-30 10:12:46.943211"], ["updated_at", "2016-05-30 10:12:46.943211"]]
53108
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 91], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 4], ["volume", 4], ["low_price", 110000.02], ["avg_price", 372500.01], ["high_price", 450000.0], ["created_at", "2016-05-30 10:12:46.944764"], ["updated_at", "2016-05-30 10:12:46.944764"]]
53109
+  (0.7ms) COMMIT
53110
+  (2.0ms) BEGIN
53111
+  (2.4ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 92], ["eve_item_id", 11]]
53112
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 106], ["volume", 205], ["low_price", 445200.36], ["avg_price", 479899.98], ["high_price", 479900.0], ["created_at", "2016-05-30 10:12:48.701057"], ["updated_at", "2016-05-30 10:12:48.701057"]]
53113
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 11], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 108], ["volume", 1446], ["low_price", 400500.51], ["avg_price", 426202.0], ["high_price", 426203.18], ["created_at", "2016-05-30 10:12:48.703310"], ["updated_at", "2016-05-30 10:12:48.703310"]]
53114
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 73], ["volume", 181], ["low_price", 350339.3], ["avg_price", 350339.3], ["high_price", 350339.3], ["created_at", "2016-05-30 10:12:48.705033"], ["updated_at", "2016-05-30 10:12:48.705033"]]
53115
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 80], ["volume", 204], ["low_price", 350341.16], ["avg_price", 438398.97], ["high_price", 471798.0], ["created_at", "2016-05-30 10:12:48.706628"], ["updated_at", "2016-05-30 10:12:48.706628"]]
53116
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 96], ["volume", 191], ["low_price", 350342.16], ["avg_price", 470698.9], ["high_price", 471797.9], ["created_at", "2016-05-30 10:12:48.708202"], ["updated_at", "2016-05-30 10:12:48.708202"]]
53117
+  (1.0ms) COMMIT
53118
+  (0.3ms) BEGIN
53119
+  (0.3ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 98], ["eve_item_id", 11]]
53120
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 98], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 999999.0], ["avg_price", 999999.0], ["high_price", 999999.0], ["created_at", "2016-05-30 10:12:49.597449"], ["updated_at", "2016-05-30 10:12:49.597449"]]
53121
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 98], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 1200000.0], ["avg_price", 1200000.0], ["high_price", 1200000.0], ["created_at", "2016-05-30 10:12:49.599817"], ["updated_at", "2016-05-30 10:12:49.599817"]]
53122
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 98], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 1200000.0], ["avg_price", 1200000.0], ["high_price", 1200000.0], ["created_at", "2016-05-30 10:12:49.602470"], ["updated_at", "2016-05-30 10:12:49.602470"]]
53123
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 98], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 999999.0], ["avg_price", 999999.44], ["high_price", 999999.88], ["created_at", "2016-05-30 10:12:49.604654"], ["updated_at", "2016-05-30 10:12:49.604654"]]
53124
+  (0.7ms) COMMIT
53125
+  (0.9ms) BEGIN
53126
+  (2.7ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 99], ["eve_item_id", 11]]
53127
+ SQL (1.2ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 99], ["eve_item_id", 11], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 106610.09], ["avg_price", 106610.09], ["high_price", 106610.09], ["created_at", "2016-05-30 10:12:50.304011"], ["updated_at", "2016-05-30 10:12:50.304011"]]
53128
+ SQL (0.9ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 99], ["eve_item_id", 11], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 150005.01], ["avg_price", 285002.51], ["high_price", 420000.0], ["created_at", "2016-05-30 10:12:50.307543"], ["updated_at", "2016-05-30 10:12:50.307543"]]
53129
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 99], ["eve_item_id", 11], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 4], ["volume", 4], ["low_price", 150005.01], ["avg_price", 292502.5], ["high_price", 435000.0], ["created_at", "2016-05-30 10:12:50.312091"], ["updated_at", "2016-05-30 10:12:50.312091"]]
53130
+ SQL (1.0ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 99], ["eve_item_id", 11], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 150005.01], ["avg_price", 150005.01], ["high_price", 150005.01], ["created_at", "2016-05-30 10:12:50.315981"], ["updated_at", "2016-05-30 10:12:50.315981"]]
53131
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 99], ["eve_item_id", 11], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 417500.0], ["avg_price", 428333.33], ["high_price", 449999.99], ["created_at", "2016-05-30 10:12:50.319984"], ["updated_at", "2016-05-30 10:12:50.319984"]]
53132
+  (0.7ms) COMMIT
53133
+  (1.0ms) BEGIN
53134
+  (8.5ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 92], ["eve_item_id", 12]]
53135
+ SQL (1.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 12], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 36], ["volume", 78], ["low_price", 10161001.89], ["avg_price", 10942659.42], ["high_price", 11799897.97], ["created_at", "2016-05-30 10:12:51.178982"], ["updated_at", "2016-05-30 10:12:51.178982"]]
53136
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 12], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 24], ["volume", 28], ["low_price", 10161002.16], ["avg_price", 11412212.59], ["high_price", 11799896.9], ["created_at", "2016-05-30 10:12:51.183154"], ["updated_at", "2016-05-30 10:12:51.183154"]]
53137
+ SQL (0.6ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 12], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 15], ["volume", 29], ["low_price", 10162001.23], ["avg_price", 11543363.1], ["high_price", 11799896.91], ["created_at", "2016-05-30 10:12:51.186180"], ["updated_at", "2016-05-30 10:12:51.186180"]]
53138
+ SQL (0.9ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 12], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 75], ["volume", 89], ["low_price", 10164008.0], ["avg_price", 10788875.6], ["high_price", 11799896.64], ["created_at", "2016-05-30 10:12:51.188911"], ["updated_at", "2016-05-30 10:12:51.188911"]]
53139
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 12], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 34], ["volume", 42], ["low_price", 10166018.66], ["avg_price", 10949303.35], ["high_price", 11799896.6], ["created_at", "2016-05-30 10:12:51.191645"], ["updated_at", "2016-05-30 10:12:51.191645"]]
53140
+  (0.7ms) COMMIT
53141
+  (0.9ms) BEGIN
53142
+  (1.2ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 92], ["eve_item_id", 13]]
53143
+ SQL (0.8ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 13], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 7], ["volume", 7], ["low_price", 175010009.38], ["avg_price", 179077123.07], ["high_price", 185499548.99], ["created_at", "2016-05-30 10:12:52.095450"], ["updated_at", "2016-05-30 10:12:52.095450"]]
53144
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 13], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 16], ["volume", 16], ["low_price", 175010009.29], ["avg_price", 183605817.28], ["high_price", 185449549.0], ["created_at", "2016-05-30 10:12:52.097999"], ["updated_at", "2016-05-30 10:12:52.097999"]]
53145
+ SQL (0.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 13], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 18], ["volume", 20], ["low_price", 175010011.33], ["avg_price", 186400889.93], ["high_price", 189499997.93], ["created_at", "2016-05-30 10:12:52.099850"], ["updated_at", "2016-05-30 10:12:52.099850"]]
53146
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 13], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 12], ["volume", 16], ["low_price", 175010011.31], ["avg_price", 186783124.33], ["high_price", 189499996.96], ["created_at", "2016-05-30 10:12:52.101722"], ["updated_at", "2016-05-30 10:12:52.101722"]]
53147
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 13], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 20], ["volume", 23], ["low_price", 175010012.97], ["avg_price", 185133914.04], ["high_price", 188999999.78], ["created_at", "2016-05-30 10:12:52.103283"], ["updated_at", "2016-05-30 10:12:52.103283"]]
53148
+  (0.8ms) COMMIT
53149
+  (0.9ms) BEGIN
53150
+  (3.6ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 92], ["eve_item_id", 14]]
53151
+ SQL (68.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 14], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 125], ["volume", 416], ["low_price", 590000.0], ["avg_price", 590000.01], ["high_price", 639999.22], ["created_at", "2016-05-30 10:12:53.009907"], ["updated_at", "2016-05-30 10:12:53.009907"]]
53152
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 14], ["day_timestamp", "20160526"], ["history_date", "2016-05-26 00:00:00.000000"], ["order_count", 129], ["volume", 536], ["low_price", 585000.01], ["avg_price", 585000.01], ["high_price", 639998.06], ["created_at", "2016-05-30 10:12:53.080567"], ["updated_at", "2016-05-30 10:12:53.080567"]]
53153
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 14], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 119], ["volume", 417], ["low_price", 565000.19], ["avg_price", 639997.0], ["high_price", 639997.99], ["created_at", "2016-05-30 10:12:53.082519"], ["updated_at", "2016-05-30 10:12:53.082519"]]
53154
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 14], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 161], ["volume", 647], ["low_price", 638997.81], ["avg_price", 638997.81], ["high_price", 639997.84], ["created_at", "2016-05-30 10:12:53.084485"], ["updated_at", "2016-05-30 10:12:53.084485"]]
53155
+ SQL (0.3ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 92], ["eve_item_id", 14], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 171], ["volume", 1256], ["low_price", 639996.0], ["avg_price", 639996.0], ["high_price", 639996.8], ["created_at", "2016-05-30 10:12:53.086167"], ["updated_at", "2016-05-30 10:12:53.086167"]]
53156
+  (0.7ms) COMMIT
53157
+  (0.4ms) BEGIN
53158
+  (3.0ms) SELECT "crest_price_histories"."day_timestamp" FROM "crest_price_histories" WHERE "crest_price_histories"."region_id" = $1 AND "crest_price_histories"."eve_item_id" = $2 [["region_id", 11], ["eve_item_id", 3]]
53159
+ SQL (1.4ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 11], ["eve_item_id", 3], ["day_timestamp", "20160525"], ["history_date", "2016-05-25 00:00:00.000000"], ["order_count", 1], ["volume", 1], ["low_price", 350000.0], ["avg_price", 350000.0], ["high_price", 350000.0], ["created_at", "2016-05-30 10:12:53.674984"], ["updated_at", "2016-05-30 10:12:53.674984"]]
53160
+ SQL (1.0ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 11], ["eve_item_id", 3], ["day_timestamp", "20160527"], ["history_date", "2016-05-27 00:00:00.000000"], ["order_count", 3], ["volume", 3], ["low_price", 262500.0], ["avg_price", 341666.67], ["high_price", 500000.0], ["created_at", "2016-05-30 10:12:53.679052"], ["updated_at", "2016-05-30 10:12:53.679052"]]
53161
+ SQL (0.7ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 11], ["eve_item_id", 3], ["day_timestamp", "20160528"], ["history_date", "2016-05-28 00:00:00.000000"], ["order_count", 1], ["volume", 3], ["low_price", 262500.0], ["avg_price", 262500.0], ["high_price", 262500.0], ["created_at", "2016-05-30 10:12:53.682337"], ["updated_at", "2016-05-30 10:12:53.682337"]]
53162
+ SQL (0.5ms) INSERT INTO "crest_price_histories" ("region_id", "eve_item_id", "day_timestamp", "history_date", "order_count", "volume", "low_price", "avg_price", "high_price", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["region_id", 11], ["eve_item_id", 3], ["day_timestamp", "20160529"], ["history_date", "2016-05-29 00:00:00.000000"], ["order_count", 2], ["volume", 2], ["low_price", 500000.0], ["avg_price", 500000.0], ["high_price", 500000.0], ["created_at", "2016-05-30 10:12:53.684764"], ["updated_at", "2016-05-30 10:12:53.684764"]]
53163
+  (0.9ms) COMMIT