bookingsync-engine 1.1.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 09059e6ed1793e6948824832daf3a4c8de73f4b3
4
- data.tar.gz: 77c6aea006a204cf8100db306f7da9bdf196d4a9
3
+ metadata.gz: 618fbd337c3d18536a575427edeb554651b92aae
4
+ data.tar.gz: 0cd23f81cf1d80600e4af74f4f2375c47c2a58bb
5
5
  SHA512:
6
- metadata.gz: bf59001d3dda1fb97647717f084b6ee0999b9aa8020ba015dbabc34d6a5c6729e4aa150a77e22f6276585fed24845cafb7d823243b06b7ef0c855fb9b93fa9d2
7
- data.tar.gz: dcca71ead0417a1a6add3611e77b8305c4fc55314266fd5ba26101ec36b9c8d57c758a5c7739d95c9a2ab54ed8e30e80f33c174d7a4b2b876a745189a277c118
6
+ metadata.gz: a33ee4fa9d0bcc3375801f46460f2455b31427f6d19365d66e87f5a63271b2f3013bb8eef791d6605b384be01051db106a61ce28a31adafc37f43ce34130d557
7
+ data.tar.gz: ed9739c2ff05eff8933d9d23cacd1c78a2053d8463f947807f97554ce0a1e0097a4275e266ddbab52b9d00cc479fb859dfe9c7b96df450edaf7dc3eda59f1ad3
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  ## Requirements
7
7
 
8
- This engine requires Rails `>= 4.0.0` and Ruby `>= 2.0.0`.
8
+ This engine requires Rails `>= 4.1.0` and Ruby `>= 2.0.0`.
9
9
 
10
10
  ## Documentation
11
11
 
@@ -1,3 +1,3 @@
1
1
  module BookingSync
2
- ENGINE_VERSION = "1.1.0"
2
+ ENGINE_VERSION = "2.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookingsync-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastien Grosjean
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-08-23 00:00:00.000000000 Z
12
+ date: 2017-04-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -31,14 +31,14 @@ dependencies:
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: 0.4.0
34
+ version: 0.5.0
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: 0.4.0
41
+ version: 0.5.0
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: bookingsync-api
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -197,8 +197,6 @@ files:
197
197
  - spec/dummy/db/migrate/20140522110326_create_accounts.rb
198
198
  - spec/dummy/db/migrate/20140522110454_add_o_auth_fields_to_accounts.rb
199
199
  - spec/dummy/db/schema.rb
200
- - spec/dummy/log/development.log
201
- - spec/dummy/log/test.log
202
200
  - spec/dummy/public/404.html
203
201
  - spec/dummy/public/422.html
204
202
  - spec/dummy/public/500.html
@@ -267,8 +265,6 @@ test_files:
267
265
  - spec/dummy/db/migrate/20140522110326_create_accounts.rb
268
266
  - spec/dummy/db/migrate/20140522110454_add_o_auth_fields_to_accounts.rb
269
267
  - spec/dummy/db/schema.rb
270
- - spec/dummy/log/development.log
271
- - spec/dummy/log/test.log
272
268
  - spec/dummy/public/404.html
273
269
  - spec/dummy/public/422.html
274
270
  - spec/dummy/public/500.html
