panda_pal 5.4.11 → 5.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +39 -0
- data/app/controllers/panda_pal/api_call_controller.rb +36 -0
- data/app/lib/panda_pal/launch_url_helpers.rb +20 -6
- data/app/models/panda_pal/api_call.rb +58 -0
- data/app/models/panda_pal/organization.rb +55 -0
- data/app/models/panda_pal/platform.rb +141 -6
- data/config/routes.rb +3 -0
- data/db/migrate/20220721095653_create_panda_pal_api_calls.rb +11 -0
- data/lib/panda_pal/engine.rb +5 -7
- data/lib/panda_pal/helpers/controller_helper.rb +2 -9
- data/lib/panda_pal/version.rb +1 -1
- data/panda_pal.gemspec +12 -2
- data/spec/controllers/panda_pal/api_call_controller_spec.rb +27 -0
- data/spec/dummy/config/database.yml +12 -12
- data/spec/dummy/db/schema.rb +11 -3
- data/spec/dummy/log/development.log +162 -0
- data/spec/dummy/log/test.log +12627 -0
- data/spec/models/panda_pal/api_call_spec.rb +30 -0
- data/spec/models/panda_pal/organization/task_scheduling_spec.rb +1 -0
- metadata +84 -3
@@ -0,0 +1,162 @@
|
|
1
|
+
[1m[35m (3.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
3
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
4
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
5
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
6
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
7
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "public"."panda_pal_organizations"."name" FROM "public"."panda_pal_organizations"[0m
|
8
|
+
[1m[35m (29.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "panda_pal_development"[0m
|
9
|
+
[1m[35m (28.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "panda_pal_test"[0m
|
10
|
+
[1m[35m (124.7ms)[0m [1m[35mCREATE DATABASE "panda_pal_development" ENCODING = 'utf8'[0m
|
11
|
+
[1m[35m (84.3ms)[0m [1m[35mCREATE DATABASE "panda_pal_test" ENCODING = 'utf8'[0m
|
12
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
13
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
14
|
+
[1m[35m (15.0ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" bigserial 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
|
15
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
16
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
17
|
+
[1m[35m (1.0ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
18
|
+
[1m[35m (9.0ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" bigserial primary key, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
19
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
20
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
21
|
+
[1m[35m (8.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
22
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
23
|
+
[1m[35m (1.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20171205194657)[0m
|
24
|
+
[1m[35m (9.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
|
25
|
+
[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]]
|
26
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
27
|
+
[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", "development"], ["created_at", "2022-07-21 15:53:16.068888"], ["updated_at", "2022-07-21 15:53:16.068888"]]
|
28
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
29
|
+
[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]]
|
30
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
31
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
32
|
+
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
33
|
+
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_organizations" CASCADE[0m
|
34
|
+
[1m[35m (11.1ms)[0m [1m[35mCREATE TABLE "panda_pal_organizations" ("id" bigserial 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
|
35
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
36
|
+
[1m[35m (5.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
37
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "panda_pal_sessions" CASCADE[0m
|
38
|
+
[1m[35m (9.6ms)[0m [1m[35mCREATE TABLE "panda_pal_sessions" ("id" bigserial primary key, "session_key" character varying, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "panda_pal_organization_id" integer)[0m
|
39
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE INDEX "index_panda_pal_sessions_on_panda_pal_organization_id" ON "panda_pal_sessions" ("panda_pal_organization_id")[0m
|
40
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
41
|
+
[1m[35m (8.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
42
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
43
|
+
[1m[35m (1.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20171205194657)[0m
|
44
|
+
[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
|
45
|
+
[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]]
|
46
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
47
|
+
[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", "development"], ["created_at", "2022-07-21 15:53:16.159537"], ["updated_at", "2022-07-21 15:53:16.159537"]]
|
48
|
+
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
|
49
|
+
[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]]
|
50
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
51
|
+
[1m[36mActiveRecord::InternalMetadata Update (0.2ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2022-07-21 15:53:16.162899"], ["key", "environment"]]
|
52
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
53
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(7878782013693407355)[0m
|
54
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
55
|
+
[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]]
|
56
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
57
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
58
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(7878782013693407355)[0m
|
59
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
60
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "public"."panda_pal_organizations"."name" FROM "public"."panda_pal_organizations"[0m
|
61
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "public"."panda_pal_organizations"."name" FROM "public"."panda_pal_organizations"[0m
|
62
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(7878782013693407355)[0m
|
63
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
64
|
+
[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]]
|
65
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
66
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
67
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(7878782013693407355)[0m
|
68
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
69
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "public"."panda_pal_organizations"."name" FROM "public"."panda_pal_organizations"[0m
|
70
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "public"."panda_pal_organizations"."name" FROM "public"."panda_pal_organizations"[0m
|
71
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
72
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
73
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
74
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
75
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
76
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
77
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "public"."panda_pal_organizations"."name" FROM "public"."panda_pal_organizations"[0m
|
78
|
+
[1m[35m (70.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "panda_pal_development"[0m
|
79
|
+
[1m[35m (34.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "panda_pal_test"[0m
|
80
|
+
[1m[35m (76.8ms)[0m [1m[35mCREATE DATABASE "panda_pal_development" ENCODING = 'utf8'[0m
|
81
|
+
[1m[35m (74.8ms)[0m [1m[35mCREATE DATABASE "panda_pal_test" ENCODING = 'utf8'[0m
|
82
|
+
[1m[35m (10.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
83
|
+
[1m[35m (9.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
|
84
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(7878782013693407355)[0m
|
85
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
86
|
+
[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]]
|
87
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
88
|
+
[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", "development"], ["created_at", "2022-07-21 16:11:17.765993"], ["updated_at", "2022-07-21 16:11:17.765993"]]
|
89
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
90
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_advisory_unlock(7878782013693407355)[0m
|
91
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
92
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
93
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
94
|
+
[1m[35m (31.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "panda_pal_development"[0m
|
95
|
+
[1m[35m (27.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "panda_pal_test"[0m
|
96
|
+
[1m[35m (81.3ms)[0m [1m[35mCREATE DATABASE "panda_pal_development" ENCODING = 'utf8'[0m
|
97
|
+
[1m[35m (81.1ms)[0m [1m[35mCREATE DATABASE "panda_pal_test" ENCODING = 'utf8'[0m
|
98
|
+
[1m[35m (10.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
99
|
+
[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
|
100
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(7878782013693407355)[0m
|
101
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
102
|
+
Migrating to CreatePandaPalOrganizations (20160412205931)
|
103
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
104
|
+
[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, "settings" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
105
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")[0m
|
106
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")[0m
|
107
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20160412205931"]]
|
108
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
109
|
+
Migrating to CreatePandaPalSessions (20160413135653)
|
110
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
111
|
+
[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)[0m
|
112
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")[0m
|
113
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20160413135653"]]
|
114
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
115
|
+
Migrating to AddPandaPalOrganizationToSession (20160425130344)
|
116
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
117
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "panda_pal_sessions" ADD "panda_pal_organization_id" integer[0m
|
118
|
+
[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
|
119
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20160425130344"]]
|
120
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
121
|
+
Migrating to AddSalesforceIdToOrganizations (20170106165533)
|
122
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
123
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "panda_pal_organizations" ADD "salesforce_id" character varying[0m
|
124
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170106165533"]]
|
125
|
+
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
|
126
|
+
Migrating to EncryptOrganizationSettings (20171205183457)
|
127
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
128
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT * from schema_migrations where version = '30171205183457'[0m
|
129
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "panda_pal_organizations" RENAME COLUMN "settings" TO "old_settings"[0m
|
130
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "panda_pal_organizations" ADD "encrypted_settings" text[0m
|
131
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "panda_pal_organizations" ADD "encrypted_settings_iv" character varying[0m
|
132
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20171205183457"]]
|
133
|
+
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
|
134
|
+
Migrating to RemoveOldOrganizationSettings (20171205194657)
|
135
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
136
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT * from schema_migrations where version = '30171205194657'[0m
|
137
|
+
[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]]
|
138
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "panda_pal_organizations" DROP COLUMN "old_settings"[0m
|
139
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20171205194657"]]
|
140
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
141
|
+
Migrating to CreatePandaPalApiCalls (20220721095653)
|
142
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
143
|
+
[1m[35m (8.2ms)[0m [1m[35mCREATE TABLE "panda_pal_api_calls" ("id" serial NOT NULL PRIMARY KEY, "logic" text, "expiration" character varying, "rate_limit" character varying, "uses_remaining" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
144
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220721095653"]]
|
145
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
146
|
+
[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]]
|
147
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
148
|
+
[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", "development"], ["created_at", "2022-07-21 16:14:19.544810"], ["updated_at", "2022-07-21 16:14:19.544810"]]
|
149
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
150
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(7878782013693407355)[0m
|
151
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
152
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "public"."panda_pal_organizations"."name" FROM "public"."panda_pal_organizations"[0m
|
153
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "public"."panda_pal_organizations"."name" FROM "public"."panda_pal_organizations"[0m
|
154
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(7878782013693407355)[0m
|
155
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
156
|
+
[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]]
|
157
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
158
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
159
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(7878782013693407355)[0m
|
160
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
161
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "public"."panda_pal_organizations"."name" FROM "public"."panda_pal_organizations"[0m
|
162
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "public"."panda_pal_organizations"."name" FROM "public"."panda_pal_organizations"[0m
|