panda_pal 5.6.8 → 5.6.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/panda_pal/api_call.rb +1 -1
- data/app/models/panda_pal/organization.rb +12 -4
- data/app/models/panda_pal/platform/canvas.rb +73 -37
- data/app/models/panda_pal/platform.rb +5 -6
- data/lib/panda_pal/version.rb +1 -1
- data/spec/dummy/log/test.log +1046 -0
- metadata +1 -1
data/spec/dummy/log/test.log
CHANGED
@@ -18552,3 +18552,1049 @@ Completed 403 Forbidden in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
18552
18552
|
[1m[36mActiveRecord::InternalMetadata Create (0.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2022-12-20 23:36:03.634659"], ["updated_at", "2022-12-20 23:36:03.634659"]]
|
18553
18553
|
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18554
18554
|
[1m[35m (2.3ms)[0m [1m[31mROLLBACK[0m
|
18555
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
18556
|
+
[1m[35mSQL (1.0ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
18557
|
+
[1m[35m (7.5ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
18558
|
+
[1m[35m (17.5ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18559
|
+
[1m[35m (3.1ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
18560
|
+
[1m[35m (10.0ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
18561
|
+
[1m[35m (6.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
18562
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
18563
|
+
[1m[35m (2.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
18564
|
+
[1m[35m (9.2ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
18565
|
+
[1m[35m (5.1ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
18566
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
18567
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
18568
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
18569
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
18570
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
18571
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
18572
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
18573
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18574
|
+
[1m[36mPandaPal::ApiCall Create (0.6ms)[0m [1m[32mINSERT INTO "panda_pal_api_calls" ("logic", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["logic", "\"\#{p[:foo]}_bar\""], ["created_at", "2023-04-17 17:41:23.644232"], ["updated_at", "2023-04-17 17:41:23.644232"]]
|
18575
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18576
|
+
[1m[36mPandaPal::Organization Load (0.3ms)[0m [1m[34mSELECT "public"."panda_pal_organizations".* FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."name" = $1 LIMIT $2[0m [["name", "public"], ["LIMIT", 1]]
|
18577
|
+
Processing by PandaPal::ApiCallController#call as HTML
|
18578
|
+
Parameters: {"foo"=>"bar", "token"=>"eyJhbGciOiJIUzI1NiJ9.eyJhcGlfY2FsbF9pZCI6MSwib3JnYW5pemF0aW9uX2lkIjpudWxsfQ.FdMR5USchKdhBKWiebOhptm6ZSVF8ObhQ2Z7PvWGhwU", "use_route"=>"panda_pal"}
|
18579
|
+
[1m[36mPandaPal::ApiCall Load (0.2ms)[0m [1m[34mSELECT "panda_pal_api_calls".* FROM "panda_pal_api_calls" WHERE "panda_pal_api_calls"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
|
18580
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
18581
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
18582
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
18583
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18584
|
+
[1m[36mPandaPal::ApiCall Create (0.4ms)[0m [1m[32mINSERT INTO "panda_pal_api_calls" ("logic", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["logic", "\"\#{p[:foo]}_bar\""], ["created_at", "2023-04-17 17:41:23.749717"], ["updated_at", "2023-04-17 17:41:23.749717"]]
|
18585
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18586
|
+
Processing by PandaPal::ApiCallController#call as HTML
|
18587
|
+
Parameters: {"foo"=>"bar", "token"=>"bad.jwt.token", "use_route"=>"panda_pal"}
|
18588
|
+
Completed 403 Forbidden in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
18589
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
18590
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
18591
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18592
|
+
[1m[36mPandaPal::ApiCall Create (0.3ms)[0m [1m[32mINSERT INTO "panda_pal_api_calls" ("logic", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["logic", "\"\#{p[:foo]}_bar\""], ["created_at", "2023-04-17 17:41:23.755678"], ["updated_at", "2023-04-17 17:41:23.755678"]]
|
18593
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18594
|
+
[1m[36mPandaPal::Organization Load (0.2ms)[0m [1m[34mSELECT "public"."panda_pal_organizations".* FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."name" = $1 LIMIT $2[0m [["name", "public"], ["LIMIT", 1]]
|
18595
|
+
[1m[36mPandaPal::ApiCall Load (0.2ms)[0m [1m[34mSELECT "panda_pal_api_calls".* FROM "panda_pal_api_calls" WHERE "panda_pal_api_calls"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
|
18596
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
18597
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
18598
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18599
|
+
[1m[36mPandaPal::ApiCall Create (0.3ms)[0m [1m[32mINSERT INTO "panda_pal_api_calls" ("logic", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["logic", "\"\#{p[:foo]}_bar\""], ["created_at", "2023-04-17 17:41:23.759773"], ["updated_at", "2023-04-17 17:41:23.759773"]]
|
18600
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18601
|
+
[1m[36mPandaPal::Organization Load (0.3ms)[0m [1m[34mSELECT "public"."panda_pal_organizations".* FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."name" = $1 LIMIT $2[0m [["name", "public"], ["LIMIT", 1]]
|
18602
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
18603
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
18604
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18605
|
+
[1m[36mPandaPal::ApiCall Create (0.3ms)[0m [1m[32mINSERT INTO "panda_pal_api_calls" ("logic", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["logic", "\"\#{p[:foo]}_bar\""], ["created_at", "2023-04-17 17:41:23.772086"], ["updated_at", "2023-04-17 17:41:23.772086"]]
|
18606
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18607
|
+
[1m[36mPandaPal::Organization Load (0.2ms)[0m [1m[34mSELECT "public"."panda_pal_organizations".* FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."name" = $1 LIMIT $2[0m [["name", "public"], ["LIMIT", 1]]
|
18608
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
18609
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
18610
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18611
|
+
[1m[36mPandaPal::ApiCall Create (0.3ms)[0m [1m[32mINSERT INTO "panda_pal_api_calls" ("logic", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["logic", "\"\#{p[:foo]}_bar\""], ["created_at", "2023-04-17 17:41:23.775779"], ["updated_at", "2023-04-17 17:41:23.775779"]]
|
18612
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18613
|
+
[1m[36mPandaPal::Organization Load (0.2ms)[0m [1m[34mSELECT "public"."panda_pal_organizations".* FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."name" = $1 LIMIT $2[0m [["name", "public"], ["LIMIT", 1]]
|
18614
|
+
[1m[36mPandaPal::Organization Load (0.4ms)[0m [1m[34mSELECT "public"."panda_pal_organizations".* FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."name" = $1 LIMIT $2[0m [["name", "public"], ["LIMIT", 1]]
|
18615
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
18616
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
18617
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18618
|
+
[1m[36mPandaPal::Organization Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "206baf0f7d338bd5f5519e6861797be6"], ["LIMIT", 1]]
|
18619
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "0570b6e93fb832697c61d3cf89bc2ee5"], ["LIMIT", 1]]
|
18620
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "151725495545a41c655a6d84ce2684bf"], ["LIMIT", 1]]
|
18621
|
+
[1m[36mPandaPal::Organization Create (0.9ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "0570b6e93fb832697c61d3cf89bc2ee5"], ["key", "206baf0f7d338bd5f5519e6861797be6"], ["secret", "a210d05e7a5f343fc69731292fccfae1"], ["canvas_account_id", "4429"], ["created_at", "2023-04-17 17:41:23.795640"], ["updated_at", "2023-04-17 17:41:23.795640"], ["salesforce_id", "151725495545a41c655a6d84ce2684bf"], ["encrypted_settings_iv", "GTt3eLfAWi1hC+AJ\n"]]
|
18622
|
+
[1m[35m (0.7ms)[0m [1m[35mCREATE SCHEMA "0570b6e93fb832697c61d3cf89bc2ee5"[0m
|
18623
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
18624
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
18625
|
+
[1m[35m (17.4ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18626
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
18627
|
+
[1m[35m (7.7ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
18628
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
18629
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
18630
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
18631
|
+
[1m[35m (9.8ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
18632
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
18633
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
18634
|
+
[1m[35m (9.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
18635
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
18636
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
18637
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
18638
|
+
(20160413135653),
|
18639
|
+
(20160425130344),
|
18640
|
+
(20171205194657),
|
18641
|
+
(20170106165533),
|
18642
|
+
(20160412205931),
|
18643
|
+
(20171205183457);
|
18644
|
+
|
18645
|
+
[0m
|
18646
|
+
[1m[35m (8.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18647
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
18648
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:23.884515"], ["updated_at", "2023-04-17 17:41:23.884515"]]
|
18649
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18650
|
+
[1m[36mPandaPal::Organization Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "206baf0f7d338bd5f5519e6861797be6"], ["id", 1], ["LIMIT", 1]]
|
18651
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "0570b6e93fb832697c61d3cf89bc2ee5"], ["id", 1], ["LIMIT", 1]]
|
18652
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "151725495545a41c655a6d84ce2684bf"], ["id", 1], ["LIMIT", 1]]
|
18653
|
+
[1m[35m (2.0ms)[0m [1m[31mROLLBACK[0m
|
18654
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
18655
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18656
|
+
[1m[36mPandaPal::Organization Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "05cb16db6957346f1c5360db168a2dd3"], ["LIMIT", 1]]
|
18657
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "b24c840b5bfcba784ab66cbc55d268a3"], ["LIMIT", 1]]
|
18658
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "73e8bbe609c6690a98412620a81a2361"], ["LIMIT", 1]]
|
18659
|
+
[1m[36mPandaPal::Organization Create (0.2ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "b24c840b5bfcba784ab66cbc55d268a3"], ["key", "05cb16db6957346f1c5360db168a2dd3"], ["secret", "2798c66647ad130e1d42ab9018095a99"], ["canvas_account_id", "6862"], ["created_at", "2023-04-17 17:41:23.901181"], ["updated_at", "2023-04-17 17:41:23.901181"], ["salesforce_id", "73e8bbe609c6690a98412620a81a2361"], ["encrypted_settings_iv", "BJpHnkNp2vzmUxww\n"]]
|
18660
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE SCHEMA "b24c840b5bfcba784ab66cbc55d268a3"[0m
|
18661
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
18662
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
18663
|
+
[1m[35m (8.1ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18664
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
18665
|
+
[1m[35m (9.0ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
18666
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
18667
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
18668
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
18669
|
+
[1m[35m (12.1ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
18670
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
18671
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
18672
|
+
[1m[35m (8.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
18673
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
18674
|
+
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
18675
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
18676
|
+
(20160413135653),
|
18677
|
+
(20160425130344),
|
18678
|
+
(20171205194657),
|
18679
|
+
(20170106165533),
|
18680
|
+
(20160412205931),
|
18681
|
+
(20171205183457);
|
18682
|
+
|
18683
|
+
[0m
|
18684
|
+
[1m[35m (8.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18685
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
18686
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:23.982794"], ["updated_at", "2023-04-17 17:41:23.982794"]]
|
18687
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18688
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "05cb16db6957346f1c5360db168a2dd3"], ["id", 2], ["LIMIT", 1]]
|
18689
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "b24c840b5bfcba784ab66cbc55d268a3"], ["id", 2], ["LIMIT", 1]]
|
18690
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "73e8bbe609c6690a98412620a81a2361"], ["id", 2], ["LIMIT", 1]]
|
18691
|
+
[1m[35m (2.4ms)[0m [1m[31mROLLBACK[0m
|
18692
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
18693
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18694
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "5b86fc447e89e824eefbee31dae4010d"], ["LIMIT", 1]]
|
18695
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "3fca45e97f7a7673c712833391256b8e"], ["LIMIT", 1]]
|
18696
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "4b76b12f306bb223e05d260cca3c8edc"], ["LIMIT", 1]]
|
18697
|
+
[1m[36mPandaPal::Organization Create (0.4ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "3fca45e97f7a7673c712833391256b8e"], ["key", "5b86fc447e89e824eefbee31dae4010d"], ["secret", "5c36a1d2ac6151dc0f8de3da3b8eb8fc"], ["canvas_account_id", "5758"], ["created_at", "2023-04-17 17:41:24.003418"], ["updated_at", "2023-04-17 17:41:24.003418"], ["salesforce_id", "4b76b12f306bb223e05d260cca3c8edc"], ["encrypted_settings_iv", "cm9cF2xZgj2gpsDj\n"]]
|
18698
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE SCHEMA "3fca45e97f7a7673c712833391256b8e"[0m
|
18699
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
18700
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
18701
|
+
[1m[35m (9.7ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18702
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
18703
|
+
[1m[35m (8.6ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
18704
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
18705
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
18706
|
+
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
18707
|
+
[1m[35m (21.0ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
18708
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
18709
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
18710
|
+
[1m[35m (8.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
18711
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
18712
|
+
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
18713
|
+
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
18714
|
+
(20160413135653),
|
18715
|
+
(20160425130344),
|
18716
|
+
(20171205194657),
|
18717
|
+
(20170106165533),
|
18718
|
+
(20160412205931),
|
18719
|
+
(20171205183457);
|
18720
|
+
|
18721
|
+
[0m
|
18722
|
+
[1m[35m (9.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18723
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
18724
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:24.112764"], ["updated_at", "2023-04-17 17:41:24.112764"]]
|
18725
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18726
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "5b86fc447e89e824eefbee31dae4010d"], ["id", 3], ["LIMIT", 1]]
|
18727
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "3fca45e97f7a7673c712833391256b8e"], ["id", 3], ["LIMIT", 1]]
|
18728
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "4b76b12f306bb223e05d260cca3c8edc"], ["id", 3], ["LIMIT", 1]]
|
18729
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "5b86fc447e89e824eefbee31dae4010d"], ["id", 3], ["LIMIT", 1]]
|
18730
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "3fca45e97f7a7673c712833391256b8e"], ["id", 3], ["LIMIT", 1]]
|
18731
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "4b76b12f306bb223e05d260cca3c8edc"], ["id", 3], ["LIMIT", 1]]
|
18732
|
+
[1m[35m (1.8ms)[0m [1m[31mROLLBACK[0m
|
18733
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
18734
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18735
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "507f3ce2d7ebc267e30a1398dedeb776"], ["LIMIT", 1]]
|
18736
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "b4a207e9f26fa4f06f6865493978a238"], ["LIMIT", 1]]
|
18737
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "65953295f04312dcc4426d0fd2f101e3"], ["LIMIT", 1]]
|
18738
|
+
[1m[36mPandaPal::Organization Create (0.4ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "b4a207e9f26fa4f06f6865493978a238"], ["key", "507f3ce2d7ebc267e30a1398dedeb776"], ["secret", "404f5404c6a1410b08b2b7d2a6165af3"], ["canvas_account_id", "5642"], ["created_at", "2023-04-17 17:41:24.138129"], ["updated_at", "2023-04-17 17:41:24.138129"], ["salesforce_id", "65953295f04312dcc4426d0fd2f101e3"], ["encrypted_settings_iv", "l3ilfeWgKnSpvR5c\n"]]
|
18739
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE SCHEMA "b4a207e9f26fa4f06f6865493978a238"[0m
|
18740
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
18741
|
+
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
18742
|
+
[1m[35m (9.0ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18743
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
18744
|
+
[1m[35m (11.2ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
18745
|
+
[1m[35m (7.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
18746
|
+
[1m[35m (8.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
18747
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
18748
|
+
[1m[35m (19.0ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
18749
|
+
[1m[35m (8.4ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
18750
|
+
[1m[35m (8.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
18751
|
+
[1m[35m (13.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
18752
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
18753
|
+
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
18754
|
+
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
18755
|
+
(20160413135653),
|
18756
|
+
(20160425130344),
|
18757
|
+
(20171205194657),
|
18758
|
+
(20170106165533),
|
18759
|
+
(20160412205931),
|
18760
|
+
(20171205183457);
|
18761
|
+
|
18762
|
+
[0m
|
18763
|
+
[1m[35m (7.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18764
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
18765
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:24.271080"], ["updated_at", "2023-04-17 17:41:24.271080"]]
|
18766
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18767
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "507f3ce2d7ebc267e30a1398dedeb776"], ["id", 4], ["LIMIT", 1]]
|
18768
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "b4a207e9f26fa4f06f6865493978a238"], ["id", 4], ["LIMIT", 1]]
|
18769
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "65953295f04312dcc4426d0fd2f101e3"], ["id", 4], ["LIMIT", 1]]
|
18770
|
+
[1m[35m (1.8ms)[0m [1m[31mROLLBACK[0m
|
18771
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
18772
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18773
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "38c8e3fb0a4fb7d507e212334c593312"], ["LIMIT", 1]]
|
18774
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "0abe6023ce47d3ba8352bdc62bd7dc41"], ["LIMIT", 1]]
|
18775
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "d002f4742005946d027011bcaaaa119f"], ["LIMIT", 1]]
|
18776
|
+
[1m[36mPandaPal::Organization Create (0.3ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "0abe6023ce47d3ba8352bdc62bd7dc41"], ["key", "38c8e3fb0a4fb7d507e212334c593312"], ["secret", "e351460499738dd6e5da13b4b6958a0a"], ["canvas_account_id", "6220"], ["created_at", "2023-04-17 17:41:24.292646"], ["updated_at", "2023-04-17 17:41:24.292646"], ["salesforce_id", "d002f4742005946d027011bcaaaa119f"], ["encrypted_settings_iv", "AsAgIz2FX2PHmAGT\n"]]
|
18777
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE SCHEMA "0abe6023ce47d3ba8352bdc62bd7dc41"[0m
|
18778
|
+
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
18779
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
18780
|
+
[1m[35m (9.0ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18781
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
18782
|
+
[1m[35m (8.6ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
18783
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
18784
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
18785
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
18786
|
+
[1m[35m (7.9ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
18787
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
18788
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
18789
|
+
[1m[35m (7.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
18790
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
18791
|
+
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
18792
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
18793
|
+
(20160413135653),
|
18794
|
+
(20160425130344),
|
18795
|
+
(20171205194657),
|
18796
|
+
(20170106165533),
|
18797
|
+
(20160412205931),
|
18798
|
+
(20171205183457);
|
18799
|
+
|
18800
|
+
[0m
|
18801
|
+
[1m[35m (8.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18802
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
18803
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:24.380654"], ["updated_at", "2023-04-17 17:41:24.380654"]]
|
18804
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18805
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "38c8e3fb0a4fb7d507e212334c593312"], ["id", 5], ["LIMIT", 1]]
|
18806
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "0abe6023ce47d3ba8352bdc62bd7dc41"], ["id", 5], ["LIMIT", 1]]
|
18807
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "d002f4742005946d027011bcaaaa119f"], ["id", 5], ["LIMIT", 1]]
|
18808
|
+
[1m[35m (1.6ms)[0m [1m[31mROLLBACK[0m
|
18809
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
18810
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18811
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "b1ef0fc1873738db05efba4fae31349f"], ["LIMIT", 1]]
|
18812
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "8e9bf9b287c6710b72be8e0139abb1f0"], ["LIMIT", 1]]
|
18813
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "ff221cc18baecb300293901c3d2a1667"], ["LIMIT", 1]]
|
18814
|
+
[1m[36mPandaPal::Organization Create (0.4ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "8e9bf9b287c6710b72be8e0139abb1f0"], ["key", "b1ef0fc1873738db05efba4fae31349f"], ["secret", "d6d8ac72df6d9db432c514d5ada2434d"], ["canvas_account_id", "4157"], ["created_at", "2023-04-17 17:41:24.394741"], ["updated_at", "2023-04-17 17:41:24.394741"], ["salesforce_id", "ff221cc18baecb300293901c3d2a1667"], ["encrypted_settings_iv", "+A+jfyfJVr9y6IxW\n"]]
|
18815
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE SCHEMA "8e9bf9b287c6710b72be8e0139abb1f0"[0m
|
18816
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
18817
|
+
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
18818
|
+
[1m[35m (8.1ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18819
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
18820
|
+
[1m[35m (8.0ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
18821
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
18822
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
18823
|
+
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
18824
|
+
[1m[35m (8.8ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
18825
|
+
[1m[35m (14.1ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
18826
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
18827
|
+
[1m[35m (8.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
18828
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
18829
|
+
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
18830
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
18831
|
+
(20160413135653),
|
18832
|
+
(20160425130344),
|
18833
|
+
(20171205194657),
|
18834
|
+
(20170106165533),
|
18835
|
+
(20160412205931),
|
18836
|
+
(20171205183457);
|
18837
|
+
|
18838
|
+
[0m
|
18839
|
+
[1m[35m (9.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18840
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
18841
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:24.482604"], ["updated_at", "2023-04-17 17:41:24.482604"]]
|
18842
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18843
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "b1ef0fc1873738db05efba4fae31349f"], ["id", 6], ["LIMIT", 1]]
|
18844
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "8e9bf9b287c6710b72be8e0139abb1f0"], ["id", 6], ["LIMIT", 1]]
|
18845
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "ff221cc18baecb300293901c3d2a1667"], ["id", 6], ["LIMIT", 1]]
|
18846
|
+
[1m[35m (1.7ms)[0m [1m[31mROLLBACK[0m
|
18847
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
18848
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18849
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "0f95a929ecb04c2feffb7a05ecc5abd2"], ["LIMIT", 1]]
|
18850
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "78a4b28da7dae41bb3c515a1519a21c2"], ["LIMIT", 1]]
|
18851
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "e4dfea371af316ccc5f47e8407dfc189"], ["LIMIT", 1]]
|
18852
|
+
[1m[36mPandaPal::Organization Create (0.3ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "78a4b28da7dae41bb3c515a1519a21c2"], ["key", "0f95a929ecb04c2feffb7a05ecc5abd2"], ["secret", "41f72335adaa904a8f6b764875e60ea7"], ["canvas_account_id", "2284"], ["created_at", "2023-04-17 17:41:24.493079"], ["updated_at", "2023-04-17 17:41:24.493079"], ["salesforce_id", "e4dfea371af316ccc5f47e8407dfc189"], ["encrypted_settings_iv", "6cRE3oJa9zAnfyKv\n"]]
|
18853
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE SCHEMA "78a4b28da7dae41bb3c515a1519a21c2"[0m
|
18854
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
18855
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
18856
|
+
[1m[35m (8.9ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18857
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
18858
|
+
[1m[35m (8.2ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
18859
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
18860
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
18861
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
18862
|
+
[1m[35m (11.4ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
18863
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
18864
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
18865
|
+
[1m[35m (7.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
18866
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
18867
|
+
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
18868
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
18869
|
+
(20160413135653),
|
18870
|
+
(20160425130344),
|
18871
|
+
(20171205194657),
|
18872
|
+
(20170106165533),
|
18873
|
+
(20160412205931),
|
18874
|
+
(20171205183457);
|
18875
|
+
|
18876
|
+
[0m
|
18877
|
+
[1m[35m (7.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18878
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
18879
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:24.567246"], ["updated_at", "2023-04-17 17:41:24.567246"]]
|
18880
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18881
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "0f95a929ecb04c2feffb7a05ecc5abd2"], ["id", 7], ["LIMIT", 1]]
|
18882
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "78a4b28da7dae41bb3c515a1519a21c2"], ["id", 7], ["LIMIT", 1]]
|
18883
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "e4dfea371af316ccc5f47e8407dfc189"], ["id", 7], ["LIMIT", 1]]
|
18884
|
+
[1m[35m (1.6ms)[0m [1m[31mROLLBACK[0m
|
18885
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
18886
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18887
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "6c1a221cd6e74fe2c9e1d6491e0d9b4a"], ["LIMIT", 1]]
|
18888
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "bb98fdd015ee02ffcdfdce036bb1e6e6"], ["LIMIT", 1]]
|
18889
|
+
[1m[36mPandaPal::Organization Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "46adc1eb54cceca617de35c86caee6a7"], ["LIMIT", 1]]
|
18890
|
+
[1m[36mPandaPal::Organization Create (0.4ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "bb98fdd015ee02ffcdfdce036bb1e6e6"], ["key", "6c1a221cd6e74fe2c9e1d6491e0d9b4a"], ["secret", "45b7d75622b13756e66e44675525103b"], ["canvas_account_id", "8145"], ["created_at", "2023-04-17 17:41:24.581013"], ["updated_at", "2023-04-17 17:41:24.581013"], ["salesforce_id", "46adc1eb54cceca617de35c86caee6a7"], ["encrypted_settings_iv", "ap8t+EEWXgZfsMN8\n"]]
|
18891
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE SCHEMA "bb98fdd015ee02ffcdfdce036bb1e6e6"[0m
|
18892
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
18893
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
18894
|
+
[1m[35m (7.9ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18895
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
18896
|
+
[1m[35m (8.4ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
18897
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
18898
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
18899
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
18900
|
+
[1m[35m (8.7ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
18901
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
18902
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
18903
|
+
[1m[35m (7.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
18904
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
18905
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
18906
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
18907
|
+
(20160413135653),
|
18908
|
+
(20160425130344),
|
18909
|
+
(20171205194657),
|
18910
|
+
(20170106165533),
|
18911
|
+
(20160412205931),
|
18912
|
+
(20171205183457);
|
18913
|
+
|
18914
|
+
[0m
|
18915
|
+
[1m[35m (7.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18916
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
18917
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:24.652785"], ["updated_at", "2023-04-17 17:41:24.652785"]]
|
18918
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18919
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "6c1a221cd6e74fe2c9e1d6491e0d9b4a"], ["id", 8], ["LIMIT", 1]]
|
18920
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "bb98fdd015ee02ffcdfdce036bb1e6e6"], ["id", 8], ["LIMIT", 1]]
|
18921
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "46adc1eb54cceca617de35c86caee6a7"], ["id", 8], ["LIMIT", 1]]
|
18922
|
+
[1m[35m (1.3ms)[0m [1m[31mROLLBACK[0m
|
18923
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
18924
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18925
|
+
[1m[36mPandaPal::Organization Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "c5498bd78423777e30e461f713b10967"], ["LIMIT", 1]]
|
18926
|
+
[1m[36mPandaPal::Organization Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "3450b1c315c17eda4052efbcb6b7d1e6"], ["LIMIT", 1]]
|
18927
|
+
[1m[36mPandaPal::Organization Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "2ec7a22f1961aeed6364d6124e7642ec"], ["LIMIT", 1]]
|
18928
|
+
[1m[36mPandaPal::Organization Create (0.5ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "3450b1c315c17eda4052efbcb6b7d1e6"], ["key", "c5498bd78423777e30e461f713b10967"], ["secret", "56d9bc5e4c4f7a8b4c65519b9fca20c2"], ["canvas_account_id", "2657"], ["created_at", "2023-04-17 17:41:24.667038"], ["updated_at", "2023-04-17 17:41:24.667038"], ["salesforce_id", "2ec7a22f1961aeed6364d6124e7642ec"], ["encrypted_settings_iv", "Xt81tJPcdN9t0Hse\n"]]
|
18929
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE SCHEMA "3450b1c315c17eda4052efbcb6b7d1e6"[0m
|
18930
|
+
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
18931
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
18932
|
+
[1m[35m (9.1ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18933
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
18934
|
+
[1m[35m (9.4ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
18935
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
18936
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
18937
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
18938
|
+
[1m[35m (8.2ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
18939
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
18940
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
18941
|
+
[1m[35m (8.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
18942
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
18943
|
+
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
18944
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
18945
|
+
(20160413135653),
|
18946
|
+
(20160425130344),
|
18947
|
+
(20171205194657),
|
18948
|
+
(20170106165533),
|
18949
|
+
(20160412205931),
|
18950
|
+
(20171205183457);
|
18951
|
+
|
18952
|
+
[0m
|
18953
|
+
[1m[35m (7.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18954
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
18955
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:24.746357"], ["updated_at", "2023-04-17 17:41:24.746357"]]
|
18956
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18957
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "c5498bd78423777e30e461f713b10967"], ["id", 9], ["LIMIT", 1]]
|
18958
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "3450b1c315c17eda4052efbcb6b7d1e6"], ["id", 9], ["LIMIT", 1]]
|
18959
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "2ec7a22f1961aeed6364d6124e7642ec"], ["id", 9], ["LIMIT", 1]]
|
18960
|
+
[1m[35m (1.4ms)[0m [1m[31mROLLBACK[0m
|
18961
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
18962
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18963
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "4d3a614c7cba09597eb9dc9c3a66d790"], ["LIMIT", 1]]
|
18964
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "9a00d1e41c32123e4c436001a39de6fc"], ["LIMIT", 1]]
|
18965
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "9db4bb5a4f7b6b7a93470b24e2a9066e"], ["LIMIT", 1]]
|
18966
|
+
[1m[36mPandaPal::Organization Create (0.2ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "9a00d1e41c32123e4c436001a39de6fc"], ["key", "4d3a614c7cba09597eb9dc9c3a66d790"], ["secret", "63712ba8f882cd419ee2595e696d83d8"], ["canvas_account_id", "1534"], ["created_at", "2023-04-17 17:41:24.757384"], ["updated_at", "2023-04-17 17:41:24.757384"], ["salesforce_id", "9db4bb5a4f7b6b7a93470b24e2a9066e"], ["encrypted_settings_iv", "gMAp7L76uGT5qWhp\n"]]
|
18967
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE SCHEMA "9a00d1e41c32123e4c436001a39de6fc"[0m
|
18968
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
18969
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
18970
|
+
[1m[35m (8.4ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18971
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
18972
|
+
[1m[35m (8.0ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
18973
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
18974
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
18975
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
18976
|
+
[1m[35m (7.9ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
18977
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
18978
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
18979
|
+
[1m[35m (7.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
18980
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
18981
|
+
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
18982
|
+
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
18983
|
+
(20160413135653),
|
18984
|
+
(20160425130344),
|
18985
|
+
(20171205194657),
|
18986
|
+
(20170106165533),
|
18987
|
+
(20160412205931),
|
18988
|
+
(20171205183457);
|
18989
|
+
|
18990
|
+
[0m
|
18991
|
+
[1m[35m (8.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
18992
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
18993
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:24.827836"], ["updated_at", "2023-04-17 17:41:24.827836"]]
|
18994
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18995
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "4d3a614c7cba09597eb9dc9c3a66d790"], ["id", 10], ["LIMIT", 1]]
|
18996
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "9a00d1e41c32123e4c436001a39de6fc"], ["id", 10], ["LIMIT", 1]]
|
18997
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "9db4bb5a4f7b6b7a93470b24e2a9066e"], ["id", 10], ["LIMIT", 1]]
|
18998
|
+
[1m[35m (2.2ms)[0m [1m[31mROLLBACK[0m
|
18999
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
19000
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
19001
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "057f2e329dc09c1960fcbee3d8b6e77d"], ["LIMIT", 1]]
|
19002
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "be4bcab5cb292edb5f570858269d9552"], ["LIMIT", 1]]
|
19003
|
+
[1m[36mPandaPal::Organization Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "e5303f604ecf8bd086fbea3c78fc6214"], ["LIMIT", 1]]
|
19004
|
+
[1m[36mPandaPal::Organization Create (0.2ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "be4bcab5cb292edb5f570858269d9552"], ["key", "057f2e329dc09c1960fcbee3d8b6e77d"], ["secret", "7b44a6a2850ce5f5991b76aba1cf9e53"], ["canvas_account_id", "6757"], ["created_at", "2023-04-17 17:41:24.841737"], ["updated_at", "2023-04-17 17:41:24.841737"], ["salesforce_id", "e5303f604ecf8bd086fbea3c78fc6214"], ["encrypted_settings_iv", "IR2aQBSJ300LzHu6\n"]]
|
19005
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE SCHEMA "be4bcab5cb292edb5f570858269d9552"[0m
|
19006
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
19007
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
19008
|
+
[1m[35m (8.5ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19009
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
19010
|
+
[1m[35m (7.7ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
19011
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
19012
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
19013
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
19014
|
+
[1m[35m (7.9ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
19015
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
19016
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
19017
|
+
[1m[35m (7.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
19018
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
19019
|
+
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
19020
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
19021
|
+
(20160413135653),
|
19022
|
+
(20160425130344),
|
19023
|
+
(20171205194657),
|
19024
|
+
(20170106165533),
|
19025
|
+
(20160412205931),
|
19026
|
+
(20171205183457);
|
19027
|
+
|
19028
|
+
[0m
|
19029
|
+
[1m[35m (7.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19030
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
19031
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:24.914737"], ["updated_at", "2023-04-17 17:41:24.914737"]]
|
19032
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
19033
|
+
[1m[36mPandaPal::Organization Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "057f2e329dc09c1960fcbee3d8b6e77d"], ["id", 11], ["LIMIT", 1]]
|
19034
|
+
[1m[36mPandaPal::Organization Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "be4bcab5cb292edb5f570858269d9552"], ["id", 11], ["LIMIT", 1]]
|
19035
|
+
[1m[36mPandaPal::Organization Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "e5303f604ecf8bd086fbea3c78fc6214"], ["id", 11], ["LIMIT", 1]]
|
19036
|
+
[1m[35m (2.7ms)[0m [1m[31mROLLBACK[0m
|
19037
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
19038
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
19039
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "a47e80991649733e6d8730184a6cfc55"], ["LIMIT", 1]]
|
19040
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "171a24990f75757bdb1986ebc3b10611"], ["LIMIT", 1]]
|
19041
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "11722fb232e8c4fcf092ddc4327629f7"], ["LIMIT", 1]]
|
19042
|
+
[1m[36mPandaPal::Organization Create (0.4ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "171a24990f75757bdb1986ebc3b10611"], ["key", "a47e80991649733e6d8730184a6cfc55"], ["secret", "5c30b159887e9cb47fab527426edbc18"], ["canvas_account_id", "8745"], ["created_at", "2023-04-17 17:41:24.946473"], ["updated_at", "2023-04-17 17:41:24.946473"], ["salesforce_id", "11722fb232e8c4fcf092ddc4327629f7"], ["encrypted_settings_iv", "RCTpXMgb/fDrvyln\n"]]
|
19043
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE SCHEMA "171a24990f75757bdb1986ebc3b10611"[0m
|
19044
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
19045
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
19046
|
+
[1m[35m (8.9ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19047
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
19048
|
+
[1m[35m (8.3ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
19049
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
19050
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
19051
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
19052
|
+
[1m[35m (8.6ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
19053
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
19054
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
19055
|
+
[1m[35m (8.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
19056
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
19057
|
+
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
19058
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
19059
|
+
(20160413135653),
|
19060
|
+
(20160425130344),
|
19061
|
+
(20171205194657),
|
19062
|
+
(20170106165533),
|
19063
|
+
(20160412205931),
|
19064
|
+
(20171205183457);
|
19065
|
+
|
19066
|
+
[0m
|
19067
|
+
[1m[35m (7.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19068
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
19069
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:25.020815"], ["updated_at", "2023-04-17 17:41:25.020815"]]
|
19070
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
19071
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "a47e80991649733e6d8730184a6cfc55"], ["id", 12], ["LIMIT", 1]]
|
19072
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "171a24990f75757bdb1986ebc3b10611"], ["id", 12], ["LIMIT", 1]]
|
19073
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "11722fb232e8c4fcf092ddc4327629f7"], ["id", 12], ["LIMIT", 1]]
|
19074
|
+
[1m[35m (1.4ms)[0m [1m[31mROLLBACK[0m
|
19075
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
19076
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
19077
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "a54be87a5582705a0f1b792dac4e02f6"], ["LIMIT", 1]]
|
19078
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "766736fd77a0f495595af01eb1316ab0"], ["LIMIT", 1]]
|
19079
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "6c653a8df7f958aab9e96f4407b1fd4c"], ["LIMIT", 1]]
|
19080
|
+
[1m[36mPandaPal::Organization Create (0.3ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "766736fd77a0f495595af01eb1316ab0"], ["key", "a54be87a5582705a0f1b792dac4e02f6"], ["secret", "b373145bba3516a1fe193008cd31dd62"], ["canvas_account_id", "7368"], ["created_at", "2023-04-17 17:41:25.033112"], ["updated_at", "2023-04-17 17:41:25.033112"], ["salesforce_id", "6c653a8df7f958aab9e96f4407b1fd4c"], ["encrypted_settings_iv", "md3DL5Ry+jRFXIUE\n"]]
|
19081
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE SCHEMA "766736fd77a0f495595af01eb1316ab0"[0m
|
19082
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
19083
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
19084
|
+
[1m[35m (8.7ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19085
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
19086
|
+
[1m[35m (13.4ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
19087
|
+
[1m[35m (3.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
19088
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
19089
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
19090
|
+
[1m[35m (9.1ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
19091
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
19092
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
19093
|
+
[1m[35m (7.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
19094
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
19095
|
+
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
19096
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
19097
|
+
(20160413135653),
|
19098
|
+
(20160425130344),
|
19099
|
+
(20171205194657),
|
19100
|
+
(20170106165533),
|
19101
|
+
(20160412205931),
|
19102
|
+
(20171205183457);
|
19103
|
+
|
19104
|
+
[0m
|
19105
|
+
[1m[35m (8.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19106
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
19107
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:25.111281"], ["updated_at", "2023-04-17 17:41:25.111281"]]
|
19108
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
19109
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "a54be87a5582705a0f1b792dac4e02f6"], ["id", 13], ["LIMIT", 1]]
|
19110
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "766736fd77a0f495595af01eb1316ab0"], ["id", 13], ["LIMIT", 1]]
|
19111
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "6c653a8df7f958aab9e96f4407b1fd4c"], ["id", 13], ["LIMIT", 1]]
|
19112
|
+
[1m[35m (1.9ms)[0m [1m[31mROLLBACK[0m
|
19113
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
19114
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
19115
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "7b53903d4e76860f4e3f8257824d0bc6"], ["LIMIT", 1]]
|
19116
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "cbb44f773f83ceab6eb5b32a0e8eeb8e"], ["LIMIT", 1]]
|
19117
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "b9a023264352d4a812c6ed9ba090beff"], ["LIMIT", 1]]
|
19118
|
+
[1m[36mPandaPal::Organization Create (0.3ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "cbb44f773f83ceab6eb5b32a0e8eeb8e"], ["key", "7b53903d4e76860f4e3f8257824d0bc6"], ["secret", "78393ea10fa80d589702ea5d4f9c2aee"], ["canvas_account_id", "9221"], ["created_at", "2023-04-17 17:41:25.124353"], ["updated_at", "2023-04-17 17:41:25.124353"], ["salesforce_id", "b9a023264352d4a812c6ed9ba090beff"], ["encrypted_settings_iv", "wtXCwoO3AQHZBgXs\n"]]
|
19119
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE SCHEMA "cbb44f773f83ceab6eb5b32a0e8eeb8e"[0m
|
19120
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
19121
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
19122
|
+
[1m[35m (8.3ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19123
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
19124
|
+
[1m[35m (8.1ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
19125
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
19126
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
19127
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
19128
|
+
[1m[35m (10.2ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
19129
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
19130
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
19131
|
+
[1m[35m (7.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
19132
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
19133
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
19134
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
19135
|
+
(20160413135653),
|
19136
|
+
(20160425130344),
|
19137
|
+
(20171205194657),
|
19138
|
+
(20170106165533),
|
19139
|
+
(20160412205931),
|
19140
|
+
(20171205183457);
|
19141
|
+
|
19142
|
+
[0m
|
19143
|
+
[1m[35m (7.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19144
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
19145
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:25.196673"], ["updated_at", "2023-04-17 17:41:25.196673"]]
|
19146
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
19147
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "7b53903d4e76860f4e3f8257824d0bc6"], ["id", 14], ["LIMIT", 1]]
|
19148
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "cbb44f773f83ceab6eb5b32a0e8eeb8e"], ["id", 14], ["LIMIT", 1]]
|
19149
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "b9a023264352d4a812c6ed9ba090beff"], ["id", 14], ["LIMIT", 1]]
|
19150
|
+
[1m[35m (1.9ms)[0m [1m[31mROLLBACK[0m
|
19151
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
19152
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
19153
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "af07ac395c131b6fbdfd2661a9c36995"], ["LIMIT", 1]]
|
19154
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "1d6b02d340c2ed2a864a354bddc553db"], ["LIMIT", 1]]
|
19155
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "cc8be39431cfa1125cac773c216f2fc2"], ["LIMIT", 1]]
|
19156
|
+
[1m[36mPandaPal::Organization Create (0.3ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "1d6b02d340c2ed2a864a354bddc553db"], ["key", "af07ac395c131b6fbdfd2661a9c36995"], ["secret", "0bf07622ea97d0a711c82460e6edc3c8"], ["canvas_account_id", "6527"], ["created_at", "2023-04-17 17:41:25.209815"], ["updated_at", "2023-04-17 17:41:25.209815"], ["salesforce_id", "cc8be39431cfa1125cac773c216f2fc2"], ["encrypted_settings_iv", "lErj9wrqq8rPzJp5\n"]]
|
19157
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE SCHEMA "1d6b02d340c2ed2a864a354bddc553db"[0m
|
19158
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
19159
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
19160
|
+
[1m[35m (9.9ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19161
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
19162
|
+
[1m[35m (9.1ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
19163
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
19164
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
19165
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
19166
|
+
[1m[35m (8.6ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
19167
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
19168
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
19169
|
+
[1m[35m (8.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
19170
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
19171
|
+
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
19172
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
19173
|
+
(20160413135653),
|
19174
|
+
(20160425130344),
|
19175
|
+
(20171205194657),
|
19176
|
+
(20170106165533),
|
19177
|
+
(20160412205931),
|
19178
|
+
(20171205183457);
|
19179
|
+
|
19180
|
+
[0m
|
19181
|
+
[1m[35m (7.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19182
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
19183
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:25.284844"], ["updated_at", "2023-04-17 17:41:25.284844"]]
|
19184
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
19185
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "af07ac395c131b6fbdfd2661a9c36995"], ["id", 15], ["LIMIT", 1]]
|
19186
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "1d6b02d340c2ed2a864a354bddc553db"], ["id", 15], ["LIMIT", 1]]
|
19187
|
+
[1m[36mPandaPal::Organization Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "cc8be39431cfa1125cac773c216f2fc2"], ["id", 15], ["LIMIT", 1]]
|
19188
|
+
[1m[35m (1.9ms)[0m [1m[31mROLLBACK[0m
|
19189
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
19190
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
19191
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "b327acac60ed1a80c7258d2d8272f4b8"], ["LIMIT", 1]]
|
19192
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "4cd31a18b35b8dd527a401c72d43b284"], ["LIMIT", 1]]
|
19193
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "bbe56d2e137b92b101943d67979140d7"], ["LIMIT", 1]]
|
19194
|
+
[1m[36mPandaPal::Organization Create (0.3ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "4cd31a18b35b8dd527a401c72d43b284"], ["key", "b327acac60ed1a80c7258d2d8272f4b8"], ["secret", "da4f80fd30f7dc5d58e0ae5c11fc8944"], ["canvas_account_id", "8737"], ["created_at", "2023-04-17 17:41:25.296987"], ["updated_at", "2023-04-17 17:41:25.296987"], ["salesforce_id", "bbe56d2e137b92b101943d67979140d7"], ["encrypted_settings_iv", "VFzp8B4/jiZoCCJq\n"]]
|
19195
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE SCHEMA "4cd31a18b35b8dd527a401c72d43b284"[0m
|
19196
|
+
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
19197
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
19198
|
+
[1m[35m (8.8ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19199
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
19200
|
+
[1m[35m (8.8ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
19201
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
19202
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
19203
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
19204
|
+
[1m[35m (7.4ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
19205
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
19206
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
19207
|
+
[1m[35m (8.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
19208
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
19209
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
19210
|
+
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
19211
|
+
(20160413135653),
|
19212
|
+
(20160425130344),
|
19213
|
+
(20171205194657),
|
19214
|
+
(20170106165533),
|
19215
|
+
(20160412205931),
|
19216
|
+
(20171205183457);
|
19217
|
+
|
19218
|
+
[0m
|
19219
|
+
[1m[35m (8.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19220
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
19221
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:25.370000"], ["updated_at", "2023-04-17 17:41:25.370000"]]
|
19222
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
19223
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "b327acac60ed1a80c7258d2d8272f4b8"], ["id", 16], ["LIMIT", 1]]
|
19224
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "4cd31a18b35b8dd527a401c72d43b284"], ["id", 16], ["LIMIT", 1]]
|
19225
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "bbe56d2e137b92b101943d67979140d7"], ["id", 16], ["LIMIT", 1]]
|
19226
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "b327acac60ed1a80c7258d2d8272f4b8"], ["id", 16], ["LIMIT", 1]]
|
19227
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "4cd31a18b35b8dd527a401c72d43b284"], ["id", 16], ["LIMIT", 1]]
|
19228
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "bbe56d2e137b92b101943d67979140d7"], ["id", 16], ["LIMIT", 1]]
|
19229
|
+
[1m[35m (2.3ms)[0m [1m[31mROLLBACK[0m
|
19230
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
19231
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
19232
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "f6c6d72d97e82c8187d652ce4500e551"], ["LIMIT", 1]]
|
19233
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "d5620762068bf35496ebc08dcc8b4ef5"], ["LIMIT", 1]]
|
19234
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "5dd1347a5315c76df7f874865341b233"], ["LIMIT", 1]]
|
19235
|
+
[1m[36mPandaPal::Organization Create (0.3ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "d5620762068bf35496ebc08dcc8b4ef5"], ["key", "f6c6d72d97e82c8187d652ce4500e551"], ["secret", "c97deb01bdef2aa99550e4a632177dbb"], ["canvas_account_id", "2894"], ["created_at", "2023-04-17 17:41:25.384755"], ["updated_at", "2023-04-17 17:41:25.384755"], ["salesforce_id", "5dd1347a5315c76df7f874865341b233"], ["encrypted_settings_iv", "cezVOXYwCvf7I5tR\n"]]
|
19236
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE SCHEMA "d5620762068bf35496ebc08dcc8b4ef5"[0m
|
19237
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
19238
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
19239
|
+
[1m[35m (8.5ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19240
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
19241
|
+
[1m[35m (10.3ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
19242
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
19243
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
19244
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
19245
|
+
[1m[35m (8.3ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
19246
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
19247
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
19248
|
+
[1m[35m (8.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
19249
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
19250
|
+
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
19251
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
19252
|
+
(20160413135653),
|
19253
|
+
(20160425130344),
|
19254
|
+
(20171205194657),
|
19255
|
+
(20170106165533),
|
19256
|
+
(20160412205931),
|
19257
|
+
(20171205183457);
|
19258
|
+
|
19259
|
+
[0m
|
19260
|
+
[1m[35m (8.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19261
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
19262
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.8ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:25.462536"], ["updated_at", "2023-04-17 17:41:25.462536"]]
|
19263
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
19264
|
+
[1m[36mPandaPal::Organization Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "f6c6d72d97e82c8187d652ce4500e551"], ["id", 17], ["LIMIT", 1]]
|
19265
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "d5620762068bf35496ebc08dcc8b4ef5"], ["id", 17], ["LIMIT", 1]]
|
19266
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "5dd1347a5315c76df7f874865341b233"], ["id", 17], ["LIMIT", 1]]
|
19267
|
+
[1m[35m (3.4ms)[0m [1m[31mROLLBACK[0m
|
19268
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
19269
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
19270
|
+
[1m[36mPandaPal::Organization Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "fb8c18ad0f1eeef8ce90cd598c67413e"], ["LIMIT", 1]]
|
19271
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "36e800a408e755d2e069f92c87e67c65"], ["LIMIT", 1]]
|
19272
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "2b44382505aae41d3768205c27499f66"], ["LIMIT", 1]]
|
19273
|
+
[1m[36mPandaPal::Organization Create (0.4ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "36e800a408e755d2e069f92c87e67c65"], ["key", "fb8c18ad0f1eeef8ce90cd598c67413e"], ["secret", "ac718b43e51580d313a984bd0e2adfbb"], ["canvas_account_id", "7288"], ["created_at", "2023-04-17 17:41:25.486384"], ["updated_at", "2023-04-17 17:41:25.486384"], ["salesforce_id", "2b44382505aae41d3768205c27499f66"], ["encrypted_settings_iv", "VjOl5Xk9Qmjkr7IW\n"]]
|
19274
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE SCHEMA "36e800a408e755d2e069f92c87e67c65"[0m
|
19275
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
19276
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
19277
|
+
[1m[35m (8.6ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19278
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
19279
|
+
[1m[35m (9.9ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
19280
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
19281
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
19282
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
19283
|
+
[1m[35m (8.4ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
19284
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
19285
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
19286
|
+
[1m[35m (8.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
19287
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
19288
|
+
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
19289
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
19290
|
+
(20160413135653),
|
19291
|
+
(20160425130344),
|
19292
|
+
(20171205194657),
|
19293
|
+
(20170106165533),
|
19294
|
+
(20160412205931),
|
19295
|
+
(20171205183457);
|
19296
|
+
|
19297
|
+
[0m
|
19298
|
+
[1m[35m (8.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19299
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
19300
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:25.567022"], ["updated_at", "2023-04-17 17:41:25.567022"]]
|
19301
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
19302
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "fb8c18ad0f1eeef8ce90cd598c67413e"], ["id", 18], ["LIMIT", 1]]
|
19303
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "36e800a408e755d2e069f92c87e67c65"], ["id", 18], ["LIMIT", 1]]
|
19304
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "2b44382505aae41d3768205c27499f66"], ["id", 18], ["LIMIT", 1]]
|
19305
|
+
[1m[35m (1.5ms)[0m [1m[31mROLLBACK[0m
|
19306
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
19307
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
19308
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "b8cdfd31ab92a1d78d909e020b914d17"], ["LIMIT", 1]]
|
19309
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "def314531376615ba42a5729e5440fc4"], ["LIMIT", 1]]
|
19310
|
+
[1m[36mPandaPal::Organization Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "33fd3059a83c32f12d9396c5ff4e4760"], ["LIMIT", 1]]
|
19311
|
+
[1m[36mPandaPal::Organization Create (0.5ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "def314531376615ba42a5729e5440fc4"], ["key", "b8cdfd31ab92a1d78d909e020b914d17"], ["secret", "10a9bd0dd1b76fde12d81a0ad846c516"], ["canvas_account_id", "4755"], ["created_at", "2023-04-17 17:41:25.581177"], ["updated_at", "2023-04-17 17:41:25.581177"], ["salesforce_id", "33fd3059a83c32f12d9396c5ff4e4760"], ["encrypted_settings_iv", "ffMbtfb5hBzQweVY\n"]]
|
19312
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE SCHEMA "def314531376615ba42a5729e5440fc4"[0m
|
19313
|
+
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
19314
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
19315
|
+
[1m[35m (8.5ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19316
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
19317
|
+
[1m[35m (8.9ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
19318
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
19319
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
19320
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
19321
|
+
[1m[35m (8.8ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
19322
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
19323
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
19324
|
+
[1m[35m (8.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
19325
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
19326
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
19327
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
19328
|
+
(20160413135653),
|
19329
|
+
(20160425130344),
|
19330
|
+
(20171205194657),
|
19331
|
+
(20170106165533),
|
19332
|
+
(20160412205931),
|
19333
|
+
(20171205183457);
|
19334
|
+
|
19335
|
+
[0m
|
19336
|
+
[1m[35m (8.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19337
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
19338
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.9ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:25.662291"], ["updated_at", "2023-04-17 17:41:25.662291"]]
|
19339
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
19340
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "b8cdfd31ab92a1d78d909e020b914d17"], ["id", 19], ["LIMIT", 1]]
|
19341
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "def314531376615ba42a5729e5440fc4"], ["id", 19], ["LIMIT", 1]]
|
19342
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "33fd3059a83c32f12d9396c5ff4e4760"], ["id", 19], ["LIMIT", 1]]
|
19343
|
+
[1m[35m (2.7ms)[0m [1m[31mROLLBACK[0m
|
19344
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
19345
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
19346
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "5044f2f9d8529f8e53ea979f03e0658b"], ["LIMIT", 1]]
|
19347
|
+
[1m[36mPandaPal::Organization Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "16111b552819655a7afeba90349ac1a0"], ["LIMIT", 1]]
|
19348
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "8e792cf9c8f1f006d45adcdd9591d8ea"], ["LIMIT", 1]]
|
19349
|
+
[1m[36mPandaPal::Organization Create (0.5ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "16111b552819655a7afeba90349ac1a0"], ["key", "5044f2f9d8529f8e53ea979f03e0658b"], ["secret", "53db1057badc1b9f0c28abcaf9007225"], ["canvas_account_id", "6893"], ["created_at", "2023-04-17 17:41:25.682515"], ["updated_at", "2023-04-17 17:41:25.682515"], ["salesforce_id", "8e792cf9c8f1f006d45adcdd9591d8ea"], ["encrypted_settings_iv", "X3FeP8cMKU81ZOTy\n"]]
|
19350
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE SCHEMA "16111b552819655a7afeba90349ac1a0"[0m
|
19351
|
+
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
19352
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
19353
|
+
[1m[35m (8.4ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19354
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
19355
|
+
[1m[35m (8.9ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
19356
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
19357
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
19358
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
19359
|
+
[1m[35m (8.2ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
19360
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
19361
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
19362
|
+
[1m[35m (7.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
19363
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
19364
|
+
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
19365
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
19366
|
+
(20160413135653),
|
19367
|
+
(20160425130344),
|
19368
|
+
(20171205194657),
|
19369
|
+
(20170106165533),
|
19370
|
+
(20160412205931),
|
19371
|
+
(20171205183457);
|
19372
|
+
|
19373
|
+
[0m
|
19374
|
+
[1m[35m (8.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19375
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
19376
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:25.761828"], ["updated_at", "2023-04-17 17:41:25.761828"]]
|
19377
|
+
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
19378
|
+
[1m[36mPandaPal::Organization Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "5044f2f9d8529f8e53ea979f03e0658b"], ["id", 20], ["LIMIT", 1]]
|
19379
|
+
[1m[36mPandaPal::Organization Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "16111b552819655a7afeba90349ac1a0"], ["id", 20], ["LIMIT", 1]]
|
19380
|
+
[1m[36mPandaPal::Organization Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "8e792cf9c8f1f006d45adcdd9591d8ea"], ["id", 20], ["LIMIT", 1]]
|
19381
|
+
[1m[35m (5.0ms)[0m [1m[31mROLLBACK[0m
|
19382
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
19383
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
19384
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "00c8bc8de136ac17e72d11282e148d43"], ["LIMIT", 1]]
|
19385
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "f1879094fe205aa01e7d623c09682184"], ["LIMIT", 1]]
|
19386
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "d9d203c48ad67b2ac4c4e2131d014c0f"], ["LIMIT", 1]]
|
19387
|
+
[1m[36mPandaPal::Organization Create (0.3ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "f1879094fe205aa01e7d623c09682184"], ["key", "00c8bc8de136ac17e72d11282e148d43"], ["secret", "28ea2ff4030531939cb6d9ab2b830dd9"], ["canvas_account_id", "3420"], ["created_at", "2023-04-17 17:41:25.802630"], ["updated_at", "2023-04-17 17:41:25.802630"], ["salesforce_id", "d9d203c48ad67b2ac4c4e2131d014c0f"], ["encrypted_settings_iv", "5fRjt8jNTuE+Gp7V\n"]]
|
19388
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE SCHEMA "f1879094fe205aa01e7d623c09682184"[0m
|
19389
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
19390
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
19391
|
+
[1m[35m (8.1ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19392
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
19393
|
+
[1m[35m (8.5ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
19394
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
19395
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
19396
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
19397
|
+
[1m[35m (8.3ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
19398
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
19399
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
19400
|
+
[1m[35m (7.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
19401
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
19402
|
+
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
19403
|
+
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
19404
|
+
(20160413135653),
|
19405
|
+
(20160425130344),
|
19406
|
+
(20171205194657),
|
19407
|
+
(20170106165533),
|
19408
|
+
(20160412205931),
|
19409
|
+
(20171205183457);
|
19410
|
+
|
19411
|
+
[0m
|
19412
|
+
[1m[35m (7.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19413
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
19414
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:25.876085"], ["updated_at", "2023-04-17 17:41:25.876085"]]
|
19415
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
19416
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["key", "00c8bc8de136ac17e72d11282e148d43"], ["id", 21], ["LIMIT", 1]]
|
19417
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["name", "f1879094fe205aa01e7d623c09682184"], ["id", 21], ["LIMIT", 1]]
|
19418
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 AND "public"."panda_pal_organizations"."id" != $2 LIMIT $3[0m [["salesforce_id", "d9d203c48ad67b2ac4c4e2131d014c0f"], ["id", 21], ["LIMIT", 1]]
|
19419
|
+
[1m[35m (2.2ms)[0m [1m[31mROLLBACK[0m
|
19420
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
19421
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
19422
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "08a3d7bb69a554cbfd0b66a5e22e2422"], ["LIMIT", 1]]
|
19423
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "866a018516a829972b3f55942a3ee7fe"], ["LIMIT", 1]]
|
19424
|
+
[1m[36mPandaPal::Organization Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "cf3df5dbaf3c58b98ea726021b40a444"], ["LIMIT", 1]]
|
19425
|
+
[1m[36mPandaPal::Organization Create (0.2ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "866a018516a829972b3f55942a3ee7fe"], ["key", "08a3d7bb69a554cbfd0b66a5e22e2422"], ["secret", "f31a7e85716066956424c7dde6bdc133"], ["canvas_account_id", "4342"], ["created_at", "2023-04-17 17:41:25.890413"], ["updated_at", "2023-04-17 17:41:25.890413"], ["salesforce_id", "cf3df5dbaf3c58b98ea726021b40a444"], ["encrypted_settings_iv", "DXGkZ8i8heEJoGUi\n"]]
|
19426
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE SCHEMA "866a018516a829972b3f55942a3ee7fe"[0m
|
19427
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
19428
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
19429
|
+
[1m[35m (7.7ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19430
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
19431
|
+
[1m[35m (8.1ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
19432
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
19433
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
19434
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
19435
|
+
[1m[35m (8.6ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
19436
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
19437
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
19438
|
+
[1m[35m (7.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
19439
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
19440
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
19441
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
19442
|
+
(20160413135653),
|
19443
|
+
(20160425130344),
|
19444
|
+
(20171205194657),
|
19445
|
+
(20170106165533),
|
19446
|
+
(20160412205931),
|
19447
|
+
(20171205183457);
|
19448
|
+
|
19449
|
+
[0m
|
19450
|
+
[1m[35m (11.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19451
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
19452
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:25.964927"], ["updated_at", "2023-04-17 17:41:25.964927"]]
|
19453
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
19454
|
+
[1m[35m (1.6ms)[0m [1m[31mROLLBACK[0m
|
19455
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
19456
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
19457
|
+
[1m[36mPandaPal::Organization Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "832a520e33c04697aaf6d484c334fcc8"], ["LIMIT", 1]]
|
19458
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "b62595103c3a06e2078624923c7ad477"], ["LIMIT", 1]]
|
19459
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "e8e0df7fa3ae96231db3a769f70e7d8e"], ["LIMIT", 1]]
|
19460
|
+
[1m[36mPandaPal::Organization Create (0.3ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "b62595103c3a06e2078624923c7ad477"], ["key", "832a520e33c04697aaf6d484c334fcc8"], ["secret", "42b49474cb21c48f1533481f9250b08c"], ["canvas_account_id", "8864"], ["created_at", "2023-04-17 17:41:25.982405"], ["updated_at", "2023-04-17 17:41:25.982405"], ["salesforce_id", "e8e0df7fa3ae96231db3a769f70e7d8e"], ["encrypted_settings_iv", "cr50EbpKQyu0Jg3e\n"]]
|
19461
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE SCHEMA "b62595103c3a06e2078624923c7ad477"[0m
|
19462
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
19463
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
19464
|
+
[1m[35m (7.5ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19465
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
19466
|
+
[1m[35m (8.7ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
19467
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
19468
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
19469
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
19470
|
+
[1m[35m (8.3ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
19471
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
19472
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
19473
|
+
[1m[35m (9.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
19474
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
19475
|
+
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
19476
|
+
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
19477
|
+
(20160413135653),
|
19478
|
+
(20160425130344),
|
19479
|
+
(20171205194657),
|
19480
|
+
(20170106165533),
|
19481
|
+
(20160412205931),
|
19482
|
+
(20171205183457);
|
19483
|
+
|
19484
|
+
[0m
|
19485
|
+
[1m[35m (8.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19486
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
19487
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:26.060361"], ["updated_at", "2023-04-17 17:41:26.060361"]]
|
19488
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
19489
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "public"."panda_pal_organizations"."name" FROM "public"."panda_pal_organizations"[0m
|
19490
|
+
[1m[36mPandaPal::Organization Load (0.2ms)[0m [1m[34mSELECT "public"."panda_pal_organizations".* FROM "public"."panda_pal_organizations" ORDER BY "public"."panda_pal_organizations"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
|
19491
|
+
[1m[35m (1.5ms)[0m [1m[31mROLLBACK[0m
|
19492
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
19493
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
19494
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "bd7dfc7ca2c99370e63252f26efa78d6"], ["LIMIT", 1]]
|
19495
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "9a16f5ee0fdfc1063d7a578d6e2b343c"], ["LIMIT", 1]]
|
19496
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "75ebdac56d36d7105792bb3f33cbfa3a"], ["LIMIT", 1]]
|
19497
|
+
[1m[36mPandaPal::Organization Create (0.2ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "9a16f5ee0fdfc1063d7a578d6e2b343c"], ["key", "bd7dfc7ca2c99370e63252f26efa78d6"], ["secret", "d28b1fcdb155ee7a1bf2ae8fe995a5fd"], ["canvas_account_id", "5066"], ["created_at", "2023-04-17 17:41:26.071791"], ["updated_at", "2023-04-17 17:41:26.071791"], ["salesforce_id", "75ebdac56d36d7105792bb3f33cbfa3a"], ["encrypted_settings_iv", "mZhmAMDU5bassVz4\n"]]
|
19498
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE SCHEMA "9a16f5ee0fdfc1063d7a578d6e2b343c"[0m
|
19499
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
19500
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
19501
|
+
[1m[35m (7.8ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19502
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
19503
|
+
[1m[35m (8.3ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
19504
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
19505
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
19506
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
19507
|
+
[1m[35m (8.6ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
19508
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
19509
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
19510
|
+
[1m[35m (7.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
19511
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
19512
|
+
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
19513
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
19514
|
+
(20160413135653),
|
19515
|
+
(20160425130344),
|
19516
|
+
(20171205194657),
|
19517
|
+
(20170106165533),
|
19518
|
+
(20160412205931),
|
19519
|
+
(20171205183457);
|
19520
|
+
|
19521
|
+
[0m
|
19522
|
+
[1m[35m (8.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19523
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
19524
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:26.143562"], ["updated_at", "2023-04-17 17:41:26.143562"]]
|
19525
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
19526
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "public"."panda_pal_organizations"."name" FROM "public"."panda_pal_organizations"[0m
|
19527
|
+
[1m[36mPandaPal::Organization Load (0.2ms)[0m [1m[34mSELECT "public"."panda_pal_organizations".* FROM "public"."panda_pal_organizations" ORDER BY "public"."panda_pal_organizations"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
|
19528
|
+
[1m[35m (1.3ms)[0m [1m[31mROLLBACK[0m
|
19529
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
19530
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
19531
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "18eacbbe025036a39b7b30c1d4bea228"], ["LIMIT", 1]]
|
19532
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "7b22739e3dc659423cf030d4bfe35824"], ["LIMIT", 1]]
|
19533
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "b785532fb70bbe89f37776a5fe0ced0a"], ["LIMIT", 1]]
|
19534
|
+
[1m[36mPandaPal::Organization Create (0.3ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "7b22739e3dc659423cf030d4bfe35824"], ["key", "18eacbbe025036a39b7b30c1d4bea228"], ["secret", "864ec1453842814296ad634c15748e07"], ["canvas_account_id", "2109"], ["created_at", "2023-04-17 17:41:26.155763"], ["updated_at", "2023-04-17 17:41:26.155763"], ["salesforce_id", "b785532fb70bbe89f37776a5fe0ced0a"], ["encrypted_settings_iv", "hA+WiViWabWGRgbf\n"]]
|
19535
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE SCHEMA "7b22739e3dc659423cf030d4bfe35824"[0m
|
19536
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
19537
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
19538
|
+
[1m[35m (9.3ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19539
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
19540
|
+
[1m[35m (9.3ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
19541
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
19542
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
19543
|
+
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
19544
|
+
[1m[35m (10.4ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
19545
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
19546
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
19547
|
+
[1m[35m (8.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
19548
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
19549
|
+
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
19550
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
19551
|
+
(20160413135653),
|
19552
|
+
(20160425130344),
|
19553
|
+
(20171205194657),
|
19554
|
+
(20170106165533),
|
19555
|
+
(20160412205931),
|
19556
|
+
(20171205183457);
|
19557
|
+
|
19558
|
+
[0m
|
19559
|
+
[1m[35m (8.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19560
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
19561
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:26.240747"], ["updated_at", "2023-04-17 17:41:26.240747"]]
|
19562
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
19563
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "public"."panda_pal_organizations"."name" FROM "public"."panda_pal_organizations"[0m
|
19564
|
+
[1m[36mPandaPal::Organization Load (0.3ms)[0m [1m[34mSELECT "public"."panda_pal_organizations".* FROM "public"."panda_pal_organizations" ORDER BY "public"."panda_pal_organizations"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
|
19565
|
+
[1m[35m (1.9ms)[0m [1m[31mROLLBACK[0m
|
19566
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
19567
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
19568
|
+
[1m[36mPandaPal::Organization Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."key") = LOWER($1) LIMIT $2[0m [["key", "81a53e886e5be1f462193d18b113ec31"], ["LIMIT", 1]]
|
19569
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE LOWER("public"."panda_pal_organizations"."name") = LOWER($1) LIMIT $2[0m [["name", "9b79f21f551f1cff94286c7efabcbda1"], ["LIMIT", 1]]
|
19570
|
+
[1m[36mPandaPal::Organization Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "public"."panda_pal_organizations" WHERE "public"."panda_pal_organizations"."salesforce_id" = $1 LIMIT $2[0m [["salesforce_id", "3a44b5d1f95199ff5940e9c9046ca93d"], ["LIMIT", 1]]
|
19571
|
+
[1m[36mPandaPal::Organization Create (0.3ms)[0m [1m[32mINSERT INTO "public"."panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at", "salesforce_id", "encrypted_settings_iv") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "9b79f21f551f1cff94286c7efabcbda1"], ["key", "81a53e886e5be1f462193d18b113ec31"], ["secret", "1393e2bfc3fd075b6f18775fa2e1faf4"], ["canvas_account_id", "7459"], ["created_at", "2023-04-17 17:41:26.253775"], ["updated_at", "2023-04-17 17:41:26.253775"], ["salesforce_id", "3a44b5d1f95199ff5940e9c9046ca93d"], ["encrypted_settings_iv", "t+R0j8q/6PoZ440M\n"]]
|
19572
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE SCHEMA "9b79f21f551f1cff94286c7efabcbda1"[0m
|
19573
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
19574
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_api_calls" CASCADE[0m
|
19575
|
+
[1m[35m (9.3ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19576
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
19577
|
+
[1m[35m (9.0ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "key" character varying, "secret" character varying, "canvas_account_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "salesforce_id" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying)[0m
|
19578
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
19579
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
19580
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
19581
|
+
[1m[35m (8.8ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" serial NOT NULL PRIMARY KEY, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
19582
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
19583
|
+
[1m[35m (5.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
19584
|
+
[1m[35m (8.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
19585
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
19586
|
+
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220721095653)[0m
|
19587
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
19588
|
+
(20160413135653),
|
19589
|
+
(20160425130344),
|
19590
|
+
(20171205194657),
|
19591
|
+
(20170106165533),
|
19592
|
+
(20160412205931),
|
19593
|
+
(20171205183457);
|
19594
|
+
|
19595
|
+
[0m
|
19596
|
+
[1m[35m (7.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
19597
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
19598
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-04-17 17:41:26.333523"], ["updated_at", "2023-04-17 17:41:26.333523"]]
|
19599
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
19600
|
+
[1m[35m (1.6ms)[0m [1m[31mROLLBACK[0m
|