@@ -1,453 +0,0 @@
1
-  (1.1ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "synced_id" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar) 
2
-  (0.2ms) select sqlite_version(*)
3
-  (1.1ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
4
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
5
-  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
6
-  (0.2ms) SELECT version FROM "schema_migrations"
7
-  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
8
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
9
-  (1.1ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "synced_id" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar) 
10
-  (0.1ms) select sqlite_version(*)
11
-  (1.0ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
12
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
13
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
14
-  (0.1ms) SELECT version FROM "schema_migrations"
15
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
16
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
17
-  (1.2ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "synced_id" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar) 
18
-  (0.1ms) select sqlite_version(*)
19
-  (1.1ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
20
-  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
21
-  (2.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
22
-  (0.2ms) SELECT version FROM "schema_migrations"
23
-  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
24
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
25
-  (1.5ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "synced_id" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
26
-  (0.1ms) select sqlite_version(*)
27
-  (1.2ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
28
-  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
29
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
30
-  (0.2ms) SELECT version FROM "schema_migrations"
31
-  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
32
-  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
33
-  (2.2ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "synced_id" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar) 
34
-  (0.3ms) select sqlite_version(*)
35
-  (1.4ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
36
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
37
-  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
38
-  (0.1ms) SELECT version FROM "schema_migrations"
39
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
40
-  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
41
-  (1.9ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "synced_id" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar)
42
-  (0.1ms) select sqlite_version(*)
43
-  (1.1ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
44
-  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
45
-  (0.1ms) SELECT version FROM "schema_migrations"
46
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
47
-  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20140522110326');
48
-
49
- 
50
-  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
51
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
52
-  (0.2ms) begin transaction
53
- SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 17:45:51 UTC], ["updated_at", 2016-08-22 17:45:51 UTC]]
54
-  (0.9ms) commit transaction
55
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
56
-  (0.1ms) begin transaction
57
-  (0.1ms) commit transaction
58
-  (3.0ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "synced_id" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar)
59
-  (0.1ms) select sqlite_version(*)
60
-  (1.2ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
61
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
62
-  (0.1ms) SELECT version FROM "schema_migrations"
63
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
64
-  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20140522110326');
65
-
66
- 
67
-  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
68
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
69
-  (0.1ms) begin transaction
70
- SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 17:48:52 UTC], ["updated_at", 2016-08-22 17:48:52 UTC]]
71
-  (2.7ms) commit transaction
72
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
73
-  (0.1ms) begin transaction
74
-  (0.0ms) commit transaction
75
-  (1.3ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "synced_id" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar)
76
-  (0.1ms) select sqlite_version(*)
77
-  (1.1ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
78
-  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
79
-  (0.1ms) SELECT version FROM "schema_migrations"
80
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
81
-  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20140522110326');
82
-
83
- 
84
-  (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
85
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
86
-  (0.1ms) begin transaction
87
- SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 17:51:11 UTC], ["updated_at", 2016-08-22 17:51:11 UTC]]
88
-  (0.9ms) commit transaction
89
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
90
-  (0.1ms) begin transaction
91
-  (0.1ms) commit transaction
92
-  (1.4ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "synced_id" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar)
93
-  (0.1ms) select sqlite_version(*)
94
-  (1.0ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
95
-  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
96
-  (0.1ms) SELECT version FROM "schema_migrations"
97
-  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
98
-  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20140522110326');
99
-
100
- 
101
-  (1.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
102
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
103
-  (0.1ms) begin transaction
104
- SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 17:53:46 UTC], ["updated_at", 2016-08-22 17:53:46 UTC]]
105
-  (0.9ms) commit transaction
106
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
107
-  (0.1ms) begin transaction
108
-  (0.1ms) commit transaction
109
-  (1.8ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "synced_id" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar)
110
-  (0.1ms) select sqlite_version(*)
111
-  (1.3ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
112
-  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
113
-  (0.2ms) SELECT version FROM "schema_migrations"
114
-  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
115
-  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20140522110326');
116
-
117
- 
118
-  (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
119
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
120
-  (0.1ms) begin transaction
121
- SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 17:54:47 UTC], ["updated_at", 2016-08-22 17:54:47 UTC]]
122
-  (0.9ms) commit transaction
123
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
124
-  (0.1ms) begin transaction
125
-  (0.1ms) commit transaction
126
-  (3.1ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "synced_id" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar)
127
-  (0.2ms) select sqlite_version(*)
128
-  (1.3ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
129
-  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
130
-  (0.1ms) SELECT version FROM "schema_migrations"
131
-  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
132
-  (1.1ms) INSERT INTO schema_migrations (version) VALUES ('20140522110326');
133
-
134
- 
135
-  (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
136
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
137
-  (0.2ms) begin transaction
138
- SQL (0.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 17:55:44 UTC], ["updated_at", 2016-08-22 17:55:44 UTC]]
139
-  (0.9ms) commit transaction
140
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
141
-  (0.1ms) begin transaction
142
-  (0.1ms) commit transaction
143
-  (3.8ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "synced_id" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar)
144
-  (0.1ms) select sqlite_version(*)
145
-  (1.1ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
146
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
147
-  (0.1ms) SELECT version FROM "schema_migrations"
148
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
149
-  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20140522110326');
150
-
151
- 
152
-  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
153
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
154
-  (0.1ms) begin transaction
155
- SQL (0.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 17:56:05 UTC], ["updated_at", 2016-08-22 17:56:05 UTC]]
156
-  (0.9ms) commit transaction
157
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
158
-  (0.1ms) begin transaction
159
-  (0.0ms) commit transaction
160
-  (1.3ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "synced_id" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar) 
161
-  (0.1ms) select sqlite_version(*)
162
-  (1.2ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
163
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
164
-  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
165
-  (0.1ms) SELECT version FROM "schema_migrations"
166
-  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
167
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
168
-  (2.1ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "synced_id" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar) 
169
-  (0.2ms) select sqlite_version(*)
170
-  (1.2ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
171
-  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
172
-  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
173
-  (0.3ms) SELECT version FROM "schema_migrations"
174
-  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
175
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
176
-  (3.7ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "synced_id" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar)
177
-  (0.1ms) select sqlite_version(*)
178
-  (1.4ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
179
-  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
180
-  (0.2ms) SELECT version FROM "schema_migrations"
181
-  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
182
-  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20140522110326');
183
-
184
- 
185
-  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
186
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
187
-  (0.1ms) begin transaction
188
- SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 18:00:52 UTC], ["updated_at", 2016-08-22 18:00:52 UTC]]
189
-  (1.0ms) commit transaction
190
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
191
-  (0.1ms) begin transaction
192
-  (0.1ms) commit transaction
193
-  (2.8ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "synced_id" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar)
194
-  (0.1ms) select sqlite_version(*)
195
-  (1.1ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
196
-  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
197
-  (0.1ms) SELECT version FROM "schema_migrations"
198
-  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
199
-  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20140522110326');
200
-
201
- 
202
-  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
203
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
204
-  (0.2ms) begin transaction
205
- SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 18:02:08 UTC], ["updated_at", 2016-08-22 18:02:08 UTC]]
206
-  (0.9ms) commit transaction
207
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
208
-  (0.1ms) begin transaction
209
-  (0.1ms) commit transaction
210
-  (2.9ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "synced_id" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar)
211
-  (0.1ms) select sqlite_version(*)
212
-  (1.0ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
213
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
214
-  (0.1ms) SELECT version FROM "schema_migrations"
215
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
216
-  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20140522110326');
217
-
218
- 
219
-  (1.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
220
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
221
-  (0.1ms) begin transaction
222
- SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 18:02:43 UTC], ["updated_at", 2016-08-22 18:02:43 UTC]]
223
-  (1.0ms) commit transaction
224
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
225
-  (0.1ms) begin transaction
226
-  (0.1ms) commit transaction
227
-  (2.7ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
228
-  (591.6ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
229
-  (16.2ms) CREATE TABLE "accounts" ("id" serial primary key, "created_at" timestamp, "updated_at" timestamp, "provider" character varying, "synced_id" integer, "name" character varying, "oauth_access_token" character varying, "oauth_refresh_token" character varying, "oauth_expires_at" character varying)
230
-  (1.9ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
231
-  (3.3ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
232
-  (0.5ms) SELECT version FROM "schema_migrations"
233
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
234
-  (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20140522110326');
235
-
236
- 
237
-  (2.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
238
- ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
239
-  (0.4ms) BEGIN
240
- SQL (2.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 18:16:07 UTC], ["updated_at", 2016-08-22 18:16:07 UTC]]
241
-  (0.4ms) COMMIT
242
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
243
-  (0.1ms) BEGIN
244
-  (0.2ms) COMMIT
245
-  (119.7ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
246
-  (251.9ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
247
-  (6.8ms) CREATE TABLE "accounts" ("id" serial primary key, "created_at" timestamp, "updated_at" timestamp, "provider" character varying, "synced_id" integer, "name" character varying, "oauth_access_token" character varying, "oauth_refresh_token" character varying, "oauth_expires_at" character varying) 
248
-  (1.1ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
249
-  (3.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
250
-  (1.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
251
-  (0.6ms) SELECT version FROM "schema_migrations"
252
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
253
-  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
254
-  (1.9ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "synced_id" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar) 
255
-  (0.2ms) select sqlite_version(*)
256
-  (1.3ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
257
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
258
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
259
-  (0.2ms) SELECT version FROM "schema_migrations"
260
-  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
261
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
262
-  (33.7ms) CREATE TABLE "accounts" ("id" serial primary key, "created_at" timestamp, "updated_at" timestamp, "provider" character varying, "synced_id" integer, "name" character varying, "oauth_access_token" character varying, "oauth_refresh_token" character varying, "oauth_expires_at" character varying) 
263
-  (1.1ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
264
-  (4.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
265
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
266
-  (1.0ms) SELECT version FROM "schema_migrations"
267
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
268
-  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
269
-  (122.5ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
270
-  (394.5ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
271
-  (24.8ms) CREATE TABLE "accounts" ("id" serial primary key, "created_at" timestamp, "updated_at" timestamp, "provider" character varying(255), "synced_id" integer, "name" character varying(255), "oauth_access_token" character varying(255), "oauth_refresh_token" character varying(255), "oauth_expires_at" character varying(255)) 
272
-  (1.5ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
273
-  (12.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
274
-  (12.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
275
-  (1.0ms) SELECT version FROM "schema_migrations"
276
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
277
-  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
278
-  (119.7ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
279
-  (245.7ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
280
-  (31.1ms) CREATE TABLE "accounts" ("id" serial primary key, "created_at" timestamp, "updated_at" timestamp, "provider" character varying, "synced_id" integer, "name" character varying, "oauth_access_token" character varying, "oauth_refresh_token" character varying, "oauth_expires_at" character varying) 
281
-  (8.2ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
282
-  (19.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
283
-  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
284
-  (0.6ms) SELECT version FROM "schema_migrations"
285
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
286
-  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
287
- ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
288
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
289
-  (28.6ms) CREATE TABLE "accounts" ("id" serial primary key, "created_at" timestamp, "updated_at" timestamp, "provider" character varying, "synced_id" integer, "name" character varying, "oauth_access_token" character varying, "oauth_refresh_token" character varying, "oauth_expires_at" character varying) 
290
-  (1.6ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
291
-  (23.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
292
-  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
293
-  (0.4ms) SELECT version FROM "schema_migrations"
294
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
295
-  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
296
-  (7.4ms) CREATE TABLE "accounts" ("id" serial primary key, "created_at" timestamp, "updated_at" timestamp, "provider" character varying, "synced_id" integer, "name" character varying, "oauth_access_token" character varying, "oauth_refresh_token" character varying, "oauth_expires_at" character varying)
297
-  (1.5ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
298
-  (2.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
299
-  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
300
-  (2.5ms) SELECT version FROM "schema_migrations"
301
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
302
-  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
303
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
304
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
305
-  (26.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
306
-  (6.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
307
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
308
- Migrating to CreateAccounts (20140522110326)
309
-  (11.6ms) BEGIN
310
- DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/manda/projects/bookingsync-engine/spec/dummy/db/migrate/20140522110326_create_accounts.rb:5)
311
-  (11.3ms) CREATE TABLE "accounts" ("id" serial primary key, "created_at" timestamp, "updated_at" timestamp) 
312
- SQL (12.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140522110326"]]
313
-  (11.1ms) COMMIT
314
- Migrating to AddOAuthFieldsToAccounts (20140522110454)
315
-  (5.6ms) BEGIN
316
-  (3.9ms) ALTER TABLE "accounts" ADD "provider" character varying
317
-  (0.4ms) ALTER TABLE "accounts" ADD "synced_id" integer
318
-  (1.1ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
319
-  (0.3ms) ALTER TABLE "accounts" ADD "name" character varying
320
-  (0.3ms) ALTER TABLE "accounts" ADD "oauth_access_token" character varying
321
-  (0.3ms) ALTER TABLE "accounts" ADD "oauth_refresh_token" character varying
322
-  (0.3ms) ALTER TABLE "accounts" ADD "oauth_expires_at" character varying
323
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140522110454"]]
324
-  (0.6ms) COMMIT
325
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
326
-  (4.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
327
- FROM pg_constraint c
328
- JOIN pg_class t1 ON c.conrelid = t1.oid
329
- JOIN pg_class t2 ON c.confrelid = t2.oid
330
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
331
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
332
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
333
- WHERE c.contype = 'f'
334
- AND t1.relname = 'accounts'
335
- AND t3.nspname = ANY (current_schemas(false))
336
- ORDER BY c.conname
337
- 
338
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
339
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
340
-  (19.7ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
341
-  (25.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
342
-  (0.4ms) SELECT pg_try_advisory_lock(4021716121895623095);
343
- ActiveRecord::SchemaMigration Load (6.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
344
- Migrating to CreateAccounts (20140522110326)
345
-  (5.7ms) BEGIN
346
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
347
-
348
- class CreateAccounts < ActiveRecord::Migration[4.2] (called from load at /Users/manda/.rvm/gems/ruby-2.3.1/bin/rake:23)
349
-  (13.9ms) CREATE TABLE "accounts" ("id" serial primary key, "created_at" timestamp, "updated_at" timestamp)
350
- SQL (6.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140522110326"]]
351
-  (12.5ms) COMMIT
352
- Migrating to AddOAuthFieldsToAccounts (20140522110454)
353
-  (5.6ms) BEGIN
354
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
355
-
356
- class AddOAuthFieldsToAccounts < ActiveRecord::Migration[4.2] (called from load at /Users/manda/.rvm/gems/ruby-2.3.1/bin/rake:23)
357
-  (14.6ms) ALTER TABLE "accounts" ADD "provider" character varying
358
-  (4.7ms) ALTER TABLE "accounts" ADD "synced_id" integer
359
-  (1.5ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
360
-  (0.7ms) ALTER TABLE "accounts" ADD "name" character varying
361
-  (0.4ms) ALTER TABLE "accounts" ADD "oauth_access_token" character varying
362
-  (0.6ms) ALTER TABLE "accounts" ADD "oauth_refresh_token" character varying
363
-  (0.8ms) ALTER TABLE "accounts" ADD "oauth_expires_at" character varying
364
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140522110454"]]
365
-  (0.5ms) COMMIT
366
- ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
367
-  (0.2ms) BEGIN
368
- SQL (6.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 19:43:57 UTC], ["updated_at", 2016-08-22 19:43:57 UTC]]
369
-  (11.7ms) COMMIT
370
-  (5.9ms) SELECT pg_advisory_unlock(4021716121895623095)
371
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
372
-  (3.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
373
- FROM pg_constraint c
374
- JOIN pg_class t1 ON c.conrelid = t1.oid
375
- JOIN pg_class t2 ON c.confrelid = t2.oid
376
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
377
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
378
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
379
- WHERE c.contype = 'f'
380
- AND t1.relname = 'accounts'
381
- AND t3.nspname = ANY (current_schemas(false))
382
- ORDER BY c.conname
383
- 
384
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
385
-  (12.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
386
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
387
-  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
388
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
389
-  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
390
-  (117.7ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
391
-  (403.2ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
392
- SQL (1.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
393
-  (6.4ms) CREATE TABLE "accounts" ("id" serial primary key, "created_at" timestamp, "updated_at" timestamp, "provider" character varying, "synced_id" integer, "name" character varying, "oauth_access_token" character varying, "oauth_refresh_token" character varying, "oauth_expires_at" character varying)
394
-  (1.4ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")
395
-  (4.0ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
396
-  (0.7ms) SELECT version FROM "schema_migrations"
397
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
398
-  (0.5ms) INSERT INTO schema_migrations (version) VALUES ('20140522110326');
399
-
400
- 
401
-  (3.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
402
- ActiveRecord::InternalMetadata Load (5.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
403
-  (6.1ms) BEGIN
404
- SQL (6.0ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 19:44:14 UTC], ["updated_at", 2016-08-22 19:44:14 UTC]]
405
-  (0.5ms) COMMIT
406
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
407
-  (0.1ms) BEGIN
408
-  (0.1ms) COMMIT
409
-  (120.7ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
410
-  (246.8ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
411
- SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
412
-  (17.4ms) CREATE TABLE "accounts" ("id" serial primary key, "created_at" timestamp, "updated_at" timestamp, "provider" character varying(255), "synced_id" integer, "name" character varying(255), "oauth_access_token" character varying(255), "oauth_refresh_token" character varying(255), "oauth_expires_at" character varying(255))
413
-  (3.1ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")
414
-  (12.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
415
-  (11.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
416
-  (0.7ms) SELECT version FROM "schema_migrations"
417
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
418
-  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
419
-  (118.5ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
420
-  (245.2ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
421
- SQL (0.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
422
-  (18.7ms) CREATE TABLE "accounts" ("id" serial primary key, "created_at" timestamp, "updated_at" timestamp, "provider" character varying, "synced_id" integer, "name" character varying, "oauth_access_token" character varying, "oauth_refresh_token" character varying, "oauth_expires_at" character varying)
423
-  (1.2ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")
424
-  (24.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
425
-  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
426
-  (0.6ms) SELECT version FROM "schema_migrations"
427
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
428
-  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
429
- ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
430
-  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
431
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
432
-  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
433
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
434
-  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
435
-  (124.2ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
436
-  (250.2ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
437
- SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
438
-  (6.5ms) CREATE TABLE "accounts" ("id" serial primary key, "created_at" timestamp, "updated_at" timestamp, "provider" character varying, "synced_id" integer, "name" character varying, "oauth_access_token" character varying, "oauth_refresh_token" character varying, "oauth_expires_at" character varying)
439
-  (1.3ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")
440
-  (3.3ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
441
-  (0.6ms) SELECT version FROM "schema_migrations"
442
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
443
-  (0.5ms) INSERT INTO schema_migrations (version) VALUES ('20140522110326');
444
-
445
- 
446
-  (2.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
447
- ActiveRecord::InternalMetadata Load (6.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
448
-  (5.8ms) BEGIN
449
- SQL (6.0ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 19:44:49 UTC], ["updated_at", 2016-08-22 19:44:49 UTC]]
450
-  (0.6ms) COMMIT
451
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
452
-  (0.1ms) BEGIN
453
-  (0.1ms) COMMIT