pliable 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.bundle/install.log +1575 -0
- data/.document +3 -0
- data/.travis.yml +16 -0
- data/.yardopts +1 -0
- data/ChangeLog.md +4 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +134 -0
- data/LICENSE.txt +20 -0
- data/README.md +287 -0
- data/Rakefile +39 -0
- data/lib/generators/pliable/model_generator.rb +40 -0
- data/lib/generators/pliable/templates/migration.rb +24 -0
- data/lib/pliable/configure.rb +12 -0
- data/lib/pliable/ply.rb +89 -0
- data/lib/pliable/ply_relation.rb +4 -0
- data/lib/pliable/text_helper.rb +3 -0
- data/lib/pliable/version.rb +4 -0
- data/lib/pliable.rb +17 -0
- data/pliable.gemspec +35 -0
- data/spec/.DS_Store +0 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/models/.gitkeep +0 -0
- data/spec/dummy/app/models/invoice.rb +6 -0
- data/spec/dummy/app/models/line_item.rb +5 -0
- data/spec/dummy/app/models/merchandise.rb +5 -0
- data/spec/dummy/app/models/ply.rb +7 -0
- data/spec/dummy/config/application.rb +65 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +19 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/pliable.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +58 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/migrate/.DS_Store +0 -0
- data/spec/dummy/db/migrate/20140117210156_create_plies_and_ply_relations.rb +23 -0
- data/spec/dummy/db/migration_helper.rb +42 -0
- data/spec/dummy/db/schema.rb +39 -0
- data/spec/dummy/db/seeds.rb +17 -0
- data/spec/dummy/db/static/bottles.csv +201 -0
- data/spec/dummy/db/static/varietal_aliases.csv +433 -0
- data/spec/dummy/db/static/varietals.csv +295 -0
- data/spec/dummy/lib/assets/.gitkeep +0 -0
- data/spec/dummy/log/.gitkeep +0 -0
- data/spec/dummy/log/development.log +63 -0
- data/spec/dummy/log/test.log +2339 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/dummy/spec/fixtures/varietals.yml +2135 -0
- data/spec/dummy/spec/models/.DS_Store +0 -0
- data/spec/dummy/spec/models/fake_ply_test.rb +12 -0
- data/spec/dummy/spec/models/ply_relation_spec.rb +12 -0
- data/spec/dummy/spec/pliable_integartion_spec.rb +48 -0
- data/spec/dummy/spec/tmp/app/models/foo_alias.rb +4 -0
- data/spec/spec_helper.rb +36 -0
- data/sub +4 -0
- metadata +389 -0
@@ -0,0 +1,2339 @@
|
|
1
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2
|
+
[1m[35mSQL (10.6ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 05:51:34 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 05:51:34 UTC +00:00]]
|
3
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
4
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
5
|
+
[1m[35mSQL (5.6ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 05:51:52 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 05:51:52 UTC +00:00]]
|
6
|
+
[1m[36m (2.6ms)[0m [1mCOMMIT[0m
|
7
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
8
|
+
[1m[35mSQL (4.9ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 05:52:19 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 05:52:19 UTC +00:00]]
|
9
|
+
[1m[36m (2.8ms)[0m [1mCOMMIT[0m
|
10
|
+
[1m[35mPlyRelation Load (1.3ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 3]]
|
11
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
12
|
+
[1m[35mSQL (5.3ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:09:31 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:09:31 UTC +00:00]]
|
13
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
14
|
+
[1m[35m (0.1ms)[0m BEGIN
|
15
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:09:31 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:09:31 UTC +00:00]]
|
16
|
+
[1m[35m (0.8ms)[0m COMMIT
|
17
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
18
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "LineItem"], ["created_at", Tue, 21 Jan 2014 06:09:31 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice"], ["updated_at", Tue, 21 Jan 2014 06:09:31 UTC +00:00]]
|
19
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
20
|
+
[1m[35m (0.1ms)[0m BEGIN
|
21
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:09:31 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:09:31 UTC +00:00]]
|
22
|
+
[1m[35m (0.3ms)[0m COMMIT
|
23
|
+
[1m[36mPlyRelation Load (0.7ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 5]]
|
24
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
25
|
+
[1m[35mSQL (2.8ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:09:59 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:09:59 UTC +00:00]]
|
26
|
+
[1m[36m (2.2ms)[0m [1mCOMMIT[0m
|
27
|
+
[1m[35m (0.3ms)[0m BEGIN
|
28
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:09:59 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:09:59 UTC +00:00]]
|
29
|
+
[1m[35m (0.4ms)[0m COMMIT
|
30
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
31
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 4], ["child_type", "LineItem"], ["created_at", Tue, 21 Jan 2014 06:09:59 UTC +00:00], ["parent_id", 3], ["parent_type", "Invoice"], ["updated_at", Tue, 21 Jan 2014 06:09:59 UTC +00:00]]
|
32
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
33
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:09:59 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:09:59 UTC +00:00]]
|
35
|
+
[1m[35m (0.4ms)[0m COMMIT
|
36
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 7]]
|
37
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
38
|
+
[1m[35mSQL (3.1ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:11:13 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:11:13 UTC +00:00]]
|
39
|
+
[1m[36m (2.7ms)[0m [1mCOMMIT[0m
|
40
|
+
[1m[35m (0.3ms)[0m BEGIN
|
41
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:11:13 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:11:13 UTC +00:00]]
|
42
|
+
[1m[35m (0.6ms)[0m COMMIT
|
43
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
44
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 6], ["child_type", "LineItem"], ["created_at", Tue, 21 Jan 2014 06:11:13 UTC +00:00], ["parent_id", 5], ["parent_type", "Invoice"], ["updated_at", Tue, 21 Jan 2014 06:11:13 UTC +00:00]]
|
45
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
46
|
+
[1m[35m (0.1ms)[0m BEGIN
|
47
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:11:13 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:11:13 UTC +00:00]]
|
48
|
+
[1m[35m (0.3ms)[0m COMMIT
|
49
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 9]]
|
50
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
51
|
+
[1m[35mSQL (2.8ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:11:47 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:11:47 UTC +00:00]]
|
52
|
+
[1m[36m (2.3ms)[0m [1mCOMMIT[0m
|
53
|
+
[1m[35m (0.3ms)[0m BEGIN
|
54
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:11:47 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:11:47 UTC +00:00]]
|
55
|
+
[1m[35m (0.4ms)[0m COMMIT
|
56
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
57
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 8], ["child_type", "LineItem"], ["created_at", Tue, 21 Jan 2014 06:11:47 UTC +00:00], ["parent_id", 7], ["parent_type", "Invoice"], ["updated_at", Tue, 21 Jan 2014 06:11:47 UTC +00:00]]
|
58
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
59
|
+
[1m[35mPliable::Ply Load (1.9ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 7]]
|
60
|
+
[1m[36m (0.7ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 8]]
|
61
|
+
[1m[35m (0.5ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 8]]
|
62
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
63
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:11:47 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:11:47 UTC +00:00]]
|
64
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
65
|
+
[1m[35mPlyRelation Load (0.7ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 11]]
|
66
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
67
|
+
[1m[35mSQL (3.5ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:12:16 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:12:16 UTC +00:00]]
|
68
|
+
[1m[36m (2.2ms)[0m [1mCOMMIT[0m
|
69
|
+
[1m[35m (0.2ms)[0m BEGIN
|
70
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:12:16 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:12:16 UTC +00:00]]
|
71
|
+
[1m[35m (0.5ms)[0m COMMIT
|
72
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
73
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 10], ["child_type", "LineItem"], ["created_at", Tue, 21 Jan 2014 06:12:16 UTC +00:00], ["parent_id", 9], ["parent_type", "Invoice"], ["updated_at", Tue, 21 Jan 2014 06:12:16 UTC +00:00]]
|
74
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
75
|
+
[1m[35mPliable::Ply Load (1.4ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 9]]
|
76
|
+
[1m[36m (0.7ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 10]]
|
77
|
+
[1m[35m (0.5ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 10]]
|
78
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
79
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:12:16 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:12:16 UTC +00:00]]
|
80
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
81
|
+
[1m[35mPlyRelation Load (0.5ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 13]]
|
82
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
83
|
+
[1m[35mSQL (2.8ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:12:34 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:12:34 UTC +00:00]]
|
84
|
+
[1m[36m (2.1ms)[0m [1mCOMMIT[0m
|
85
|
+
[1m[35m (0.3ms)[0m BEGIN
|
86
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:12:34 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:12:34 UTC +00:00]]
|
87
|
+
[1m[35m (0.6ms)[0m COMMIT
|
88
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
89
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 12], ["child_type", "LineItem"], ["created_at", Tue, 21 Jan 2014 06:12:34 UTC +00:00], ["parent_id", 11], ["parent_type", "Invoice"], ["updated_at", Tue, 21 Jan 2014 06:12:34 UTC +00:00]]
|
90
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
91
|
+
[1m[35mPliable::Ply Load (1.5ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 11]]
|
92
|
+
[1m[36m (0.7ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 12]]
|
93
|
+
[1m[35m (0.8ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 12]]
|
94
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
95
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:12:35 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:12:35 UTC +00:00]]
|
96
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
97
|
+
[1m[35mPlyRelation Load (0.7ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 15]]
|
98
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
99
|
+
[1m[35mSQL (2.9ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:15:07 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:15:07 UTC +00:00]]
|
100
|
+
[1m[36m (2.4ms)[0m [1mCOMMIT[0m
|
101
|
+
[1m[35m (0.2ms)[0m BEGIN
|
102
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:15:07 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:15:07 UTC +00:00]]
|
103
|
+
[1m[35m (0.5ms)[0m COMMIT
|
104
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
105
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 14], ["child_type", "LineItem"], ["created_at", Tue, 21 Jan 2014 06:15:07 UTC +00:00], ["parent_id", 13], ["parent_type", "Invoice"], ["updated_at", Tue, 21 Jan 2014 06:15:07 UTC +00:00]]
|
106
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
107
|
+
[1m[35mPliable::Ply Load (1.6ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 13]]
|
108
|
+
[1m[36m (0.6ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 14]]
|
109
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 14]]
|
110
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
111
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:15:07 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:15:07 UTC +00:00]]
|
112
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
113
|
+
[1m[35mPlyRelation Load (0.6ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 17]]
|
114
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
115
|
+
[1m[35mSQL (3.5ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:15:29 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:15:29 UTC +00:00]]
|
116
|
+
[1m[36m (2.6ms)[0m [1mCOMMIT[0m
|
117
|
+
[1m[35m (0.4ms)[0m BEGIN
|
118
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:15:29 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:15:29 UTC +00:00]]
|
119
|
+
[1m[35m (0.4ms)[0m COMMIT
|
120
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
121
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 16], ["child_type", "LineItem"], ["created_at", Tue, 21 Jan 2014 06:15:29 UTC +00:00], ["parent_id", 15], ["parent_type", "Invoice"], ["updated_at", Tue, 21 Jan 2014 06:15:29 UTC +00:00]]
|
122
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
123
|
+
[1m[35m (0.1ms)[0m BEGIN
|
124
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:15:29 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:15:29 UTC +00:00]]
|
125
|
+
[1m[35m (0.3ms)[0m COMMIT
|
126
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 19]]
|
127
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
128
|
+
[1m[35mSQL (2.8ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:15:43 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:15:43 UTC +00:00]]
|
129
|
+
[1m[36m (2.8ms)[0m [1mCOMMIT[0m
|
130
|
+
[1m[35m (0.3ms)[0m BEGIN
|
131
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:15:43 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:15:43 UTC +00:00]]
|
132
|
+
[1m[35m (0.5ms)[0m COMMIT
|
133
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
134
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 18], ["child_type", "LineItem"], ["created_at", Tue, 21 Jan 2014 06:15:43 UTC +00:00], ["parent_id", 17], ["parent_type", "Invoice"], ["updated_at", Tue, 21 Jan 2014 06:15:43 UTC +00:00]]
|
135
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
136
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:15:43 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:15:43 UTC +00:00]]
|
138
|
+
[1m[35m (0.3ms)[0m COMMIT
|
139
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 21]]
|
140
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
141
|
+
[1m[35mSQL (3.5ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:16:12 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:16:12 UTC +00:00]]
|
142
|
+
[1m[36m (2.5ms)[0m [1mCOMMIT[0m
|
143
|
+
[1m[35m (0.2ms)[0m BEGIN
|
144
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:16:12 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:16:12 UTC +00:00]]
|
145
|
+
[1m[35m (0.6ms)[0m COMMIT
|
146
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
147
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 20], ["child_type", "Line_Item"], ["created_at", Tue, 21 Jan 2014 06:16:12 UTC +00:00], ["parent_id", 19], ["parent_type", "Invoice"], ["updated_at", Tue, 21 Jan 2014 06:16:12 UTC +00:00]]
|
148
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
149
|
+
[1m[35m (0.1ms)[0m BEGIN
|
150
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:16:12 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:16:12 UTC +00:00]]
|
151
|
+
[1m[35m (0.3ms)[0m COMMIT
|
152
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 23]]
|
153
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
154
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:16:25 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:16:25 UTC +00:00]]
|
155
|
+
[1m[36m (0.9ms)[0m [1mCOMMIT[0m
|
156
|
+
[1m[35m (0.1ms)[0m BEGIN
|
157
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:16:25 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:16:25 UTC +00:00]]
|
158
|
+
[1m[35m (0.4ms)[0m COMMIT
|
159
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
160
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 22], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:16:25 UTC +00:00], ["parent_id", 21], ["parent_type", "Invoice"], ["updated_at", Tue, 21 Jan 2014 06:16:25 UTC +00:00]]
|
161
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
162
|
+
[1m[35m (0.1ms)[0m BEGIN
|
163
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:16:25 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:16:25 UTC +00:00]]
|
164
|
+
[1m[35m (0.3ms)[0m COMMIT
|
165
|
+
[1m[36mPlyRelation Load (0.6ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 25]]
|
166
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
167
|
+
[1m[35mSQL (2.9ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:18:53 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:18:53 UTC +00:00]]
|
168
|
+
[1m[36m (2.7ms)[0m [1mCOMMIT[0m
|
169
|
+
[1m[35m (0.2ms)[0m BEGIN
|
170
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:18:53 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:18:53 UTC +00:00]]
|
171
|
+
[1m[35m (0.6ms)[0m COMMIT
|
172
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
173
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 24], ["child_type", "Line_Item"], ["created_at", Tue, 21 Jan 2014 06:18:53 UTC +00:00], ["parent_id", 23], ["parent_type", "Invoice"], ["updated_at", Tue, 21 Jan 2014 06:18:53 UTC +00:00]]
|
174
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
175
|
+
[1m[35m (0.1ms)[0m BEGIN
|
176
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:18:53 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:18:53 UTC +00:00]]
|
177
|
+
[1m[35m (0.4ms)[0m COMMIT
|
178
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 27]]
|
179
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
180
|
+
[1m[35mSQL (3.5ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:19:18 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:19:18 UTC +00:00]]
|
181
|
+
[1m[36m (2.4ms)[0m [1mCOMMIT[0m
|
182
|
+
[1m[35m (0.4ms)[0m BEGIN
|
183
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:19:18 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:19:18 UTC +00:00]]
|
184
|
+
[1m[35m (0.4ms)[0m COMMIT
|
185
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
186
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 26], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:19:18 UTC +00:00], ["parent_id", 25], ["parent_type", "Invoice"], ["updated_at", Tue, 21 Jan 2014 06:19:18 UTC +00:00]]
|
187
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
188
|
+
[1m[35m (0.1ms)[0m BEGIN
|
189
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:19:18 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:19:18 UTC +00:00]]
|
190
|
+
[1m[35m (0.3ms)[0m COMMIT
|
191
|
+
[1m[36mPlyRelation Load (0.7ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 29]]
|
192
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
193
|
+
[1m[35mSQL (4.5ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:19:33 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:19:33 UTC +00:00]]
|
194
|
+
[1m[36m (2.0ms)[0m [1mCOMMIT[0m
|
195
|
+
[1m[35m (0.2ms)[0m BEGIN
|
196
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:19:33 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:19:33 UTC +00:00]]
|
197
|
+
[1m[35m (0.5ms)[0m COMMIT
|
198
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
199
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 28], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:19:33 UTC +00:00], ["parent_id", 27], ["parent_type", "Invoice"], ["updated_at", Tue, 21 Jan 2014 06:19:33 UTC +00:00]]
|
200
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
201
|
+
[1m[35m (0.1ms)[0m BEGIN
|
202
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:19:33 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:19:33 UTC +00:00]]
|
203
|
+
[1m[35m (0.3ms)[0m COMMIT
|
204
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 31]]
|
205
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
206
|
+
[1m[35mSQL (3.3ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:20:07 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:20:07 UTC +00:00]]
|
207
|
+
[1m[36m (2.1ms)[0m [1mCOMMIT[0m
|
208
|
+
[1m[35mPlyRelation Load (0.8ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 32]]
|
209
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
210
|
+
[1m[35mSQL (3.3ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:21:52 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:21:52 UTC +00:00]]
|
211
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
212
|
+
[1m[35m (0.1ms)[0m BEGIN
|
213
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:21:52 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:21:52 UTC +00:00]]
|
214
|
+
[1m[35m (0.5ms)[0m COMMIT
|
215
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
216
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 30], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:21:52 UTC +00:00], ["parent_id", 29], ["parent_type", "Invoice"], ["updated_at", Tue, 21 Jan 2014 06:21:52 UTC +00:00]]
|
217
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
218
|
+
[1m[35m (0.2ms)[0m BEGIN
|
219
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:21:52 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:21:52 UTC +00:00]]
|
220
|
+
[1m[35m (0.3ms)[0m COMMIT
|
221
|
+
[1m[36mPlyRelation Load (0.9ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 34]]
|
222
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
223
|
+
[1m[35mSQL (2.8ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:24:57 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:24:57 UTC +00:00]]
|
224
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
225
|
+
[1m[35m (0.1ms)[0m BEGIN
|
226
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:24:57 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:24:57 UTC +00:00]]
|
227
|
+
[1m[35m (0.3ms)[0m COMMIT
|
228
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
229
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 32], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:24:57 UTC +00:00], ["parent_id", 31], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:24:57 UTC +00:00]]
|
230
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
231
|
+
[1m[35m (0.2ms)[0m BEGIN
|
232
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:24:57 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:24:57 UTC +00:00]]
|
233
|
+
[1m[35m (0.4ms)[0m COMMIT
|
234
|
+
[1m[36mPlyRelation Load (0.9ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 36]]
|
235
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
236
|
+
[1m[35mSQL (2.9ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:25:33 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:25:33 UTC +00:00]]
|
237
|
+
[1m[36m (2.4ms)[0m [1mCOMMIT[0m
|
238
|
+
[1m[35m (0.4ms)[0m BEGIN
|
239
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:25:33 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:25:33 UTC +00:00]]
|
240
|
+
[1m[35m (0.5ms)[0m COMMIT
|
241
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
242
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 34], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:25:33 UTC +00:00], ["parent_id", 33], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:25:33 UTC +00:00]]
|
243
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
244
|
+
[1m[35mPlyRelation Load (0.8ms)[0m SELECT "ply_relations".* FROM "ply_relations" ORDER BY "ply_relations"."id" DESC LIMIT 1
|
245
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
246
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:25:56 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:25:56 UTC +00:00]]
|
247
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
248
|
+
[1m[35mPlyRelation Load (0.7ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 38]]
|
249
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
250
|
+
[1m[35mSQL (3.1ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:26:09 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:26:09 UTC +00:00]]
|
251
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
252
|
+
[1m[35m (0.1ms)[0m BEGIN
|
253
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:26:09 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:26:09 UTC +00:00]]
|
254
|
+
[1m[35m (0.4ms)[0m COMMIT
|
255
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
256
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 36], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:26:09 UTC +00:00], ["parent_id", 35], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:26:09 UTC +00:00]]
|
257
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
258
|
+
[1m[35mInvoice Load (2.2ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."id" = $1 LIMIT 1 [["id", 35]]
|
259
|
+
[1m[36m (1.1ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 35]]
|
260
|
+
[1m[35m (0.5ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 35]]
|
261
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
262
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:26:11 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:26:11 UTC +00:00]]
|
263
|
+
[1m[36m (1.5ms)[0m [1mCOMMIT[0m
|
264
|
+
[1m[35mPlyRelation Load (0.7ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 40]]
|
265
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
266
|
+
[1m[35mSQL (3.7ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:26:35 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:26:35 UTC +00:00]]
|
267
|
+
[1m[36m (1.6ms)[0m [1mCOMMIT[0m
|
268
|
+
[1m[35m (0.2ms)[0m BEGIN
|
269
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:26:35 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:26:35 UTC +00:00]]
|
270
|
+
[1m[35m (0.5ms)[0m COMMIT
|
271
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
272
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 38], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:26:35 UTC +00:00], ["parent_id", 37], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:26:35 UTC +00:00]]
|
273
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
274
|
+
[1m[35mPliable::Ply Load (1.5ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 37]]
|
275
|
+
[1m[36m (0.7ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 38]]
|
276
|
+
[1m[35m (0.5ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 38]]
|
277
|
+
[1m[36mInvoice Load (4.5ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' ORDER BY "plies"."id" DESC LIMIT 1[0m
|
278
|
+
[1m[35mInvoice Load (0.7ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' ORDER BY "plies"."id" DESC LIMIT 1
|
279
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
280
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:28:11 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:28:11 UTC +00:00]]
|
281
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
282
|
+
[1m[35mPlyRelation Load (0.6ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 42]]
|
283
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
284
|
+
[1m[35mSQL (4.0ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:28:43 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:28:43 UTC +00:00]]
|
285
|
+
[1m[36m (2.9ms)[0m [1mCOMMIT[0m
|
286
|
+
[1m[35m (0.3ms)[0m BEGIN
|
287
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:28:43 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:28:43 UTC +00:00]]
|
288
|
+
[1m[35m (0.6ms)[0m COMMIT
|
289
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
290
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 40], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:28:43 UTC +00:00], ["parent_id", 39], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:28:43 UTC +00:00]]
|
291
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
292
|
+
[1m[35mInvoice Load (2.2ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' ORDER BY "plies"."id" DESC LIMIT 1
|
293
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
294
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:29:48 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:29:48 UTC +00:00]]
|
295
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
296
|
+
[1m[35mPlyRelation Load (0.7ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 44]]
|
297
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
298
|
+
[1m[35mSQL (4.5ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:29:57 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:29:57 UTC +00:00]]
|
299
|
+
[1m[36m (2.8ms)[0m [1mCOMMIT[0m
|
300
|
+
[1m[35m (0.3ms)[0m BEGIN
|
301
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:29:57 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:29:57 UTC +00:00]]
|
302
|
+
[1m[35m (0.4ms)[0m COMMIT
|
303
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
304
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 42], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:29:57 UTC +00:00], ["parent_id", 41], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:29:57 UTC +00:00]]
|
305
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
306
|
+
[1m[35m (0.1ms)[0m BEGIN
|
307
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:29:57 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:29:57 UTC +00:00]]
|
308
|
+
[1m[35m (0.4ms)[0m COMMIT
|
309
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 46]]
|
310
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
311
|
+
[1m[35mSQL (2.9ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:31:03 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:31:03 UTC +00:00]]
|
312
|
+
[1m[36m (2.5ms)[0m [1mCOMMIT[0m
|
313
|
+
[1m[35m (0.2ms)[0m BEGIN
|
314
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:31:03 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:31:03 UTC +00:00]]
|
315
|
+
[1m[35m (0.5ms)[0m COMMIT
|
316
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
317
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 44], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:31:03 UTC +00:00], ["parent_id", 43], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:31:03 UTC +00:00]]
|
318
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
319
|
+
[1m[35mPlyRelation Load (1.0ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 43]]
|
320
|
+
[1m[36mPliable::Ply Load (1.4ms)[0m [1mSELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 43]]
|
321
|
+
[1m[35m (0.7ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 44]]
|
322
|
+
[1m[36m (0.5ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 44]]
|
323
|
+
[1m[35m (0.2ms)[0m BEGIN
|
324
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:32:02 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:32:02 UTC +00:00]]
|
325
|
+
[1m[35m (0.4ms)[0m COMMIT
|
326
|
+
[1m[36mPlyRelation Load (0.7ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 48]]
|
327
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
328
|
+
[1m[35mSQL (2.9ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:32:33 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:32:33 UTC +00:00]]
|
329
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
330
|
+
[1m[35m (0.2ms)[0m BEGIN
|
331
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:32:33 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:32:33 UTC +00:00]]
|
332
|
+
[1m[35m (0.4ms)[0m COMMIT
|
333
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
334
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 46], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:32:33 UTC +00:00], ["parent_id", 45], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:32:33 UTC +00:00]]
|
335
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
336
|
+
[1m[35m (0.2ms)[0m BEGIN
|
337
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:33:38 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:33:38 UTC +00:00]]
|
338
|
+
[1m[35m (0.4ms)[0m COMMIT
|
339
|
+
[1m[36mPlyRelation Load (0.9ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 50]]
|
340
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
341
|
+
[1m[35mSQL (2.9ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:33:42 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:33:42 UTC +00:00]]
|
342
|
+
[1m[36m (2.2ms)[0m [1mCOMMIT[0m
|
343
|
+
[1m[35m (0.2ms)[0m BEGIN
|
344
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:33:42 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:33:42 UTC +00:00]]
|
345
|
+
[1m[35m (0.6ms)[0m COMMIT
|
346
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
347
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 48], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:33:42 UTC +00:00], ["parent_id", 47], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:33:42 UTC +00:00]]
|
348
|
+
[1m[36m (0.8ms)[0m [1mCOMMIT[0m
|
349
|
+
[1m[35mPlyRelation Load (1.1ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 47]]
|
350
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
351
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:33:44 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:33:44 UTC +00:00]]
|
352
|
+
[1m[36m (2.0ms)[0m [1mCOMMIT[0m
|
353
|
+
[1m[35mPlyRelation Load (1.1ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 52]]
|
354
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
355
|
+
[1m[35mSQL (3.4ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:33:56 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:33:56 UTC +00:00]]
|
356
|
+
[1m[36m (2.3ms)[0m [1mCOMMIT[0m
|
357
|
+
[1m[35m (0.2ms)[0m BEGIN
|
358
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:33:56 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:33:56 UTC +00:00]]
|
359
|
+
[1m[35m (0.6ms)[0m COMMIT
|
360
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
361
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 50], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:33:56 UTC +00:00], ["parent_id", 49], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:33:56 UTC +00:00]]
|
362
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
363
|
+
[1m[35mPlyRelation Load (0.6ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 49]]
|
364
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
365
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:33:56 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:33:56 UTC +00:00]]
|
366
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
367
|
+
[1m[35mPlyRelation Load (0.6ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 54]]
|
368
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
369
|
+
[1m[35mSQL (3.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:34:27 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:34:27 UTC +00:00]]
|
370
|
+
[1m[36m (2.6ms)[0m [1mCOMMIT[0m
|
371
|
+
[1m[35m (0.3ms)[0m BEGIN
|
372
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:34:27 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:34:27 UTC +00:00]]
|
373
|
+
[1m[35m (0.5ms)[0m COMMIT
|
374
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
375
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 52], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:34:27 UTC +00:00], ["parent_id", 51], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:34:27 UTC +00:00]]
|
376
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
377
|
+
[1m[35mPliable::Ply Load (1.9ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 51]]
|
378
|
+
[1m[36m (1.0ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 52]]
|
379
|
+
[1m[35m (0.8ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 52]]
|
380
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
381
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:34:27 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:34:27 UTC +00:00]]
|
382
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
383
|
+
[1m[35mPlyRelation Load (0.7ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 56]]
|
384
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
385
|
+
[1m[35mSQL (3.7ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:35:12 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:35:12 UTC +00:00]]
|
386
|
+
[1m[36m (2.2ms)[0m [1mCOMMIT[0m
|
387
|
+
[1m[35m (0.3ms)[0m BEGIN
|
388
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:35:12 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:35:12 UTC +00:00]]
|
389
|
+
[1m[35m (0.6ms)[0m COMMIT
|
390
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
391
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 54], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:35:12 UTC +00:00], ["parent_id", 53], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:35:12 UTC +00:00]]
|
392
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
393
|
+
[1m[35m (0.1ms)[0m BEGIN
|
394
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:35:12 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:35:12 UTC +00:00]]
|
395
|
+
[1m[35m (0.3ms)[0m COMMIT
|
396
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 58]]
|
397
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
398
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:35:23 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:35:23 UTC +00:00]]
|
399
|
+
[1m[36m (2.1ms)[0m [1mCOMMIT[0m
|
400
|
+
[1m[35m (0.3ms)[0m BEGIN
|
401
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:35:23 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:35:23 UTC +00:00]]
|
402
|
+
[1m[35m (0.4ms)[0m COMMIT
|
403
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
404
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 56], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:35:23 UTC +00:00], ["parent_id", 55], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:35:23 UTC +00:00]]
|
405
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
406
|
+
[1m[35mPliable::Ply Load (1.5ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 55]]
|
407
|
+
[1m[36m (0.8ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 56]]
|
408
|
+
[1m[35m (0.5ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 56]]
|
409
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
410
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:35:23 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:35:23 UTC +00:00]]
|
411
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
412
|
+
[1m[35mPlyRelation Load (0.7ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 60]]
|
413
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
414
|
+
[1m[35mSQL (3.4ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:36:03 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:36:03 UTC +00:00]]
|
415
|
+
[1m[36m (2.9ms)[0m [1mCOMMIT[0m
|
416
|
+
[1m[35m (0.3ms)[0m BEGIN
|
417
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:36:03 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:36:03 UTC +00:00]]
|
418
|
+
[1m[35m (0.5ms)[0m COMMIT
|
419
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
420
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 58], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:36:03 UTC +00:00], ["parent_id", 57], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:36:03 UTC +00:00]]
|
421
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
422
|
+
[1m[35m (0.9ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 57]]
|
423
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
424
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:36:03 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:36:03 UTC +00:00]]
|
425
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
426
|
+
[1m[35mPlyRelation Load (0.8ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 62]]
|
427
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
428
|
+
[1m[35mSQL (3.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:36:39 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:36:39 UTC +00:00]]
|
429
|
+
[1m[36m (2.5ms)[0m [1mCOMMIT[0m
|
430
|
+
[1m[35m (0.2ms)[0m BEGIN
|
431
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:36:39 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:36:39 UTC +00:00]]
|
432
|
+
[1m[35m (0.6ms)[0m COMMIT
|
433
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
434
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 60], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:36:39 UTC +00:00], ["parent_id", 59], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:36:39 UTC +00:00]]
|
435
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
436
|
+
[1m[35m (0.9ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 59]]
|
437
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
438
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:36:39 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:36:39 UTC +00:00]]
|
439
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
440
|
+
[1m[35mPlyRelation Load (0.7ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 64]]
|
441
|
+
[1m[36m (15.8ms)[0m [1mBEGIN[0m
|
442
|
+
[1m[35mSQL (19.9ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:38:02 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:38:02 UTC +00:00]]
|
443
|
+
[1m[36m (8.0ms)[0m [1mCOMMIT[0m
|
444
|
+
[1m[35m (0.2ms)[0m BEGIN
|
445
|
+
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:38:02 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:38:02 UTC +00:00]]
|
446
|
+
[1m[35m (0.5ms)[0m COMMIT
|
447
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
448
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 62], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:38:02 UTC +00:00], ["parent_id", 61], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:38:02 UTC +00:00]]
|
449
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
450
|
+
[1m[35m (1.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 61]]
|
451
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
452
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:38:02 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:38:02 UTC +00:00]]
|
453
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
454
|
+
[1m[35mPlyRelation Load (0.8ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 66]]
|
455
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
456
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:38:07 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:38:07 UTC +00:00]]
|
457
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
458
|
+
[1m[35m (0.2ms)[0m BEGIN
|
459
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:38:07 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:38:07 UTC +00:00]]
|
460
|
+
[1m[35m (0.4ms)[0m COMMIT
|
461
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
462
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 64], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:38:07 UTC +00:00], ["parent_id", 63], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:38:07 UTC +00:00]]
|
463
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
464
|
+
[1m[35mInvoice Load (1.3ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."id" = $1 LIMIT 1 [["id", 63]]
|
465
|
+
[1m[36m (1.0ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 63]]
|
466
|
+
[1m[35m (0.5ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 63]]
|
467
|
+
[1m[36m (0.6ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 63]]
|
468
|
+
[1m[35m (0.2ms)[0m BEGIN
|
469
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:38:07 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:38:07 UTC +00:00]]
|
470
|
+
[1m[35m (0.4ms)[0m COMMIT
|
471
|
+
[1m[36mPlyRelation Load (0.7ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 68]]
|
472
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
473
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:38:24 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:38:24 UTC +00:00]]
|
474
|
+
[1m[36m (2.2ms)[0m [1mCOMMIT[0m
|
475
|
+
[1m[35m (0.3ms)[0m BEGIN
|
476
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:38:24 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:38:24 UTC +00:00]]
|
477
|
+
[1m[35m (0.6ms)[0m COMMIT
|
478
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
479
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 66], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:38:24 UTC +00:00], ["parent_id", 65], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:38:24 UTC +00:00]]
|
480
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
481
|
+
[1m[35mInvoice Load (1.3ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."id" = $1 LIMIT 1 [["id", 65]]
|
482
|
+
[1m[36m (0.8ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 65]]
|
483
|
+
[1m[35m (0.7ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 65]]
|
484
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
485
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:38:24 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:38:24 UTC +00:00]]
|
486
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
487
|
+
[1m[35mPlyRelation Load (0.7ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 70]]
|
488
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
489
|
+
[1m[35mSQL (3.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:38:55 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:38:55 UTC +00:00]]
|
490
|
+
[1m[36m (3.1ms)[0m [1mCOMMIT[0m
|
491
|
+
[1m[35m (0.4ms)[0m BEGIN
|
492
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:38:55 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:38:55 UTC +00:00]]
|
493
|
+
[1m[35m (1.1ms)[0m COMMIT
|
494
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
495
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 68], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:38:55 UTC +00:00], ["parent_id", 67], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:38:55 UTC +00:00]]
|
496
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
497
|
+
[1m[35mInvoice Load (1.0ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' ORDER BY "plies"."id" DESC LIMIT 1
|
498
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
499
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:38:55 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:38:55 UTC +00:00]]
|
500
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
501
|
+
[1m[35mPlyRelation Load (0.7ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 72]]
|
502
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
503
|
+
[1m[35mSQL (3.7ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:39:12 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:39:12 UTC +00:00]]
|
504
|
+
[1m[36m (2.2ms)[0m [1mCOMMIT[0m
|
505
|
+
[1m[35m (0.3ms)[0m BEGIN
|
506
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:39:12 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:39:12 UTC +00:00]]
|
507
|
+
[1m[35m (0.4ms)[0m COMMIT
|
508
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
509
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 70], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:39:12 UTC +00:00], ["parent_id", 69], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:39:12 UTC +00:00]]
|
510
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
511
|
+
[1m[35mInvoice Load (1.0ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' ORDER BY "plies"."id" DESC LIMIT 1
|
512
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
513
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:39:12 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:39:12 UTC +00:00]]
|
514
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
515
|
+
[1m[35mPlyRelation Load (0.6ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 74]]
|
516
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
517
|
+
[1m[35mSQL (3.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:39:30 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:39:30 UTC +00:00]]
|
518
|
+
[1m[36m (2.8ms)[0m [1mCOMMIT[0m
|
519
|
+
[1m[35m (0.5ms)[0m BEGIN
|
520
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:39:30 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:39:30 UTC +00:00]]
|
521
|
+
[1m[35m (0.4ms)[0m COMMIT
|
522
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
523
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 72], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:39:30 UTC +00:00], ["parent_id", 71], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:39:30 UTC +00:00]]
|
524
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
525
|
+
[1m[35mLineItem Load (2.0ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' ORDER BY "plies"."id" DESC LIMIT 1
|
526
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' ORDER BY "plies"."id" DESC LIMIT 1[0m
|
527
|
+
[1m[35mInvoice Load (0.8ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' AND "plies"."id" = 1
|
528
|
+
PG::UndefinedTable: ERROR: relation "plies" does not exist
|
529
|
+
LINE 5: WHERE a.attrelid = '"plies"'::regclass
|
530
|
+
^
|
531
|
+
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
|
532
|
+
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
|
533
|
+
FROM pg_attribute a LEFT JOIN pg_attrdef d
|
534
|
+
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
|
535
|
+
WHERE a.attrelid = '"plies"'::regclass
|
536
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
537
|
+
ORDER BY a.attnum
|
538
|
+
|
539
|
+
PG::UndefinedTable: ERROR: relation "ply_relations" does not exist
|
540
|
+
LINE 5: WHERE a.attrelid = '"ply_relations"'::regclas...
|
541
|
+
^
|
542
|
+
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
|
543
|
+
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
|
544
|
+
FROM pg_attribute a LEFT JOIN pg_attrdef d
|
545
|
+
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
|
546
|
+
WHERE a.attrelid = '"ply_relations"'::regclass
|
547
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
548
|
+
ORDER BY a.attnum
|
549
|
+
|
550
|
+
PG::UndefinedTable: ERROR: relation "plies" does not exist
|
551
|
+
LINE 5: WHERE a.attrelid = '"plies"'::regclass
|
552
|
+
^
|
553
|
+
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
|
554
|
+
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
|
555
|
+
FROM pg_attribute a LEFT JOIN pg_attrdef d
|
556
|
+
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
|
557
|
+
WHERE a.attrelid = '"plies"'::regclass
|
558
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
559
|
+
ORDER BY a.attnum
|
560
|
+
|
561
|
+
PG::UndefinedTable: ERROR: relation "ply_relations" does not exist
|
562
|
+
LINE 5: WHERE a.attrelid = '"ply_relations"'::regclas...
|
563
|
+
^
|
564
|
+
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
|
565
|
+
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
|
566
|
+
FROM pg_attribute a LEFT JOIN pg_attrdef d
|
567
|
+
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
|
568
|
+
WHERE a.attrelid = '"ply_relations"'::regclass
|
569
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
570
|
+
ORDER BY a.attnum
|
571
|
+
|
572
|
+
PG::UndefinedTable: ERROR: relation "plies" does not exist
|
573
|
+
LINE 5: WHERE a.attrelid = '"plies"'::regclass
|
574
|
+
^
|
575
|
+
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
|
576
|
+
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
|
577
|
+
FROM pg_attribute a LEFT JOIN pg_attrdef d
|
578
|
+
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
|
579
|
+
WHERE a.attrelid = '"plies"'::regclass
|
580
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
581
|
+
ORDER BY a.attnum
|
582
|
+
|
583
|
+
PG::UndefinedTable: ERROR: relation "ply_relations" does not exist
|
584
|
+
LINE 5: WHERE a.attrelid = '"ply_relations"'::regclas...
|
585
|
+
^
|
586
|
+
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
|
587
|
+
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
|
588
|
+
FROM pg_attribute a LEFT JOIN pg_attrdef d
|
589
|
+
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
|
590
|
+
WHERE a.attrelid = '"ply_relations"'::regclass
|
591
|
+
AND a.attnum > 0 AND NOT a.attisdropped
|
592
|
+
ORDER BY a.attnum
|
593
|
+
|
594
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
595
|
+
[1m[35mSQL (3.3ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:53:12 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:53:12 UTC +00:00]]
|
596
|
+
[1m[36m (1.6ms)[0m [1mCOMMIT[0m
|
597
|
+
[1m[35mPlyRelation Load (1.1ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 1]]
|
598
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
599
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:53:42 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:53:42 UTC +00:00]]
|
600
|
+
[1m[36m (0.8ms)[0m [1mCOMMIT[0m
|
601
|
+
[1m[35m (0.1ms)[0m BEGIN
|
602
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:53:42 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:53:42 UTC +00:00]]
|
603
|
+
[1m[35m (0.4ms)[0m COMMIT
|
604
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
605
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:53:42 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:53:42 UTC +00:00]]
|
606
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
607
|
+
[1m[35mInvoice Load (0.9ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' ORDER BY "plies"."id" DESC LIMIT 1
|
608
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
609
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:53:42 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:53:42 UTC +00:00]]
|
610
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
611
|
+
[1m[35mPlyRelation Load (0.7ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 3]]
|
612
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
613
|
+
[1m[35mSQL (3.7ms)[0m INSERT INTO "ply_relations" ("child_type", "created_at", "parent_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:54:48 UTC +00:00], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:54:48 UTC +00:00]]
|
614
|
+
[1m[36m (2.3ms)[0m [1mCOMMIT[0m
|
615
|
+
[1m[35m (0.1ms)[0m BEGIN
|
616
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:54:48 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:54:48 UTC +00:00]]
|
617
|
+
[1m[35m (0.5ms)[0m COMMIT
|
618
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
619
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:54:48 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:54:48 UTC +00:00]]
|
620
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
621
|
+
[1m[35m (0.1ms)[0m BEGIN
|
622
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:54:48 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:54:48 UTC +00:00]]
|
623
|
+
[1m[35m (0.3ms)[0m COMMIT
|
624
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 5]]
|
625
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
626
|
+
[1m[35mSQL (4.1ms)[0m INSERT INTO "ply_relations" ("child_type", "created_at", "parent_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:55:02 UTC +00:00], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:55:02 UTC +00:00]]
|
627
|
+
[1m[36m (2.3ms)[0m [1mCOMMIT[0m
|
628
|
+
[1m[35m (0.1ms)[0m BEGIN
|
629
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:55:02 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:55:02 UTC +00:00]]
|
630
|
+
[1m[35m (0.5ms)[0m COMMIT
|
631
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
632
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:55:02 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:55:02 UTC +00:00]]
|
633
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
634
|
+
[1m[35mPliable::Ply Load (0.9ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 6]]
|
635
|
+
[1m[36mPliable::Ply Load (0.9ms)[0m [1mSELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 5]]
|
636
|
+
[1m[35mPlyRelation Load (0.8ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 5]]
|
637
|
+
[1m[36mInvoice Load (1.0ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."id" = $1 LIMIT 1[0m [["id", 5]]
|
638
|
+
[1m[35m (0.7ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 5]]
|
639
|
+
[1m[36m (0.5ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 5]]
|
640
|
+
[1m[35mInvoice Load (0.6ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."id" = $1 LIMIT 1 [["id", 5]]
|
641
|
+
[1m[36m (0.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 5]]
|
642
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 5]]
|
643
|
+
[1m[36mPliable::Ply Load (0.5ms)[0m [1mSELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 5]]
|
644
|
+
[1m[35mPlyRelation Load (0.8ms)[0m SELECT "ply_relations".* FROM "ply_relations" ORDER BY "ply_relations"."id" DESC LIMIT 1
|
645
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
646
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:56:30 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:56:30 UTC +00:00]]
|
647
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
648
|
+
[1m[35mPlyRelation Load (0.6ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 7]]
|
649
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
650
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:56:34 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:56:34 UTC +00:00]]
|
651
|
+
[1m[36m (1.9ms)[0m [1mCOMMIT[0m
|
652
|
+
[1m[35m (0.3ms)[0m BEGIN
|
653
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:56:34 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:56:34 UTC +00:00]]
|
654
|
+
[1m[35m (0.5ms)[0m COMMIT
|
655
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
656
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:56:34 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:56:34 UTC +00:00]]
|
657
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
658
|
+
[1m[35mPlyRelation Load (0.9ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 8]]
|
659
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
660
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:57:30 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:57:30 UTC +00:00]]
|
661
|
+
[1m[36m (2.8ms)[0m [1mCOMMIT[0m
|
662
|
+
[1m[35m (0.3ms)[0m BEGIN
|
663
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:57:30 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:57:30 UTC +00:00]]
|
664
|
+
[1m[35m (0.5ms)[0m COMMIT
|
665
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
666
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:57:30 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 06:57:30 UTC +00:00]]
|
667
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
668
|
+
[1m[35mPlyRelation Load (0.8ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 9]]
|
669
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
670
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 06:57:44 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 06:57:44 UTC +00:00]]
|
671
|
+
[1m[36m (2.2ms)[0m [1mCOMMIT[0m
|
672
|
+
[1m[35m (0.1ms)[0m BEGIN
|
673
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 06:57:44 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:57:44 UTC +00:00]]
|
674
|
+
[1m[35m (0.5ms)[0m COMMIT
|
675
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
676
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 11], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 06:57:44 UTC +00:00], ["parent_id", 12], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 06:57:44 UTC +00:00]]
|
677
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
678
|
+
[1m[35mPliable::Ply Load (0.9ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 12]]
|
679
|
+
[1m[36m (0.7ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 11]]
|
680
|
+
[1m[35m (0.5ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 11]]
|
681
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" ORDER BY "ply_relations"."id" DESC LIMIT 1[0m
|
682
|
+
[1m[35mInvoice Load (1.2ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c'
|
683
|
+
[1m[36mLineItem Load (0.5ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c'[0m
|
684
|
+
[1m[35mFakePly Load (0.6ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c'
|
685
|
+
[1m[36mPliable::Ply Load (0.7ms)[0m [1mSELECT "plies".* FROM "plies"[0m
|
686
|
+
[1m[35m (0.5ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
687
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
688
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 2]]
|
689
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 2]]
|
690
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 3]]
|
691
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 3]]
|
692
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 4]]
|
693
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 4]]
|
694
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 5]]
|
695
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 5]]
|
696
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 6]]
|
697
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 6]]
|
698
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 7]]
|
699
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 7]]
|
700
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 8]]
|
701
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 8]]
|
702
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 9]]
|
703
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 9]]
|
704
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 10]]
|
705
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 10]]
|
706
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 11]]
|
707
|
+
[1m[36m (0.8ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 11]]
|
708
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 12]]
|
709
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 12]]
|
710
|
+
[1m[35mPliable::Ply Load (0.5ms)[0m SELECT "plies".* FROM "plies"
|
711
|
+
[1m[36m (0.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 1]]
|
712
|
+
[1m[35m (0.3ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 1]]
|
713
|
+
[1m[36m (0.5ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
714
|
+
[1m[35m (0.3ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
715
|
+
[1m[36m (0.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 3]]
|
716
|
+
[1m[35m (0.3ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 3]]
|
717
|
+
[1m[36m (0.3ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 4]]
|
718
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 4]]
|
719
|
+
[1m[36m (0.3ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 5]]
|
720
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 5]]
|
721
|
+
[1m[36m (0.3ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 6]]
|
722
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 6]]
|
723
|
+
[1m[36m (0.3ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 7]]
|
724
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 7]]
|
725
|
+
[1m[36m (0.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 8]]
|
726
|
+
[1m[35m (0.3ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 8]]
|
727
|
+
[1m[36m (0.3ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 9]]
|
728
|
+
[1m[35m (0.3ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 9]]
|
729
|
+
[1m[36m (0.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 10]]
|
730
|
+
[1m[35m (0.3ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 10]]
|
731
|
+
[1m[36m (0.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 11]]
|
732
|
+
[1m[35m (0.3ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 11]]
|
733
|
+
[1m[36m (0.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 12]]
|
734
|
+
[1m[35m (0.2ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 12]]
|
735
|
+
[1m[36mFakePly Load (0.6ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c'[0m
|
736
|
+
[1m[35m (0.2ms)[0m BEGIN
|
737
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:02:21 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:02:21 UTC +00:00]]
|
738
|
+
[1m[35m (0.4ms)[0m COMMIT
|
739
|
+
[1m[36mPlyRelation Load (0.6ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 11]]
|
740
|
+
[1m[36mFakePly Load (1.2ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c'[0m
|
741
|
+
[1m[35m (0.5ms)[0m BEGIN
|
742
|
+
[1m[36mSQL (4.4ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:04:24 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:04:24 UTC +00:00]]
|
743
|
+
[1m[35m (2.0ms)[0m COMMIT
|
744
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
745
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:04:24 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:04:24 UTC +00:00]]
|
746
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
747
|
+
[1m[35m (0.5ms)[0m BEGIN
|
748
|
+
[1m[36mSQL (1.5ms)[0m [1mINSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["child_id", 13], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:04:24 UTC +00:00], ["parent_id", 14], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:04:24 UTC +00:00]]
|
749
|
+
[1m[35m (0.6ms)[0m COMMIT
|
750
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
751
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:04:26 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:04:26 UTC +00:00]]
|
752
|
+
[1m[36m (1.5ms)[0m [1mCOMMIT[0m
|
753
|
+
[1m[35mPlyRelation Load (0.8ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 13]]
|
754
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
755
|
+
[1m[35mSQL (3.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:06:49 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:06:49 UTC +00:00]]
|
756
|
+
[1m[36m (2.8ms)[0m [1mCOMMIT[0m
|
757
|
+
[1m[35m (0.2ms)[0m BEGIN
|
758
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:06:49 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:06:49 UTC +00:00]]
|
759
|
+
[1m[35m (0.6ms)[0m COMMIT
|
760
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
761
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 15], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:06:49 UTC +00:00], ["parent_id", 16], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:06:49 UTC +00:00]]
|
762
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
763
|
+
[1m[35m (0.4ms)[0m BEGIN
|
764
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:06:51 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:06:51 UTC +00:00]]
|
765
|
+
[1m[35m (2.5ms)[0m COMMIT
|
766
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 15]]
|
767
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
768
|
+
[1m[35mSQL (3.5ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:07:12 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:07:12 UTC +00:00]]
|
769
|
+
[1m[36m (2.3ms)[0m [1mCOMMIT[0m
|
770
|
+
[1m[35m (0.2ms)[0m BEGIN
|
771
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:07:12 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:07:12 UTC +00:00]]
|
772
|
+
[1m[35m (0.5ms)[0m COMMIT
|
773
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
774
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 17], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:07:12 UTC +00:00], ["parent_id", 18], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:07:12 UTC +00:00]]
|
775
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
776
|
+
[1m[35mPliable::Ply Load (1.3ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 18]]
|
777
|
+
[1m[36m (0.7ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 17]]
|
778
|
+
[1m[35m (0.6ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 17]]
|
779
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
780
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:08:34 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:08:34 UTC +00:00]]
|
781
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
782
|
+
[1m[35mPlyRelation Load (0.7ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 17]]
|
783
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
784
|
+
[1m[35mSQL (3.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:09:07 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:09:07 UTC +00:00]]
|
785
|
+
[1m[36m (2.7ms)[0m [1mCOMMIT[0m
|
786
|
+
[1m[35m (0.5ms)[0m BEGIN
|
787
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:09:07 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:09:07 UTC +00:00]]
|
788
|
+
[1m[35m (0.6ms)[0m COMMIT
|
789
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
790
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 19], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:09:07 UTC +00:00], ["parent_id", 20], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:09:07 UTC +00:00]]
|
791
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
792
|
+
[1m[35mPliable::Ply Load (1.0ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 20]]
|
793
|
+
[1m[36m (0.6ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 19]]
|
794
|
+
[1m[35m (0.8ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 19]]
|
795
|
+
[1m[36mPlyRelation Load (1.1ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 20]]
|
796
|
+
[1m[35m (0.2ms)[0m BEGIN
|
797
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:11:06 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:11:06 UTC +00:00]]
|
798
|
+
[1m[35m (0.4ms)[0m COMMIT
|
799
|
+
[1m[36mPlyRelation Load (0.6ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 19]]
|
800
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
801
|
+
[1m[35mSQL (3.1ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:11:47 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:11:47 UTC +00:00]]
|
802
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
803
|
+
[1m[35m (0.1ms)[0m BEGIN
|
804
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:11:47 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:11:47 UTC +00:00]]
|
805
|
+
[1m[35m (0.5ms)[0m COMMIT
|
806
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
807
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 21], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:11:47 UTC +00:00], ["parent_id", 22], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:11:47 UTC +00:00]]
|
808
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
809
|
+
[1m[35m (0.2ms)[0m BEGIN
|
810
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:13:31 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:13:31 UTC +00:00]]
|
811
|
+
[1m[35m (0.4ms)[0m COMMIT
|
812
|
+
[1m[36mPlyRelation Load (0.9ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 21]]
|
813
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
814
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:13:41 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:13:41 UTC +00:00]]
|
815
|
+
[1m[36m (2.1ms)[0m [1mCOMMIT[0m
|
816
|
+
[1m[35m (0.1ms)[0m BEGIN
|
817
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:13:41 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:13:41 UTC +00:00]]
|
818
|
+
[1m[35m (0.5ms)[0m COMMIT
|
819
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
820
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 23], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:13:41 UTC +00:00], ["parent_id", 24], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:13:41 UTC +00:00]]
|
821
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
822
|
+
[1m[35m (0.1ms)[0m BEGIN
|
823
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:13:41 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:13:41 UTC +00:00]]
|
824
|
+
[1m[35m (0.3ms)[0m COMMIT
|
825
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 23]]
|
826
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
827
|
+
[1m[35mSQL (17.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:16:03 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:16:03 UTC +00:00]]
|
828
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
829
|
+
[1m[35m (0.2ms)[0m BEGIN
|
830
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:16:03 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:16:03 UTC +00:00]]
|
831
|
+
[1m[35m (0.4ms)[0m COMMIT
|
832
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
833
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 25], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:16:03 UTC +00:00], ["parent_id", 26], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:16:03 UTC +00:00]]
|
834
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
835
|
+
[1m[35m (0.2ms)[0m BEGIN
|
836
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:16:03 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:16:03 UTC +00:00]]
|
837
|
+
[1m[35m (0.4ms)[0m COMMIT
|
838
|
+
[1m[36mPlyRelation Load (0.9ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 25]]
|
839
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
840
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:18:30 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:18:30 UTC +00:00]]
|
841
|
+
[1m[36m (2.2ms)[0m [1mCOMMIT[0m
|
842
|
+
[1m[35m (0.3ms)[0m BEGIN
|
843
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:18:30 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:18:30 UTC +00:00]]
|
844
|
+
[1m[35m (0.5ms)[0m COMMIT
|
845
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
846
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 27], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:18:30 UTC +00:00], ["parent_id", 28], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:18:30 UTC +00:00]]
|
847
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
848
|
+
[1m[35m (0.1ms)[0m BEGIN
|
849
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:18:30 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:18:30 UTC +00:00]]
|
850
|
+
[1m[35m (0.3ms)[0m COMMIT
|
851
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 27]]
|
852
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
853
|
+
[1m[35mSQL (2.8ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:18:39 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:18:39 UTC +00:00]]
|
854
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
855
|
+
[1m[35m (0.3ms)[0m BEGIN
|
856
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:18:43 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:18:43 UTC +00:00]]
|
857
|
+
[1m[35m (0.5ms)[0m COMMIT
|
858
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
859
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 30], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:18:43 UTC +00:00], ["parent_id", 29], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:18:43 UTC +00:00]]
|
860
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
861
|
+
[1m[35m (0.1ms)[0m BEGIN
|
862
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:18:43 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:18:43 UTC +00:00]]
|
863
|
+
[1m[35m (0.3ms)[0m COMMIT
|
864
|
+
[1m[36mPlyRelation Load (0.7ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 29]]
|
865
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
866
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:19:04 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:19:04 UTC +00:00]]
|
867
|
+
[1m[36m (1.6ms)[0m [1mCOMMIT[0m
|
868
|
+
[1m[35m (0.2ms)[0m BEGIN
|
869
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:19:05 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:19:05 UTC +00:00]]
|
870
|
+
[1m[35m (1.9ms)[0m COMMIT
|
871
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
872
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 32], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:19:05 UTC +00:00], ["parent_id", 31], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:19:05 UTC +00:00]]
|
873
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
874
|
+
[1m[35mInvoice Load (1.0ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' ORDER BY "plies"."id" DESC LIMIT 1
|
875
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
876
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:19:05 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:19:05 UTC +00:00]]
|
877
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
878
|
+
[1m[35mPlyRelation Load (0.7ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 31]]
|
879
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
880
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:20:17 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:20:17 UTC +00:00]]
|
881
|
+
[1m[36m (2.8ms)[0m [1mCOMMIT[0m
|
882
|
+
[1m[35m (0.5ms)[0m BEGIN
|
883
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:20:20 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:20:20 UTC +00:00]]
|
884
|
+
[1m[35m (2.1ms)[0m COMMIT
|
885
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
886
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 34], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:20:20 UTC +00:00], ["parent_id", 33], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:20:20 UTC +00:00]]
|
887
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
888
|
+
[1m[35mInvoice Load (1.0ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' ORDER BY "plies"."id" DESC LIMIT 1
|
889
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
890
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:20:20 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:20:20 UTC +00:00]]
|
891
|
+
[1m[36m (2.0ms)[0m [1mCOMMIT[0m
|
892
|
+
[1m[35mPlyRelation Load (0.8ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 33]]
|
893
|
+
[1m[36mPliable::Ply Load (1.1ms)[0m [1mSELECT "plies".* FROM "plies"[0m
|
894
|
+
[1m[35m (4.0ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
895
|
+
[1m[36m (0.7ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
896
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 2]]
|
897
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 2]]
|
898
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 3]]
|
899
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 3]]
|
900
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 4]]
|
901
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 4]]
|
902
|
+
[1m[35m (0.5ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 5]]
|
903
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 5]]
|
904
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 6]]
|
905
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 6]]
|
906
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 7]]
|
907
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 7]]
|
908
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 8]]
|
909
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 8]]
|
910
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 9]]
|
911
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 9]]
|
912
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 10]]
|
913
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 10]]
|
914
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 11]]
|
915
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 11]]
|
916
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 12]]
|
917
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 12]]
|
918
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 13]]
|
919
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 13]]
|
920
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 14]]
|
921
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 14]]
|
922
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 15]]
|
923
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 15]]
|
924
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 16]]
|
925
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 16]]
|
926
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 17]]
|
927
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 17]]
|
928
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 18]]
|
929
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 18]]
|
930
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 19]]
|
931
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 19]]
|
932
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 20]]
|
933
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 20]]
|
934
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 21]]
|
935
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 21]]
|
936
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 22]]
|
937
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 22]]
|
938
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 23]]
|
939
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 23]]
|
940
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 24]]
|
941
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 24]]
|
942
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 25]]
|
943
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 25]]
|
944
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 26]]
|
945
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 26]]
|
946
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 27]]
|
947
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 27]]
|
948
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 28]]
|
949
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 28]]
|
950
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 29]]
|
951
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 29]]
|
952
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 30]]
|
953
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 30]]
|
954
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 31]]
|
955
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 31]]
|
956
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 32]]
|
957
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 32]]
|
958
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 33]]
|
959
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 33]]
|
960
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 34]]
|
961
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 34]]
|
962
|
+
[1m[35m (0.4ms)[0m BEGIN
|
963
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:21:54 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:21:54 UTC +00:00]]
|
964
|
+
[1m[35m (0.5ms)[0m COMMIT
|
965
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
966
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:22:13 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:22:13 UTC +00:00]]
|
967
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
968
|
+
[1m[35m (0.2ms)[0m BEGIN
|
969
|
+
[1m[36mSQL (5.6ms)[0m [1mINSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["child_id", 36], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:22:13 UTC +00:00], ["parent_id", 35], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:22:13 UTC +00:00]]
|
970
|
+
[1m[35m (0.5ms)[0m COMMIT
|
971
|
+
[1m[36mInvoice Load (0.9ms)[0m [1mSELECT "plies".* FROM "plies"[0m
|
972
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
973
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
974
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 2]]
|
975
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 2]]
|
976
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 3]]
|
977
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 3]]
|
978
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 4]]
|
979
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 4]]
|
980
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 5]]
|
981
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 5]]
|
982
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 6]]
|
983
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 6]]
|
984
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 7]]
|
985
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 7]]
|
986
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 8]]
|
987
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 8]]
|
988
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 9]]
|
989
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 9]]
|
990
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 10]]
|
991
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 10]]
|
992
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 11]]
|
993
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 11]]
|
994
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 12]]
|
995
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 12]]
|
996
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 13]]
|
997
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 13]]
|
998
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 14]]
|
999
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 14]]
|
1000
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 15]]
|
1001
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 15]]
|
1002
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 16]]
|
1003
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 16]]
|
1004
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 17]]
|
1005
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 17]]
|
1006
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 18]]
|
1007
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 18]]
|
1008
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 19]]
|
1009
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 19]]
|
1010
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 20]]
|
1011
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 20]]
|
1012
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 21]]
|
1013
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 21]]
|
1014
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 22]]
|
1015
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 22]]
|
1016
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 23]]
|
1017
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 23]]
|
1018
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 24]]
|
1019
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 24]]
|
1020
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 25]]
|
1021
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 25]]
|
1022
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 26]]
|
1023
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 26]]
|
1024
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 27]]
|
1025
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 27]]
|
1026
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 28]]
|
1027
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 28]]
|
1028
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 29]]
|
1029
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 29]]
|
1030
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 30]]
|
1031
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 30]]
|
1032
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 31]]
|
1033
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 31]]
|
1034
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 32]]
|
1035
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 32]]
|
1036
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 33]]
|
1037
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 33]]
|
1038
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 34]]
|
1039
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 34]]
|
1040
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 35]]
|
1041
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 35]]
|
1042
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 36]]
|
1043
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 36]]
|
1044
|
+
[1m[35mInvoice Load (1.3ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' ORDER BY "plies"."id" DESC LIMIT 1
|
1045
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1046
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:22:40 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:22:40 UTC +00:00]]
|
1047
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
1048
|
+
[1m[35mPlyRelation Load (0.7ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 35]]
|
1049
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1050
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:23:55 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:23:55 UTC +00:00]]
|
1051
|
+
[1m[36m (2.3ms)[0m [1mCOMMIT[0m
|
1052
|
+
[1m[35m (0.5ms)[0m BEGIN
|
1053
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:23:55 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:23:55 UTC +00:00]]
|
1054
|
+
[1m[35m (0.6ms)[0m COMMIT
|
1055
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1056
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 38], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:23:55 UTC +00:00], ["parent_id", 37], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:23:55 UTC +00:00]]
|
1057
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1058
|
+
[1m[35mInvoice Load (0.9ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' ORDER BY "plies"."id" DESC LIMIT 1
|
1059
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1060
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:23:55 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:23:55 UTC +00:00]]
|
1061
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1062
|
+
[1m[35mPlyRelation Load (0.6ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 37]]
|
1063
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1064
|
+
[1m[35mSQL (3.1ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:24:09 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:24:09 UTC +00:00]]
|
1065
|
+
[1m[36m (1.9ms)[0m [1mCOMMIT[0m
|
1066
|
+
[1m[35m (0.5ms)[0m BEGIN
|
1067
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:24:09 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:24:09 UTC +00:00]]
|
1068
|
+
[1m[35m (0.5ms)[0m COMMIT
|
1069
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1070
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 40], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:24:09 UTC +00:00], ["parent_id", 39], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:24:09 UTC +00:00]]
|
1071
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
1072
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1073
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:24:09 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:24:09 UTC +00:00]]
|
1074
|
+
[1m[35m (0.4ms)[0m COMMIT
|
1075
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 39]]
|
1076
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
1077
|
+
[1m[35mSQL (3.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:24:20 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:24:20 UTC +00:00]]
|
1078
|
+
[1m[36m (2.4ms)[0m [1mCOMMIT[0m
|
1079
|
+
[1m[35m (0.4ms)[0m BEGIN
|
1080
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:24:20 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:24:20 UTC +00:00]]
|
1081
|
+
[1m[35m (0.6ms)[0m COMMIT
|
1082
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
1083
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 42], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:24:20 UTC +00:00], ["parent_id", 41], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:24:20 UTC +00:00]]
|
1084
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1085
|
+
[1m[35m (0.7ms)[0m SELECT COUNT(*) FROM "plies" WHERE "plies"."otype" = 'Merchandise__c'
|
1086
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' ORDER BY "plies"."id" DESC LIMIT 1[0m
|
1087
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1088
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:24:20 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:24:20 UTC +00:00]]
|
1089
|
+
[1m[35m (0.4ms)[0m COMMIT
|
1090
|
+
[1m[36mPlyRelation Load (0.7ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 41]]
|
1091
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1092
|
+
[1m[35mSQL (3.3ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:24:34 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:24:34 UTC +00:00]]
|
1093
|
+
[1m[36m (2.4ms)[0m [1mCOMMIT[0m
|
1094
|
+
[1m[35m (0.3ms)[0m BEGIN
|
1095
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:24:34 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:24:34 UTC +00:00]]
|
1096
|
+
[1m[35m (0.5ms)[0m COMMIT
|
1097
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1098
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 44], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:24:34 UTC +00:00], ["parent_id", 43], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:24:34 UTC +00:00]]
|
1099
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1100
|
+
[1m[35m (0.7ms)[0m SELECT COUNT(*) FROM "plies" WHERE "plies"."otype" = 'Merchandise__c'
|
1101
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1102
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:24:34 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:24:34 UTC +00:00]]
|
1103
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1104
|
+
[1m[35mPlyRelation Load (0.7ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 43]]
|
1105
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1106
|
+
[1m[35mSQL (4.1ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:26:04 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:26:04 UTC +00:00]]
|
1107
|
+
[1m[36m (1.5ms)[0m [1mCOMMIT[0m
|
1108
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1109
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:26:04 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:26:04 UTC +00:00]]
|
1110
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1111
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1112
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 46], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:26:04 UTC +00:00], ["parent_id", 45], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:26:04 UTC +00:00]]
|
1113
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
1114
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "plies" WHERE "plies"."otype" = 'Merchandise__c'
|
1115
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1116
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:26:04 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:26:04 UTC +00:00]]
|
1117
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1118
|
+
[1m[35mPlyRelation Load (0.7ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 45]]
|
1119
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1120
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:26:20 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:26:20 UTC +00:00]]
|
1121
|
+
[1m[36m (1.9ms)[0m [1mCOMMIT[0m
|
1122
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1123
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:26:20 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:26:20 UTC +00:00]]
|
1124
|
+
[1m[35m (0.5ms)[0m COMMIT
|
1125
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1126
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 48], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:26:20 UTC +00:00], ["parent_id", 47], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:26:20 UTC +00:00]]
|
1127
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1128
|
+
[1m[35mInvoice Load (0.9ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' ORDER BY "plies"."id" DESC LIMIT 1
|
1129
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1130
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:26:20 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:26:20 UTC +00:00]]
|
1131
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1132
|
+
[1m[35mPlyRelation Load (0.7ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 47]]
|
1133
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1134
|
+
[1m[35mSQL (3.1ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:27:32 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:27:32 UTC +00:00]]
|
1135
|
+
[1m[36m (2.3ms)[0m [1mCOMMIT[0m
|
1136
|
+
[1m[35m (0.4ms)[0m BEGIN
|
1137
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:27:32 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:27:32 UTC +00:00]]
|
1138
|
+
[1m[35m (0.5ms)[0m COMMIT
|
1139
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
1140
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 50], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:27:32 UTC +00:00], ["parent_id", 49], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:27:32 UTC +00:00]]
|
1141
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
1142
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1143
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:27:32 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:27:32 UTC +00:00]]
|
1144
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1145
|
+
[1m[36mPlyRelation Load (0.7ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 49]]
|
1146
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
1147
|
+
[1m[35mSQL (3.1ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:28:33 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:28:33 UTC +00:00]]
|
1148
|
+
[1m[36m (1.9ms)[0m [1mCOMMIT[0m
|
1149
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1150
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:28:33 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:28:33 UTC +00:00]]
|
1151
|
+
[1m[35m (0.5ms)[0m COMMIT
|
1152
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
1153
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 52], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:28:33 UTC +00:00], ["parent_id", 51], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:28:33 UTC +00:00]]
|
1154
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
1155
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1156
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:28:33 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:28:33 UTC +00:00]]
|
1157
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1158
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 51]]
|
1159
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1160
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:28:54 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:28:54 UTC +00:00]]
|
1161
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
1162
|
+
[1m[35m (0.3ms)[0m BEGIN
|
1163
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:28:54 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:28:54 UTC +00:00]]
|
1164
|
+
[1m[35m (0.4ms)[0m COMMIT
|
1165
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1166
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 54], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:28:54 UTC +00:00], ["parent_id", 53], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:28:54 UTC +00:00]]
|
1167
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
1168
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1169
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:28:54 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:28:54 UTC +00:00]]
|
1170
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1171
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 53]]
|
1172
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
1173
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:29:15 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:29:15 UTC +00:00]]
|
1174
|
+
[1m[36m (1.6ms)[0m [1mCOMMIT[0m
|
1175
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1176
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:29:15 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:29:15 UTC +00:00]]
|
1177
|
+
[1m[35m (0.5ms)[0m COMMIT
|
1178
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1179
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 56], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:29:15 UTC +00:00], ["parent_id", 55], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:29:15 UTC +00:00]]
|
1180
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1181
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1182
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:29:15 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:29:15 UTC +00:00]]
|
1183
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1184
|
+
[1m[36mPlyRelation Load (0.7ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 55]]
|
1185
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
1186
|
+
[1m[35mSQL (3.1ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:29:39 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:29:39 UTC +00:00]]
|
1187
|
+
[1m[36m (2.6ms)[0m [1mCOMMIT[0m
|
1188
|
+
[1m[35m (0.3ms)[0m BEGIN
|
1189
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:29:39 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:29:39 UTC +00:00]]
|
1190
|
+
[1m[35m (0.4ms)[0m COMMIT
|
1191
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1192
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 58], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:29:39 UTC +00:00], ["parent_id", 57], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:29:39 UTC +00:00]]
|
1193
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1194
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1195
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:29:39 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:29:39 UTC +00:00]]
|
1196
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1197
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 57]]
|
1198
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
1199
|
+
[1m[35mSQL (3.7ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:34:32 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:34:32 UTC +00:00]]
|
1200
|
+
[1m[36m (2.2ms)[0m [1mCOMMIT[0m
|
1201
|
+
[1m[35m (0.3ms)[0m BEGIN
|
1202
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:34:32 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:34:32 UTC +00:00]]
|
1203
|
+
[1m[35m (0.4ms)[0m COMMIT
|
1204
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1205
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 60], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:34:32 UTC +00:00], ["parent_id", 59], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:34:32 UTC +00:00]]
|
1206
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1207
|
+
[1m[35mPlyRelation Load (0.7ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 59]]
|
1208
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1209
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:36:10 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:36:10 UTC +00:00]]
|
1210
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1211
|
+
[1m[35mPlyRelation Load (0.9ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 59]]
|
1212
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
1213
|
+
[1m[35mSQL (3.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:36:28 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:36:28 UTC +00:00]]
|
1214
|
+
[1m[36m (1.8ms)[0m [1mCOMMIT[0m
|
1215
|
+
[1m[35m (0.5ms)[0m BEGIN
|
1216
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:36:28 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:36:28 UTC +00:00]]
|
1217
|
+
[1m[35m (0.6ms)[0m COMMIT
|
1218
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1219
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 62], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:36:28 UTC +00:00], ["parent_id", 61], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:36:28 UTC +00:00]]
|
1220
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
1221
|
+
[1m[35m (0.3ms)[0m BEGIN
|
1222
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:37:26 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:37:26 UTC +00:00]]
|
1223
|
+
[1m[35m (2.1ms)[0m COMMIT
|
1224
|
+
[1m[36mPlyRelation Load (1.0ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 61]]
|
1225
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1226
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1227
|
+
[1m[36m (5.1ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1228
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1229
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1230
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1231
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1232
|
+
[1m[35mSQL (2.9ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:37:58 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:37:58 UTC +00:00]]
|
1233
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:37:58 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:37:58 UTC +00:00]]
|
1234
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:37:58 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:37:58 UTC +00:00]]
|
1235
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1236
|
+
[1m[35m (0.3ms)[0m BEGIN
|
1237
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
1238
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1239
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:38:01 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:38:01 UTC +00:00]]
|
1240
|
+
[1m[35mPlyRelation Load (0.8ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 2]]
|
1241
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1242
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1243
|
+
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1244
|
+
[1m[36m (6.3ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1245
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1246
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1247
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1248
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1249
|
+
[1m[35mSQL (3.8ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:38:34 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:38:34 UTC +00:00]]
|
1250
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:38:34 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:38:34 UTC +00:00]]
|
1251
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:38:34 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:38:34 UTC +00:00]]
|
1252
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1253
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1254
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1255
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1256
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:38:34 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:38:34 UTC +00:00]]
|
1257
|
+
[1m[35mPlyRelation Load (0.8ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 2]]
|
1258
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1259
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1260
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1261
|
+
[1m[36m (4.1ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1262
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1263
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1264
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1265
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1266
|
+
[1m[35mSQL (3.5ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:38:45 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:38:45 UTC +00:00]]
|
1267
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:38:45 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:38:45 UTC +00:00]]
|
1268
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:38:45 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:38:45 UTC +00:00]]
|
1269
|
+
[1m[36mPlyRelation Load (0.6ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 1]]
|
1270
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1271
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1272
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1273
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1274
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:38:45 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:38:45 UTC +00:00]]
|
1275
|
+
[1m[36mPlyRelation Load (0.7ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 2]]
|
1276
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1277
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1278
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1279
|
+
[1m[36m (4.1ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1280
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1281
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1282
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1283
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1284
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:39:05 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:39:05 UTC +00:00]]
|
1285
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:39:05 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:39:05 UTC +00:00]]
|
1286
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:39:05 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:39:05 UTC +00:00]]
|
1287
|
+
[1m[36mPliable::Ply Load (1.0ms)[0m [1mSELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 1]]
|
1288
|
+
[1m[35m (0.7ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 2]]
|
1289
|
+
[1m[36m (0.9ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 2]]
|
1290
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1291
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1292
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1293
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1294
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:39:05 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:39:05 UTC +00:00]]
|
1295
|
+
[1m[36mPlyRelation Load (0.7ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 2]]
|
1296
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1297
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1298
|
+
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1299
|
+
[1m[36m (4.4ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1300
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1301
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1302
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1303
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1304
|
+
[1m[35mSQL (2.9ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:39:22 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:39:22 UTC +00:00]]
|
1305
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:39:22 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:39:22 UTC +00:00]]
|
1306
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:39:22 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:39:22 UTC +00:00]]
|
1307
|
+
[1m[36mInvoice Load (0.9ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1308
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1309
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1310
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1311
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1312
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:39:22 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:39:22 UTC +00:00]]
|
1313
|
+
[1m[36mPlyRelation Load (0.7ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 2]]
|
1314
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1315
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1316
|
+
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1317
|
+
[1m[36m (5.5ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1318
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1319
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1320
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1321
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1322
|
+
[1m[35mSQL (3.1ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:39:34 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:39:34 UTC +00:00]]
|
1323
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:39:34 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:39:34 UTC +00:00]]
|
1324
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:39:34 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:39:34 UTC +00:00]]
|
1325
|
+
[1m[36mInvoice Load (0.8ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1326
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1327
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1328
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1329
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1330
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:39:34 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:39:34 UTC +00:00]]
|
1331
|
+
[1m[36mPlyRelation Load (0.7ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 2]]
|
1332
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1333
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1334
|
+
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1335
|
+
[1m[36m (6.5ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1336
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1337
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1338
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1339
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1340
|
+
[1m[35mInvoice Load (1.4ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' ORDER BY "plies"."id" ASC LIMIT 1
|
1341
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1342
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1343
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
1344
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1345
|
+
[1m[36mSQL (10.9ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:42:28 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:42:28 UTC +00:00]]
|
1346
|
+
[1m[35mPlyRelation Load (0.8ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 1]]
|
1347
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1348
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1349
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1350
|
+
[1m[36m (6.4ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1351
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1352
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1353
|
+
[1m[35m (0.2ms)[0m COMMIT
|
1354
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1355
|
+
[1m[35mInvoice Load (1.1ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' ORDER BY "plies"."id" ASC LIMIT 1
|
1356
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1357
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1358
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
1359
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1360
|
+
[1m[36mSQL (3.2ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:50:25 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:50:25 UTC +00:00]]
|
1361
|
+
[1m[35mPlyRelation Load (0.8ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 1]]
|
1362
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1363
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1364
|
+
[1m[35m (1.6ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1365
|
+
[1m[36m (6.4ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1366
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1367
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1368
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1369
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1370
|
+
[1m[35mInvoice Load (0.9ms)[0m SELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1
|
1371
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1372
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1373
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
1374
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1375
|
+
[1m[36mSQL (3.1ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:51:36 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:51:36 UTC +00:00]]
|
1376
|
+
[1m[35mPlyRelation Load (0.9ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 1]]
|
1377
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1378
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1379
|
+
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1380
|
+
[1m[36m (5.8ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1381
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1382
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1383
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1384
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1385
|
+
[1m[35mInvoice Load (0.9ms)[0m SELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1
|
1386
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1387
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1388
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
1389
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1390
|
+
[1m[36mSQL (3.3ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:56:51 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:56:51 UTC +00:00]]
|
1391
|
+
[1m[35mPlyRelation Load (0.8ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 1]]
|
1392
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1393
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1394
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1395
|
+
[1m[36m (4.5ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1396
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1397
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1398
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1399
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1400
|
+
[1m[35mSQL (2.9ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:56:55 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:56:55 UTC +00:00]]
|
1401
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:56:55 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:56:55 UTC +00:00]]
|
1402
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:56:55 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:56:55 UTC +00:00]]
|
1403
|
+
[1m[36mInvoice Load (1.1ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1404
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1405
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1406
|
+
[1m[35m (0.2ms)[0m COMMIT
|
1407
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1408
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:56:55 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:56:55 UTC +00:00]]
|
1409
|
+
[1m[36mPlyRelation Load (1.1ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 2]]
|
1410
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1411
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1412
|
+
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1413
|
+
[1m[36m (4.7ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1414
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1415
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1416
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1417
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1418
|
+
[1m[35mSQL (3.5ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:57:15 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:57:15 UTC +00:00]]
|
1419
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:57:15 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:57:15 UTC +00:00]]
|
1420
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:57:15 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:57:15 UTC +00:00]]
|
1421
|
+
[1m[36mInvoice Load (0.6ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1422
|
+
[1m[35m (0.9ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1423
|
+
[1m[36m (0.5ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1424
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1425
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1426
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1427
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1428
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:57:15 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:57:15 UTC +00:00]]
|
1429
|
+
[1m[36mPlyRelation Load (0.6ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 2]]
|
1430
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1431
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1432
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1433
|
+
[1m[36m (7.1ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1434
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1435
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1436
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1437
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1438
|
+
[1m[35mSQL (3.4ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:59:21 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:59:21 UTC +00:00]]
|
1439
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:59:21 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:59:21 UTC +00:00]]
|
1440
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:59:21 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:59:21 UTC +00:00]]
|
1441
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1442
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1443
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
1444
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1445
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:59:21 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:59:21 UTC +00:00]]
|
1446
|
+
[1m[35mPlyRelation Load (0.9ms)[0m SELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1 [["id", 2]]
|
1447
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1448
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1449
|
+
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1450
|
+
[1m[36m (6.7ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1451
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1452
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1453
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1454
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1455
|
+
[1m[35mSQL (3.1ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:59:50 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:59:50 UTC +00:00]]
|
1456
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 07:59:50 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 07:59:50 UTC +00:00]]
|
1457
|
+
[1m[35mSQL (1.7ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 07:59:50 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 07:59:50 UTC +00:00]]
|
1458
|
+
[1m[36mInvoice Load (0.7ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1459
|
+
[1m[35m (1.1ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1460
|
+
[1m[36m (0.6ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1461
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1462
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1463
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1464
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1465
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 07:59:50 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 07:59:50 UTC +00:00]]
|
1466
|
+
[1m[36mPlyRelation Load (0.6ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 2]]
|
1467
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1468
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1469
|
+
[1m[35m (1.6ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1470
|
+
[1m[36m (4.9ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1471
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1472
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1473
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1474
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1475
|
+
[1m[35mSQL (2.9ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:00:01 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:00:01 UTC +00:00]]
|
1476
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:00:01 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:00:01 UTC +00:00]]
|
1477
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:00:01 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:00:01 UTC +00:00]]
|
1478
|
+
[1m[36mInvoice Load (0.6ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1479
|
+
[1m[35m (1.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1480
|
+
[1m[36m (0.8ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1481
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
1482
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1483
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1484
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1485
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:00:01 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:00:01 UTC +00:00]]
|
1486
|
+
[1m[36mPlyRelation Load (0.6ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 2]]
|
1487
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1488
|
+
[1m[36mInvoice Load (0.4ms)[0m [1mSELECT "plies".* FROM "plies"[0m
|
1489
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1490
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1491
|
+
[1m[36m (6.5ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1492
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1493
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1494
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1495
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1496
|
+
[1m[35mSQL (3.1ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:04:33 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:04:33 UTC +00:00]]
|
1497
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:04:33 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:04:33 UTC +00:00]]
|
1498
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:04:33 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:04:33 UTC +00:00]]
|
1499
|
+
[1m[36mInvoice Load (0.6ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1500
|
+
[1m[35m (1.6ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1501
|
+
[1m[36m (0.7ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1502
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1503
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1504
|
+
[1m[35m (0.2ms)[0m COMMIT
|
1505
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1506
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:04:33 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:04:33 UTC +00:00]]
|
1507
|
+
[1m[36mPlyRelation Load (0.6ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 2]]
|
1508
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1509
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1510
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1511
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1512
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:04:33 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:04:33 UTC +00:00]]
|
1513
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:04:33 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:04:33 UTC +00:00]]
|
1514
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 4], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:04:33 UTC +00:00], ["parent_id", 3], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:04:33 UTC +00:00]]
|
1515
|
+
[1m[36mInvoice Load (0.4ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1516
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 3]]
|
1517
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 3]]
|
1518
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1519
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1520
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1521
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1522
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:04:33 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:04:33 UTC +00:00]]
|
1523
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:04:33 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:04:33 UTC +00:00]]
|
1524
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 6], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:04:33 UTC +00:00], ["parent_id", 5], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:04:33 UTC +00:00]]
|
1525
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "plies".* FROM "plies"[0m
|
1526
|
+
[1m[35m (0.5ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 5]]
|
1527
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 5]]
|
1528
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 6]]
|
1529
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 6]]
|
1530
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1531
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1532
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1533
|
+
[1m[36m (6.5ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1534
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1535
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1536
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1537
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1538
|
+
[1m[35mSQL (3.1ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:05:39 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:05:39 UTC +00:00]]
|
1539
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:05:39 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:05:39 UTC +00:00]]
|
1540
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:05:39 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:05:39 UTC +00:00]]
|
1541
|
+
[1m[36mInvoice Load (0.6ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1542
|
+
[1m[35m (1.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1543
|
+
[1m[36m (0.8ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1544
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
1545
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1546
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1547
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1548
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:05:39 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:05:39 UTC +00:00]]
|
1549
|
+
[1m[36mPlyRelation Load (0.6ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 2]]
|
1550
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1551
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1552
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1553
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1554
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:05:39 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:05:39 UTC +00:00]]
|
1555
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:05:40 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:05:40 UTC +00:00]]
|
1556
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 4], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:05:40 UTC +00:00], ["parent_id", 3], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:05:40 UTC +00:00]]
|
1557
|
+
[1m[36mInvoice Load (0.4ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1558
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 3]]
|
1559
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 3]]
|
1560
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1561
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1562
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1563
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1564
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:05:40 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:05:40 UTC +00:00]]
|
1565
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:05:40 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:05:40 UTC +00:00]]
|
1566
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 6], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:05:40 UTC +00:00], ["parent_id", 5], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:05:40 UTC +00:00]]
|
1567
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "plies"[0m
|
1568
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1569
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1570
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1571
|
+
[1m[36m (6.2ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1572
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1573
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1574
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1575
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1576
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:06:44 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:06:44 UTC +00:00]]
|
1577
|
+
[1m[36mPlyRelation Load (0.9ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
1578
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1579
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1580
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1581
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1582
|
+
[1m[35mSQL (1.7ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:06:44 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:06:44 UTC +00:00]]
|
1583
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:06:44 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:06:44 UTC +00:00]]
|
1584
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:06:44 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:06:44 UTC +00:00]]
|
1585
|
+
[1m[36mInvoice Load (0.6ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1586
|
+
[1m[35m (0.9ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1587
|
+
[1m[36m (0.5ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1588
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1589
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1590
|
+
[1m[35m (0.2ms)[0m COMMIT
|
1591
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1592
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:06:44 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:06:44 UTC +00:00]]
|
1593
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:06:44 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:06:44 UTC +00:00]]
|
1594
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 4], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:06:44 UTC +00:00], ["parent_id", 3], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:06:44 UTC +00:00]]
|
1595
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "plies"[0m
|
1596
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1597
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1598
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1599
|
+
[1m[36m (5.8ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1600
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1601
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1602
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1603
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1604
|
+
[1m[35mSQL (3.9ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:07:38 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:07:38 UTC +00:00]]
|
1605
|
+
[1m[36mPlyRelation Load (1.2ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
1606
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1607
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1608
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1609
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1610
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:07:38 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:07:38 UTC +00:00]]
|
1611
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:07:38 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:07:38 UTC +00:00]]
|
1612
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:07:38 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:07:38 UTC +00:00]]
|
1613
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1614
|
+
[1m[35m (0.8ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1615
|
+
[1m[36m (0.6ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1616
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1617
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1618
|
+
[1m[35m (0.2ms)[0m COMMIT
|
1619
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1620
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:07:38 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:07:38 UTC +00:00]]
|
1621
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:07:38 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:07:38 UTC +00:00]]
|
1622
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 4], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:07:38 UTC +00:00], ["parent_id", 3], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:07:38 UTC +00:00]]
|
1623
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "plies".* FROM "plies"[0m
|
1624
|
+
[1m[35m (0.5ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 3]]
|
1625
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 3]]
|
1626
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 4]]
|
1627
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 4]]
|
1628
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1629
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1630
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1631
|
+
[1m[36m (6.6ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1632
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1633
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1634
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1635
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1636
|
+
[1m[35mSQL (3.3ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:08:14 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:08:14 UTC +00:00]]
|
1637
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
1638
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
1639
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1640
|
+
[1m[35mSQL (1.8ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:08:14 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:08:14 UTC +00:00]]
|
1641
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1642
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1643
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:08:14 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:08:14 UTC +00:00]]
|
1644
|
+
[1m[35m (0.4ms)[0m COMMIT
|
1645
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1646
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:08:14 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:08:14 UTC +00:00]]
|
1647
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1648
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1649
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
1650
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1651
|
+
[1m[36mInvoice Load (0.6ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1652
|
+
[1m[35m (0.8ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1653
|
+
[1m[36m (0.6ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1654
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1655
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1656
|
+
[1m[35m (0.2ms)[0m COMMIT
|
1657
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1658
|
+
[1m[35mInvoice Load (0.4ms)[0m SELECT "plies".* FROM "plies"
|
1659
|
+
[1m[36m (0.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 1]]
|
1660
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 1]]
|
1661
|
+
[1m[36m (0.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
1662
|
+
[1m[35m (0.3ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
1663
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1664
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1665
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1666
|
+
[1m[36m (6.2ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1667
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1668
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1669
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1670
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1671
|
+
[1m[35mSQL (3.5ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:08:48 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:08:48 UTC +00:00]]
|
1672
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
1673
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1674
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1675
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1676
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1677
|
+
[1m[35mSQL (1.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:08:48 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:08:48 UTC +00:00]]
|
1678
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:08:48 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:08:48 UTC +00:00]]
|
1679
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:08:48 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:08:48 UTC +00:00]]
|
1680
|
+
[1m[36mInvoice Load (0.6ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1681
|
+
[1m[35m (1.1ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1682
|
+
[1m[36m (0.5ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1683
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1684
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1685
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1686
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1687
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:08:48 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:08:48 UTC +00:00]]
|
1688
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:08:48 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:08:48 UTC +00:00]]
|
1689
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 4], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:08:48 UTC +00:00], ["parent_id", 3], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:08:48 UTC +00:00]]
|
1690
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "plies".* FROM "plies"[0m
|
1691
|
+
[1m[35m (0.5ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 3]]
|
1692
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 3]]
|
1693
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 4]]
|
1694
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 4]]
|
1695
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1696
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1697
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1698
|
+
[1m[36m (4.4ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1699
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1700
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1701
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1702
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1703
|
+
[1m[35mSQL (3.7ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:09:12 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:09:12 UTC +00:00]]
|
1704
|
+
[1m[36mPlyRelation Load (0.7ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
1705
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1706
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1707
|
+
[1m[35m (0.2ms)[0m COMMIT
|
1708
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1709
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:09:12 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:09:12 UTC +00:00]]
|
1710
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:09:12 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:09:12 UTC +00:00]]
|
1711
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:09:12 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:09:12 UTC +00:00]]
|
1712
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1713
|
+
[1m[35m (1.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1714
|
+
[1m[36m (0.9ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1715
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
1716
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1717
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1718
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1719
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:09:12 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:09:12 UTC +00:00]]
|
1720
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:09:12 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:09:12 UTC +00:00]]
|
1721
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 4], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:09:12 UTC +00:00], ["parent_id", 3], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:09:12 UTC +00:00]]
|
1722
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "plies".* FROM "plies"[0m
|
1723
|
+
[1m[35m (0.5ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 3]]
|
1724
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 3]]
|
1725
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 4]]
|
1726
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 4]]
|
1727
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1728
|
+
[1m[36m (1.7ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1729
|
+
[1m[35m (5.3ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1730
|
+
[1m[36m (17.2ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1731
|
+
[1m[35m (0.7ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1732
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
1733
|
+
[1m[35m (0.7ms)[0m COMMIT
|
1734
|
+
[1m[36m (0.7ms)[0m [1mBEGIN[0m
|
1735
|
+
[1m[35mSQL (10.8ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:09:52 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:09:52 UTC +00:00]]
|
1736
|
+
[1m[36mPlyRelation Load (2.9ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
1737
|
+
[1m[35m (0.8ms)[0m ROLLBACK
|
1738
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1739
|
+
[1m[35m (0.5ms)[0m COMMIT
|
1740
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1741
|
+
[1m[35mSQL (3.5ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:09:52 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:09:52 UTC +00:00]]
|
1742
|
+
[1m[36mSQL (2.0ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:09:52 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:09:52 UTC +00:00]]
|
1743
|
+
[1m[35mSQL (1.8ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:09:52 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:09:52 UTC +00:00]]
|
1744
|
+
[1m[36mInvoice Load (2.3ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1745
|
+
[1m[35m (2.5ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1746
|
+
[1m[36m (2.1ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1747
|
+
[1m[35mPliable::Ply Load (2.7ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 AND "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1 [["parent_id", 1]]
|
1748
|
+
[1m[36m (1.2ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
1749
|
+
[1m[35m (1.2ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
1750
|
+
[1m[36m (1.0ms)[0m [1mROLLBACK[0m
|
1751
|
+
[1m[35m (0.7ms)[0m BEGIN
|
1752
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
1753
|
+
[1m[35m (0.5ms)[0m BEGIN
|
1754
|
+
[1m[36mSQL (1.9ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:09:52 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:09:52 UTC +00:00]]
|
1755
|
+
[1m[35mSQL (1.8ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:09:52 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:09:52 UTC +00:00]]
|
1756
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["child_id", 4], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:09:52 UTC +00:00], ["parent_id", 3], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:09:52 UTC +00:00]]
|
1757
|
+
[1m[35mInvoice Load (1.1ms)[0m SELECT "plies".* FROM "plies"
|
1758
|
+
[1m[36m (1.5ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 3]]
|
1759
|
+
[1m[35m (1.2ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 3]]
|
1760
|
+
[1m[36m (1.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 4]]
|
1761
|
+
[1m[35m (1.3ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 4]]
|
1762
|
+
[1m[36m (0.7ms)[0m [1mROLLBACK[0m
|
1763
|
+
[1m[36m (1.8ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1764
|
+
[1m[35m (5.9ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1765
|
+
[1m[36m (13.4ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1766
|
+
[1m[35m (0.8ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1767
|
+
[1m[36m (0.7ms)[0m [1mBEGIN[0m
|
1768
|
+
[1m[35m (0.8ms)[0m COMMIT
|
1769
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
1770
|
+
[1m[35mSQL (11.4ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:10:08 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:10:08 UTC +00:00]]
|
1771
|
+
[1m[36mPlyRelation Load (2.3ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
1772
|
+
[1m[35m (0.9ms)[0m ROLLBACK
|
1773
|
+
[1m[36m (0.7ms)[0m [1mBEGIN[0m
|
1774
|
+
[1m[35m (0.6ms)[0m COMMIT
|
1775
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
1776
|
+
[1m[35mSQL (3.7ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:10:08 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:10:08 UTC +00:00]]
|
1777
|
+
[1m[36mSQL (2.2ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:10:08 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:10:08 UTC +00:00]]
|
1778
|
+
[1m[35mSQL (2.1ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:10:08 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:10:08 UTC +00:00]]
|
1779
|
+
[1m[36mInvoice Load (2.6ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1780
|
+
[1m[35m (2.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1781
|
+
[1m[36m (2.0ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1782
|
+
[1m[35mPliable::Ply Load (2.8ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 AND "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1 [["parent_id", 1]]
|
1783
|
+
[1m[36m (1.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
1784
|
+
[1m[35m (1.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
1785
|
+
[1m[36m (0.7ms)[0m [1mROLLBACK[0m
|
1786
|
+
[1m[36m (2.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1787
|
+
[1m[35m (6.0ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1788
|
+
[1m[36m (15.5ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1789
|
+
[1m[35m (1.5ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1790
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
1791
|
+
[1m[35m (0.5ms)[0m COMMIT
|
1792
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1793
|
+
[1m[35mSQL (13.4ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:12:04 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:12:04 UTC +00:00]]
|
1794
|
+
[1m[36mPlyRelation Load (2.5ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
1795
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
1796
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1797
|
+
[1m[35m (0.4ms)[0m COMMIT
|
1798
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1799
|
+
[1m[35mSQL (3.7ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:12:04 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:12:04 UTC +00:00]]
|
1800
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:12:04 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:12:04 UTC +00:00]]
|
1801
|
+
[1m[35mSQL (2.1ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:12:04 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:12:04 UTC +00:00]]
|
1802
|
+
[1m[36mInvoice Load (2.2ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1803
|
+
[1m[35m (2.6ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1804
|
+
[1m[36m (1.9ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1805
|
+
[1m[35mPliable::Ply Load (2.8ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 AND "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1 [["parent_id", 1]]
|
1806
|
+
[1m[36m (1.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
1807
|
+
[1m[35m (1.3ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
1808
|
+
[1m[36m (0.8ms)[0m [1mROLLBACK[0m
|
1809
|
+
[1m[36m (2.0ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1810
|
+
[1m[35m (6.6ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1811
|
+
[1m[36m (13.1ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1812
|
+
[1m[35m (1.0ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1813
|
+
[1m[36m (0.8ms)[0m [1mBEGIN[0m
|
1814
|
+
[1m[35m (0.8ms)[0m COMMIT
|
1815
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
1816
|
+
[1m[35mSQL (16.4ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:12:28 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:12:28 UTC +00:00]]
|
1817
|
+
[1m[36mPlyRelation Load (2.4ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
1818
|
+
[1m[35m (0.8ms)[0m ROLLBACK
|
1819
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1820
|
+
[1m[35m (0.4ms)[0m COMMIT
|
1821
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1822
|
+
[1m[35mSQL (3.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:12:28 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:12:28 UTC +00:00]]
|
1823
|
+
[1m[36mSQL (2.0ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:12:28 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:12:28 UTC +00:00]]
|
1824
|
+
[1m[35mSQL (2.1ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:12:28 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:12:28 UTC +00:00]]
|
1825
|
+
[1m[36mInvoice Load (2.7ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1826
|
+
[1m[35m (2.9ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1827
|
+
[1m[36m (2.5ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1828
|
+
[1m[35mPliable::Ply Load (3.2ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 AND "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1 [["parent_id", 1]]
|
1829
|
+
[1m[36m (1.8ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
1830
|
+
[1m[35m (1.1ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
1831
|
+
[1m[36m (0.9ms)[0m [1mROLLBACK[0m
|
1832
|
+
[1m[36m (1.7ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1833
|
+
[1m[35m (5.1ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1834
|
+
[1m[36m (18.1ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1835
|
+
[1m[35m (0.8ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1836
|
+
[1m[36m (0.7ms)[0m [1mBEGIN[0m
|
1837
|
+
[1m[35m (0.6ms)[0m COMMIT
|
1838
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
1839
|
+
[1m[35mSQL (11.9ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:12:46 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:12:46 UTC +00:00]]
|
1840
|
+
[1m[36mPlyRelation Load (2.4ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
1841
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
1842
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
1843
|
+
[1m[35m (0.5ms)[0m COMMIT
|
1844
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
1845
|
+
[1m[35mSQL (3.7ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:12:46 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:12:46 UTC +00:00]]
|
1846
|
+
[1m[36mSQL (2.0ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:12:46 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:12:46 UTC +00:00]]
|
1847
|
+
[1m[35mSQL (1.8ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:12:46 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:12:46 UTC +00:00]]
|
1848
|
+
[1m[36mInvoice Load (2.3ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1849
|
+
[1m[35m (2.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1850
|
+
[1m[36m (2.0ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1851
|
+
[1m[35mPliable::Ply Load (2.6ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 AND "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1 [["parent_id", 1]]
|
1852
|
+
[1m[36m (1.3ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
1853
|
+
[1m[35m (1.2ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
1854
|
+
[1m[36m (0.8ms)[0m [1mROLLBACK[0m
|
1855
|
+
[1m[36m (1.9ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1856
|
+
[1m[35m (5.3ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1857
|
+
[1m[36m (15.1ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1858
|
+
[1m[35m (0.8ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1859
|
+
[1m[36m (0.7ms)[0m [1mBEGIN[0m
|
1860
|
+
[1m[35m (0.5ms)[0m COMMIT
|
1861
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
1862
|
+
[1m[35mSQL (12.2ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:13:23 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:13:23 UTC +00:00]]
|
1863
|
+
[1m[36mPlyRelation Load (2.4ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
1864
|
+
[1m[35m (0.9ms)[0m ROLLBACK
|
1865
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1866
|
+
[1m[35m (0.4ms)[0m COMMIT
|
1867
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1868
|
+
[1m[35mSQL (3.7ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:13:23 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:13:23 UTC +00:00]]
|
1869
|
+
[1m[36mSQL (2.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:13:23 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:13:23 UTC +00:00]]
|
1870
|
+
[1m[35mSQL (2.1ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:13:23 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:13:23 UTC +00:00]]
|
1871
|
+
[1m[36mInvoice Load (1.7ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1872
|
+
[1m[35m (2.6ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1873
|
+
[1m[36m (1.9ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1874
|
+
[1m[35mPliable::Ply Load (2.7ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 AND "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1 [["parent_id", 1]]
|
1875
|
+
[1m[36m (1.3ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
1876
|
+
[1m[35m (1.3ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
1877
|
+
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
1878
|
+
[1m[36m (1.7ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1879
|
+
[1m[35m (5.4ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1880
|
+
[1m[36m (16.6ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1881
|
+
[1m[35m (0.8ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1882
|
+
[1m[36m (1.5ms)[0m [1mBEGIN[0m
|
1883
|
+
[1m[35m (0.5ms)[0m COMMIT
|
1884
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
1885
|
+
[1m[35mSQL (12.2ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:15:43 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:15:43 UTC +00:00]]
|
1886
|
+
[1m[36mPlyRelation Load (2.5ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
1887
|
+
[1m[35m (0.9ms)[0m ROLLBACK
|
1888
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1889
|
+
[1m[35m (0.4ms)[0m COMMIT
|
1890
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1891
|
+
[1m[35mSQL (3.7ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:15:44 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:15:44 UTC +00:00]]
|
1892
|
+
[1m[36mSQL (2.2ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:15:44 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:15:44 UTC +00:00]]
|
1893
|
+
[1m[35mSQL (2.0ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:15:44 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:15:44 UTC +00:00]]
|
1894
|
+
[1m[36mInvoice Load (1.9ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1895
|
+
[1m[35m (2.9ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1896
|
+
[1m[36m (1.8ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1897
|
+
[1m[35mPliable::Ply Load (2.7ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 AND "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1 [["parent_id", 1]]
|
1898
|
+
[1m[36m (1.6ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
1899
|
+
[1m[35m (1.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
1900
|
+
[1m[36m (0.7ms)[0m [1mROLLBACK[0m
|
1901
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1902
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1903
|
+
[1m[36m (5.9ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1904
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1905
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1906
|
+
[1m[35m (0.2ms)[0m COMMIT
|
1907
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1908
|
+
[1m[35mSQL (3.5ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:21:59 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:21:59 UTC +00:00]]
|
1909
|
+
[1m[36mPlyRelation Load (1.1ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
1910
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
1911
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1912
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1913
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1914
|
+
[1m[35mSQL (2.0ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:21:59 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:21:59 UTC +00:00]]
|
1915
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:21:59 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:21:59 UTC +00:00]]
|
1916
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:21:59 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:21:59 UTC +00:00]]
|
1917
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1918
|
+
[1m[35m (0.9ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1919
|
+
[1m[36m (0.5ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1920
|
+
[1m[35mPliable::Ply Load (0.9ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 AND "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1 [["parent_id", 1]]
|
1921
|
+
[1m[36m (0.5ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
1922
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
1923
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1924
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1925
|
+
[1m[35m (3.1ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1926
|
+
[1m[36m (4.8ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1927
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1928
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1929
|
+
[1m[35m (0.2ms)[0m COMMIT
|
1930
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1931
|
+
[1m[35mSQL (3.4ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:22:17 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:22:17 UTC +00:00]]
|
1932
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
1933
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
1934
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1935
|
+
[1m[35m (0.2ms)[0m COMMIT
|
1936
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1937
|
+
[1m[35mSQL (2.0ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:22:17 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:22:17 UTC +00:00]]
|
1938
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:22:17 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:22:17 UTC +00:00]]
|
1939
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:22:17 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:22:17 UTC +00:00]]
|
1940
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1941
|
+
[1m[35m (0.9ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1942
|
+
[1m[36m (0.5ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1943
|
+
[1m[35mPliable::Ply Load (0.9ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 AND "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1 [["parent_id", 1]]
|
1944
|
+
[1m[36m (0.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
1945
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
1946
|
+
[1m[36mInvoice Load (0.4ms)[0m [1mSELECT "plies".* FROM "plies"[0m
|
1947
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1948
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1949
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 2]]
|
1950
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 2]]
|
1951
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1952
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1953
|
+
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1954
|
+
[1m[36m (4.7ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1955
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1956
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1957
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1958
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1959
|
+
[1m[35mSQL (3.8ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:22:30 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:22:30 UTC +00:00]]
|
1960
|
+
[1m[36mPlyRelation Load (1.1ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
1961
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1962
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1963
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1964
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1965
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:22:30 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:22:30 UTC +00:00]]
|
1966
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:22:30 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:22:30 UTC +00:00]]
|
1967
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:22:30 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:22:30 UTC +00:00]]
|
1968
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "plies".* FROM "plies" ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1969
|
+
[1m[35m (0.9ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1970
|
+
[1m[36m (0.6ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1971
|
+
[1m[35mPliable::Ply Load (0.9ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 AND "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1 [["parent_id", 1]]
|
1972
|
+
[1m[36m (0.5ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
1973
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
1974
|
+
[1m[36mInvoice Load (0.4ms)[0m [1mSELECT "plies".* FROM "plies"[0m
|
1975
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
1976
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
1977
|
+
[1m[35m (0.5ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 2]]
|
1978
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 2]]
|
1979
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1980
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1981
|
+
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
1982
|
+
[1m[36m (4.3ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
1983
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
1984
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1985
|
+
[1m[35m (0.2ms)[0m COMMIT
|
1986
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1987
|
+
[1m[35mSQL (3.5ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:25:03 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:25:03 UTC +00:00]]
|
1988
|
+
[1m[36mPlyRelation Load (0.9ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
1989
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
1990
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1991
|
+
[1m[35m (0.2ms)[0m COMMIT
|
1992
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1993
|
+
[1m[35mSQL (1.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:25:03 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:25:03 UTC +00:00]]
|
1994
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:25:03 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:25:03 UTC +00:00]]
|
1995
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:25:03 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:25:03 UTC +00:00]]
|
1996
|
+
[1m[36mInvoice Load (0.7ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Merchandise__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
1997
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1998
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
1999
|
+
[1m[35m (3.0ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
2000
|
+
[1m[36m (6.6ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
2001
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
2002
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2003
|
+
[1m[35m (0.2ms)[0m COMMIT
|
2004
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2005
|
+
[1m[35mSQL (5.9ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:37:04 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:37:04 UTC +00:00]]
|
2006
|
+
[1m[36mPlyRelation Load (1.1ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
2007
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
2008
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2009
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2010
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2011
|
+
[1m[35mSQL (1.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:37:04 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:37:04 UTC +00:00]]
|
2012
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:37:04 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:37:04 UTC +00:00]]
|
2013
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:37:04 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:37:04 UTC +00:00]]
|
2014
|
+
[1m[36mInvoice Load (0.9ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2015
|
+
[1m[35m (0.8ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2016
|
+
[1m[36m (0.6ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2017
|
+
[1m[35mPliable::Ply Load (0.8ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 AND "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1 [["parent_id", 1]]
|
2018
|
+
[1m[36m (0.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
2019
|
+
[1m[35m (0.3ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
2020
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c'[0m
|
2021
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2022
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2023
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2024
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
2025
|
+
[1m[35m (1.6ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
2026
|
+
[1m[36m (6.3ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
2027
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
2028
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2029
|
+
[1m[35m (0.2ms)[0m COMMIT
|
2030
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2031
|
+
[1m[35mSQL (3.5ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:38:20 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:38:20 UTC +00:00]]
|
2032
|
+
[1m[36mPlyRelation Load (0.9ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
2033
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
2034
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2035
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2036
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2037
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:38:20 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:38:20 UTC +00:00]]
|
2038
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:38:20 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:38:20 UTC +00:00]]
|
2039
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:38:20 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:38:20 UTC +00:00]]
|
2040
|
+
[1m[36mInvoice Load (0.6ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2041
|
+
[1m[35m (0.8ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2042
|
+
[1m[36m (0.5ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2043
|
+
[1m[35mPliable::Ply Load (0.7ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 AND "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1 [["parent_id", 1]]
|
2044
|
+
[1m[36m (0.5ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
2045
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
2046
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c'[0m
|
2047
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2048
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2049
|
+
[1m[35mInvoice Load (0.4ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' AND "plies"."last_modified" = '2014-01-19 07:48:35'
|
2050
|
+
[1m[36m (0.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 1]]
|
2051
|
+
[1m[35m (0.3ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 1]]
|
2052
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2053
|
+
[1m[36m (0.7ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
2054
|
+
[1m[35m (1.8ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
2055
|
+
[1m[36m (3.9ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
2056
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
2057
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2058
|
+
[1m[35m (0.2ms)[0m COMMIT
|
2059
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2060
|
+
[1m[35mSQL (3.3ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:38:40 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:38:40 UTC +00:00]]
|
2061
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
2062
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
2063
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2064
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2065
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2066
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:38:40 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:38:40 UTC +00:00]]
|
2067
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:38:40 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:38:40 UTC +00:00]]
|
2068
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:38:40 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:38:40 UTC +00:00]]
|
2069
|
+
[1m[36mInvoice Load (0.6ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2070
|
+
[1m[35m (0.9ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2071
|
+
[1m[36m (0.6ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2072
|
+
[1m[35mPliable::Ply Load (0.9ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 AND "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1 [["parent_id", 1]]
|
2073
|
+
[1m[36m (0.5ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
2074
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
2075
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c'[0m
|
2076
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2077
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2078
|
+
[1m[35mInvoice Load (0.4ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' AND "plies"."last_modified" = '2014-01-19 07:48:35'
|
2079
|
+
[1m[36m (0.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 1]]
|
2080
|
+
[1m[35m (0.5ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 1]]
|
2081
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2082
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
2083
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
2084
|
+
[1m[36m (4.4ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
2085
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
2086
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2087
|
+
[1m[35m (0.2ms)[0m COMMIT
|
2088
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2089
|
+
[1m[35mSQL (3.4ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:39:33 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:39:33 UTC +00:00]]
|
2090
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
2091
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
2092
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2093
|
+
[1m[35m (0.2ms)[0m COMMIT
|
2094
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2095
|
+
[1m[35mSQL (1.5ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:39:33 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:39:33 UTC +00:00]]
|
2096
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:39:33 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:39:33 UTC +00:00]]
|
2097
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:39:33 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:39:33 UTC +00:00]]
|
2098
|
+
[1m[36mInvoice Load (0.6ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2099
|
+
[1m[35m (1.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2100
|
+
[1m[36m (0.6ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2101
|
+
[1m[35mPliable::Ply Load (0.9ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 AND "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1 [["parent_id", 1]]
|
2102
|
+
[1m[36m (0.5ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
2103
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
2104
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c'[0m
|
2105
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2106
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2107
|
+
[1m[35mInvoice Load (0.5ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' AND "plies"."last_modified" = '2014-01-19 07:48:35'
|
2108
|
+
[1m[36m (0.5ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 1]]
|
2109
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 1]]
|
2110
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2111
|
+
[1m[35m (0.5ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2112
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2113
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
2114
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
2115
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
2116
|
+
[1m[36m (6.4ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
2117
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
2118
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2119
|
+
[1m[35m (0.2ms)[0m COMMIT
|
2120
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2121
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:40:31 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:40:31 UTC +00:00]]
|
2122
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
2123
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
2124
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2125
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2126
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2127
|
+
[1m[35mSQL (1.7ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:40:31 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:40:31 UTC +00:00]]
|
2128
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:40:31 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:40:31 UTC +00:00]]
|
2129
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:40:31 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:40:31 UTC +00:00]]
|
2130
|
+
[1m[36mInvoice Load (0.6ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2131
|
+
[1m[35m (0.9ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2132
|
+
[1m[36m (0.5ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2133
|
+
[1m[35mPliable::Ply Load (0.8ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 AND "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1 [["parent_id", 1]]
|
2134
|
+
[1m[36m (0.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
2135
|
+
[1m[35m (0.3ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
2136
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c'[0m
|
2137
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2138
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2139
|
+
[1m[35mInvoice Load (0.4ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' AND "plies"."last_modified" = '2014-01-19 07:48:35'
|
2140
|
+
[1m[36m (0.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 1]]
|
2141
|
+
[1m[35m (0.3ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 1]]
|
2142
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2143
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2144
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2145
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2146
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
2147
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
2148
|
+
[1m[36m (6.3ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
2149
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
2150
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2151
|
+
[1m[35m (0.2ms)[0m COMMIT
|
2152
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2153
|
+
[1m[35mSQL (3.4ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:41:06 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:41:06 UTC +00:00]]
|
2154
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
2155
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
2156
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2157
|
+
[1m[35m (0.2ms)[0m COMMIT
|
2158
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2159
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:41:06 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:41:06 UTC +00:00]]
|
2160
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:41:06 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:41:06 UTC +00:00]]
|
2161
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:41:06 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:41:06 UTC +00:00]]
|
2162
|
+
[1m[36mInvoice Load (1.0ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2163
|
+
[1m[35m (0.8ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2164
|
+
[1m[36m (0.5ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2165
|
+
[1m[35mPliable::Ply Load (0.8ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 AND "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1 [["parent_id", 1]]
|
2166
|
+
[1m[36m (0.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
2167
|
+
[1m[35m (0.3ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
2168
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c'[0m
|
2169
|
+
[1m[35m (0.5ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2170
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2171
|
+
[1m[35mInvoice Load (0.4ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' AND "plies"."last_modified" = '2014-01-19 07:48:35'
|
2172
|
+
[1m[36m (0.5ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 1]]
|
2173
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 1]]
|
2174
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2175
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2176
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2177
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "plies"
|
2178
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "plies" WHERE "plies"."otype" = 'Invoice__c'[0m
|
2179
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
2180
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
2181
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
2182
|
+
[1m[36m (5.7ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
2183
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
2184
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2185
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2186
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2187
|
+
[1m[35mSQL (3.6ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:41:40 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 08:41:40 UTC +00:00]]
|
2188
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
2189
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2190
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2191
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2192
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2193
|
+
[1m[35mSQL (1.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 08:41:40 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:41:40 UTC +00:00]]
|
2194
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 08:41:40 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 08:41:40 UTC +00:00]]
|
2195
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 08:41:40 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 08:41:40 UTC +00:00]]
|
2196
|
+
[1m[36mInvoice Load (0.9ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2197
|
+
[1m[35m (1.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2198
|
+
[1m[36m (0.6ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2199
|
+
[1m[35mPliable::Ply Load (0.9ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 AND "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1 [["parent_id", 1]]
|
2200
|
+
[1m[36m (0.6ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
2201
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
2202
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c'[0m
|
2203
|
+
[1m[35m (0.7ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2204
|
+
[1m[36m (0.6ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2205
|
+
[1m[35mInvoice Load (0.8ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' AND "plies"."last_modified" = '2014-01-19 07:48:35'
|
2206
|
+
[1m[36m (0.7ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 1]]
|
2207
|
+
[1m[35m (0.5ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 1]]
|
2208
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2209
|
+
[1m[35m (0.7ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2210
|
+
[1m[36m (0.6ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2211
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "plies"
|
2212
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "plies" WHERE "plies"."otype" = 'Invoice__c'[0m
|
2213
|
+
[1m[35mLineItem Load (0.5ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1
|
2214
|
+
[1m[36m (0.6ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
2215
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
2216
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2217
|
+
[1m[35m (0.5ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2218
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2219
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
2220
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
2221
|
+
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
2222
|
+
[1m[36m (3.9ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
2223
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
2224
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2225
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2226
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2227
|
+
[1m[35mSQL (7.3ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 21 Jan 2014 21:23:33 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 21:23:33 UTC +00:00]]
|
2228
|
+
[1m[36mPlyRelation Load (0.9ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
2229
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2230
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2231
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2232
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2233
|
+
[1m[35mSQL (1.9ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Tue, 21 Jan 2014 21:23:33 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 21:23:33 UTC +00:00]]
|
2234
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 21 Jan 2014 21:23:33 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Tue, 21 Jan 2014 21:23:33 UTC +00:00]]
|
2235
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Tue, 21 Jan 2014 21:23:33 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Tue, 21 Jan 2014 21:23:33 UTC +00:00]]
|
2236
|
+
[1m[36mInvoice Load (0.8ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2237
|
+
[1m[35m (1.1ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2238
|
+
[1m[36m (0.7ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2239
|
+
[1m[35mPliable::Ply Load (1.0ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 AND "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1 [["parent_id", 1]]
|
2240
|
+
[1m[36m (0.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
2241
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
2242
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c'[0m
|
2243
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2244
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2245
|
+
[1m[35mInvoice Load (0.4ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' AND "plies"."last_modified" = '2014-01-19 07:48:35'
|
2246
|
+
[1m[36m (0.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 1]]
|
2247
|
+
[1m[35m (0.3ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 1]]
|
2248
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2249
|
+
[1m[35m (0.3ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2250
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2251
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "plies"
|
2252
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "plies" WHERE "plies"."otype" = 'Invoice__c'[0m
|
2253
|
+
[1m[35mLineItem Load (0.3ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1
|
2254
|
+
[1m[36m (0.5ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
2255
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
2256
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2257
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2258
|
+
[1m[36m (0.2ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2259
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
2260
|
+
[1m[36m (3.8ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
2261
|
+
[1m[35m (11.6ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
2262
|
+
[1m[36m (9.3ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
2263
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
2264
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2265
|
+
[1m[35m (0.2ms)[0m COMMIT
|
2266
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2267
|
+
[1m[35mSQL (4.7ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 22 Jan 2014 04:57:37 UTC +00:00], ["updated_at", Wed, 22 Jan 2014 04:57:37 UTC +00:00]]
|
2268
|
+
[1m[36mPlyRelation Load (1.2ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
2269
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2270
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2271
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2272
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2273
|
+
[1m[35mSQL (2.2ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Wed, 22 Jan 2014 04:57:37 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Wed, 22 Jan 2014 04:57:37 UTC +00:00]]
|
2274
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Wed, 22 Jan 2014 04:57:37 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Wed, 22 Jan 2014 04:57:37 UTC +00:00]]
|
2275
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Wed, 22 Jan 2014 04:57:37 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Wed, 22 Jan 2014 04:57:37 UTC +00:00]]
|
2276
|
+
[1m[36mInvoice Load (0.7ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2277
|
+
[1m[35m (0.8ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2278
|
+
[1m[36m (0.6ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2279
|
+
[1m[35mPliable::Ply Load (0.7ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 AND "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1 [["parent_id", 1]]
|
2280
|
+
[1m[36m (0.4ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
2281
|
+
[1m[35m (0.3ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
2282
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c'[0m
|
2283
|
+
[1m[35m (0.5ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2284
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2285
|
+
[1m[35mInvoice Load (1.7ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' AND "plies"."last_modified" = '2014-01-19 07:48:35'
|
2286
|
+
[1m[36m (0.5ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 1]]
|
2287
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 1]]
|
2288
|
+
[1m[36mInvoice Load (0.4ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2289
|
+
[1m[35m (0.5ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2290
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2291
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "plies"
|
2292
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "plies" WHERE "plies"."otype" = 'Invoice__c'[0m
|
2293
|
+
[1m[35mLineItem Load (0.3ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1
|
2294
|
+
[1m[36m (0.6ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
2295
|
+
[1m[35m (0.6ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
2296
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2297
|
+
[1m[35m (0.6ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2298
|
+
[1m[36m (0.3ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2299
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
2300
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "plies" DISABLE TRIGGER ALL;ALTER TABLE "ply_relations" DISABLE TRIGGER ALL[0m
|
2301
|
+
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
2302
|
+
[1m[36m (5.1ms)[0m [1mTRUNCATE TABLE "plies", "ply_relations" RESTART IDENTITY CASCADE;[0m
|
2303
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "plies" ENABLE TRIGGER ALL;ALTER TABLE "ply_relations" ENABLE TRIGGER ALL
|
2304
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2305
|
+
[1m[35m (0.2ms)[0m COMMIT
|
2306
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2307
|
+
[1m[35mSQL (4.0ms)[0m INSERT INTO "ply_relations" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 22 Jan 2014 04:57:47 UTC +00:00], ["updated_at", Wed, 22 Jan 2014 04:57:47 UTC +00:00]]
|
2308
|
+
[1m[36mPlyRelation Load (0.8ms)[0m [1mSELECT "ply_relations".* FROM "ply_relations" WHERE "ply_relations"."id" = $1 LIMIT 1[0m [["id", 1]]
|
2309
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2310
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2311
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2312
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2313
|
+
[1m[35mSQL (1.6ms)[0m INSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Wed, 22 Jan 2014 04:57:47 UTC +00:00], ["data", {"Id"=>"r@nd0m1d111", "IsDeleted"=>false, "Name"=>"INV-0000"}], ["last_checked", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:35 UTC +00:00], ["oid", "r@nd0m1d000"], ["otype", "Invoice__c"], ["updated_at", Wed, 22 Jan 2014 04:57:47 UTC +00:00]]
|
2314
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "plies" ("created_at", "data", "last_checked", "last_modified", "oid", "otype", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Wed, 22 Jan 2014 04:57:47 UTC +00:00], ["data", {"Id"=>"a01i0000007kDbrAAE", "IsDeleted"=>false, "Name"=>"i"}], ["last_checked", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["last_modified", Sun, 19 Jan 2014 07:48:36 UTC +00:00], ["oid", "a01i0000007kDbrAAE"], ["otype", "Line_Item__c"], ["updated_at", Wed, 22 Jan 2014 04:57:47 UTC +00:00]]
|
2315
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "ply_relations" ("child_id", "child_type", "created_at", "parent_id", "parent_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["child_id", 2], ["child_type", "Line_Item__c"], ["created_at", Wed, 22 Jan 2014 04:57:47 UTC +00:00], ["parent_id", 1], ["parent_type", "Invoice__c"], ["updated_at", Wed, 22 Jan 2014 04:57:47 UTC +00:00]]
|
2316
|
+
[1m[36mInvoice Load (0.7ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2317
|
+
[1m[35m (0.9ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2318
|
+
[1m[36m (0.6ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2319
|
+
[1m[35mPliable::Ply Load (0.8ms)[0m SELECT "plies".* FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 AND "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1 [["parent_id", 1]]
|
2320
|
+
[1m[36m (0.5ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
2321
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
2322
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c'[0m
|
2323
|
+
[1m[35m (0.4ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2324
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2325
|
+
[1m[35mInvoice Load (0.4ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' AND "plies"."last_modified" = '2014-01-19 07:48:35'
|
2326
|
+
[1m[36m (0.5ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 1]]
|
2327
|
+
[1m[35m (0.4ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 1]]
|
2328
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2329
|
+
[1m[35m (0.5ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2330
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2331
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "plies"
|
2332
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "plies" WHERE "plies"."otype" = 'Invoice__c'[0m
|
2333
|
+
[1m[35mLineItem Load (0.3ms)[0m SELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Line_Item__c' ORDER BY "plies"."id" ASC LIMIT 1
|
2334
|
+
[1m[36m (0.7ms)[0m [1mSELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1[0m [["parent_id", 2]]
|
2335
|
+
[1m[35m (0.5ms)[0m SELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1 [["child_id", 2]]
|
2336
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "plies".* FROM "plies" WHERE "plies"."otype" = 'Invoice__c' ORDER BY "plies"."id" ASC LIMIT 1[0m
|
2337
|
+
[1m[35m (0.2ms)[0m SELECT child_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."child_id" WHERE "ply_relations"."parent_id" = $1 [["parent_id", 1]]
|
2338
|
+
[1m[36m (0.4ms)[0m [1mSELECT parent_type FROM "plies" INNER JOIN "ply_relations" ON "plies"."id" = "ply_relations"."parent_id" WHERE "ply_relations"."child_id" = $1[0m [["child_id", 1]]
|
2339
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|