bookingsync-engine 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 991fd8a5b7f3d06dce726891515ab74d47b3e7ee
4
- data.tar.gz: a483c8ae6ba71fc8bccf6eef404f197af56f276a
3
+ metadata.gz: a0f466220c045d99d4b010da4dc7785a14ec9546
4
+ data.tar.gz: f2f4fb7f441d9d0616b89fbc96833b55211dd37b
5
5
  SHA512:
6
- metadata.gz: 51e80281200df8b8faede5c09a30e1693d67371c54f84ba394c8e5d7ee34a9fe5e7651f53a678b1e087618d91d584c494609ab991b74f4afd3ebcc91427fc51a
7
- data.tar.gz: 5ea83f13940d0e710ac84e21b6a20a6a6455fd1458dc8e2b72c2dc43c4bd85b79760b7568d5998a24b3fa45ae1b945e02f316f834cc82dc05838c067efb90683
6
+ metadata.gz: 468496d45c096631d7ad85b7b3d63bb1a0e83c5aacfc9bc6f91f0556899f907002a90caa25e43a45d015a18b48876f541c2e160fa39135794880e2d03cd11b79
7
+ data.tar.gz: a1706c91b5c94f0270585809a1bb30785f0f42904949e5fff9e4d0e70c14898afcf22dbc1b8c04002257d4d1910705066e534bf22427901e10d0e7206b771058
@@ -74,8 +74,8 @@ module BookingSync::Engine::AuthHelpers
74
74
  # Load the new authorization path using Javascript by default.
75
75
  def request_authorization_for_embedded!
76
76
  allow_bookingsync_iframe
77
- render plain: "<script type='text/javascript'>top.location.href = " +
78
- "'#{new_authorization_path}';</script>"
77
+ render html: ("<script type='text/javascript'>top.location.href = " +
78
+ "'#{new_authorization_path}';</script>").html_safe
79
79
  end
80
80
 
81
81
  # Request a new authorization for Standalone Apps.
@@ -1,3 +1,3 @@
1
1
  module BookingSync
2
- ENGINE_VERSION = "3.0.0"
2
+ ENGINE_VERSION = "3.0.1"
3
3
  end
@@ -10,6 +10,7 @@ RSpec.describe AuthenticatedController, type: :controller do
10
10
  expect(response.status).to eq(200)
11
11
  expect(response.body).to eq(
12
12
  "<script type='text/javascript'>top.location.href = '/auth/bookingsync/?account_id=';</script>")
13
+ expect(response.header["Content-Type"]).to include("text/html")
13
14
  end
14
15
  end
15
16
 
Binary file
@@ -1,827 +1,453 @@
1
-  (0.9ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
2
-  (0.7ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
3
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
4
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
-  (0.1ms) SELECT version FROM "schema_migrations"
6
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
7
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
8
-  (3.7ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
9
-  (2.4ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
10
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
11
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
12
-  (0.1ms) SELECT version FROM "schema_migrations"
13
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
14
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
15
-  (1.9ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
16
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
17
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
18
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
19
-  (0.1ms) SELECT version FROM "schema_migrations"
20
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
21
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
22
-  (1.6ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
23
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
24
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
25
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
26
-  (0.1ms) SELECT version FROM "schema_migrations"
27
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
28
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
29
-  (2.1ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
30
-  (1.0ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
31
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
32
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
33
-  (0.1ms) SELECT version FROM "schema_migrations"
34
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
35
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
36
-  (0.9ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
37
-  (0.1ms) select sqlite_version(*)
38
-  (0.8ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
39
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
40
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
41
-  (0.1ms) SELECT version FROM "schema_migrations"
42
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
43
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
44
-  (1.8ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
45
-  (0.1ms) select sqlite_version(*)
46
-  (1.1ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
47
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
48
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
49
-  (0.1ms) SELECT version FROM "schema_migrations"
50
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
51
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
52
-  (1.8ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
53
-  (1.4ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
54
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
55
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
56
-  (0.1ms) SELECT version FROM "schema_migrations"
57
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
58
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
59
-  (1.6ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
60
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
61
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
62
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
63
-  (0.1ms) SELECT version FROM "schema_migrations"
64
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
65
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
66
-  (1.7ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
67
-  (1.0ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
68
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
69
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
70
-  (0.1ms) SELECT version FROM "schema_migrations"
71
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
72
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
73
-  (1.9ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
74
-  (0.1ms) select sqlite_version(*)
75
-  (1.0ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
76
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
77
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
78
-  (0.1ms) SELECT version FROM "schema_migrations"
79
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
80
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
81
-  (2.2ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
82
-  (0.1ms) select sqlite_version(*)
83
-  (1.1ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
84
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
85
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
86
-  (0.1ms) SELECT version FROM "schema_migrations"
87
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
88
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
89
-  (1.6ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
90
-  (0.1ms) select sqlite_version(*)
91
-  (1.2ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
92
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
93
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
94
-  (0.1ms) SELECT version FROM "schema_migrations"
95
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
96
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
97
-  (1.8ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
98
-  (0.1ms) select sqlite_version(*)
99
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
100
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
101
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
102
-  (0.1ms) SELECT version FROM "schema_migrations"
103
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
104
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
105
-  (1.9ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
106
-  (0.1ms) select sqlite_version(*)
107
-  (1.0ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
108
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
109
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
110
-  (0.1ms) SELECT version FROM "schema_migrations"
111
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
112
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
113
-  (1.9ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
114
-  (0.1ms) select sqlite_version(*)
115
-  (1.1ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
116
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
117
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
118
-  (0.1ms) SELECT version FROM "schema_migrations"
119
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
120
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
121
-  (1.4ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
122
-  (0.1ms) select sqlite_version(*)
123
-  (1.1ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
124
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
125
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
126
-  (0.1ms) SELECT version FROM "schema_migrations"
127
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
128
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
129
-  (1.5ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
130
-  (0.1ms) select sqlite_version(*)
131
-  (1.0ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
132
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
133
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
134
-  (0.1ms) SELECT version FROM "schema_migrations"
135
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
136
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
137
-  (2.0ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
138
-  (1.1ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
139
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
140
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
141
-  (0.1ms) SELECT version FROM "schema_migrations"
142
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
143
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
144
-  (1.2ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
145
-  (0.1ms) select sqlite_version(*)
146
-  (1.2ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
147
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
148
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
149
-  (0.1ms) SELECT version FROM "schema_migrations"
150
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
151
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
152
-  (1.7ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "uid" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar) 
153
-  (0.1ms) select sqlite_version(*)
154
-  (0.8ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
155
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
156
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
157
-  (0.1ms) SELECT version FROM "schema_migrations"
158
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
159
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
160
-  (1.2ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
161
-  (0.1ms) select sqlite_version(*)
162
-  (1.0ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
163
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
164
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
165
-  (0.1ms) SELECT version FROM "schema_migrations"
166
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
167
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
168
-  (2.0ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
169
-  (0.1ms) select sqlite_version(*)
170
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
171
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
172
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
173
-  (0.1ms) SELECT version FROM "schema_migrations"
174
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
175
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
176
-  (1.8ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
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) 
177
2
   (0.2ms) select sqlite_version(*)
178
-  (1.2ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
179
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
180
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
181
-  (0.1ms) SELECT version FROM "schema_migrations"
182
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
183
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
184
-  (1.6ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
185
-  (0.1ms) select sqlite_version(*)
186
-  (1.0ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
187
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
188
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
189
-  (0.1ms) SELECT version FROM "schema_migrations"
190
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
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')
191
8
   (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
192
-  (0.8ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
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) 
193
10
   (0.1ms) select sqlite_version(*)
194
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
195
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
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)
196
13
   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
197
14
   (0.1ms) SELECT version FROM "schema_migrations"
198
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
199
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
200
-  (1.7ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
201
-  (0.1ms) select sqlite_version(*)
202
-  (1.0ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
203
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
204
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
205
-  (0.1ms) SELECT version FROM "schema_migrations"
206
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
207
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
208
-  (0.9ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
209
-  (0.1ms) select sqlite_version(*)
210
-  (0.8ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
211
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
212
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
213
-  (0.1ms) SELECT version FROM "schema_migrations"
214
15
   (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
215
16
   (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
216
-  (1.0ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
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) 
217
18
   (0.1ms) select sqlite_version(*)
218
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
219
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
220
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
221
-  (0.1ms) SELECT version FROM "schema_migrations"
222
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
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')
223
24
   (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
224
-  (1.1ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
225
-  (0.7ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
226
-  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
227
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
228
-  (0.1ms) SELECT version FROM "schema_migrations"
229
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
230
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
231
-  (1.1ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
232
-  (0.1ms) select sqlite_version(*)
233
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
234
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
235
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
236
-  (0.1ms) SELECT version FROM "schema_migrations"
237
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
238
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
239
-  (1.0ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "uid" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar) 
240
-  (0.1ms) select sqlite_version(*)
241
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
242
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
243
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
244
-  (0.1ms) SELECT version FROM "schema_migrations"
245
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
246
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
247
-  (1.2ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
248
-  (0.1ms) select sqlite_version(*)
249
-  (1.0ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
250
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
251
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
252
-  (0.1ms) SELECT version FROM "schema_migrations"
253
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
254
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
255
-  (1.9ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
256
-  (0.1ms) select sqlite_version(*)
257
-  (1.0ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
258
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
259
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
260
-  (0.1ms) SELECT version FROM "schema_migrations"
261
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
262
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
263
-  (1.5ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
264
-  (0.1ms) select sqlite_version(*)
265
-  (1.0ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
266
-  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
267
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
268
-  (0.1ms) SELECT version FROM "schema_migrations"
269
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
270
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
271
-  (1.5ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
272
-  (0.1ms) select sqlite_version(*)
273
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
274
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
275
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
276
-  (0.1ms) SELECT version FROM "schema_migrations"
277
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
278
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
279
-  (2.0ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
280
-  (0.1ms) select sqlite_version(*)
281
-  (1.1ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
282
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
283
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
284
-  (0.1ms) SELECT version FROM "schema_migrations"
285
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
286
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
287
-  (1.5ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
288
-  (0.1ms) select sqlite_version(*)
289
-  (0.8ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
290
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
291
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
292
-  (0.1ms) SELECT version FROM "schema_migrations"
293
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
294
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
295
-  (1.9ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
296
-  (0.1ms) select sqlite_version(*)
297
-  (0.8ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
298
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
299
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
300
-  (0.1ms) SELECT version FROM "schema_migrations"
301
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
302
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
303
-  (1.4ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
304
-  (0.1ms) select sqlite_version(*)
305
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
306
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
307
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
308
-  (0.1ms) SELECT version FROM "schema_migrations"
309
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
310
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
311
-  (1.0ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
312
-  (0.1ms) select sqlite_version(*)
313
-  (1.1ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
314
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
315
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
316
-  (0.1ms) SELECT version FROM "schema_migrations"
317
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
318
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
319
-  (1.9ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
320
-  (0.1ms) select sqlite_version(*)
321
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
322
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
323
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
324
-  (0.1ms) SELECT version FROM "schema_migrations"
325
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
326
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
327
-  (1.7ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
328
-  (0.1ms) select sqlite_version(*)
329
-  (1.0ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
330
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
331
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
332
-  (0.1ms) SELECT version FROM "schema_migrations"
333
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
334
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
335
-  (1.9ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
336
-  (0.1ms) select sqlite_version(*)
337
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
338
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
339
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
340
-  (0.1ms) SELECT version FROM "schema_migrations"
341
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
342
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
343
-  (1.9ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
344
-  (0.1ms) select sqlite_version(*)
345
-  (1.1ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
346
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
347
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
348
-  (0.1ms) SELECT version FROM "schema_migrations"
349
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
350
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
351
-  (0.9ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
352
-  (0.1ms) select sqlite_version(*)
353
-  (0.8ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
354
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
355
-  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
356
-  (0.1ms) SELECT version FROM "schema_migrations"
357
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
358
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
359
-  (1.3ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
360
-  (0.1ms) select sqlite_version(*)
361
-  (0.8ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
362
-  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
363
-  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
364
-  (0.1ms) SELECT version FROM "schema_migrations"
365
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
366
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
367
-  (1.3ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
368
-  (0.1ms) select sqlite_version(*)
369
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
370
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
371
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
372
-  (0.1ms) SELECT version FROM "schema_migrations"
373
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
374
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
375
-  (1.1ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
376
-  (0.1ms) select sqlite_version(*)
377
-  (0.8ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
378
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
379
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
380
-  (0.1ms) SELECT version FROM "schema_migrations"
381
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
382
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
383
-  (1.0ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
384
-  (0.1ms) select sqlite_version(*)
385
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
386
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
387
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
388
-  (0.1ms) SELECT version FROM "schema_migrations"
389
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
390
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
391
-  (1.7ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
392
-  (0.1ms) select sqlite_version(*)
393
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
394
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
395
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
396
-  (0.1ms) SELECT version FROM "schema_migrations"
397
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
398
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
399
-  (1.2ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
400
-  (0.1ms) select sqlite_version(*)
401
-  (1.0ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
402
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
403
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
404
-  (0.1ms) SELECT version FROM "schema_migrations"
405
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
406
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
407
-  (1.2ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
408
-  (0.1ms) select sqlite_version(*)
409
-  (1.0ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
410
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
411
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
412
-  (0.1ms) SELECT version FROM "schema_migrations"
413
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
414
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
415
-  (0.9ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
416
-  (0.1ms) select sqlite_version(*)
417
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
418
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
419
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
420
-  (0.1ms) SELECT version FROM "schema_migrations"
421
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
422
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
423
-  (1.0ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
424
-  (0.8ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
425
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
426
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
427
-  (0.1ms) SELECT version FROM "schema_migrations"
428
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
429
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
430
-  (1.4ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
431
-  (0.1ms) select sqlite_version(*)
432
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
433
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
434
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
435
-  (0.1ms) SELECT version FROM "schema_migrations"
436
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
437
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
438
-  (1.9ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
439
-  (0.1ms) select sqlite_version(*)
440
-  (1.0ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
441
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
442
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
443
-  (0.1ms) SELECT version FROM "schema_migrations"
444
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
445
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
446
-  (1.8ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
447
-  (0.1ms) select sqlite_version(*)
448
-  (1.1ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
449
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
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)
450
37
   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
451
38
   (0.1ms) SELECT version FROM "schema_migrations"
452
39
   (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
453
-  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
454
-  (1.0ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
455
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
456
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
457
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
458
-  (0.1ms) SELECT version FROM "schema_migrations"
459
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
460
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
461
-  (1.1ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
462
-  (0.1ms) select sqlite_version(*)
463
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
464
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
465
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
466
-  (0.1ms) SELECT version FROM "schema_migrations"
467
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
468
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
469
-  (1.0ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "uid" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar) 
470
-  (0.1ms) select sqlite_version(*)
471
-  (0.7ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
472
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
473
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
474
-  (0.1ms) SELECT version FROM "schema_migrations"
475
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
476
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
477
-  (1.7ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
478
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
479
-  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
480
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
481
-  (0.1ms) SELECT version FROM "schema_migrations"
482
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
483
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
484
-  (1.6ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
485
-  (0.1ms) select sqlite_version(*)
486
-  (1.0ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
487
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
488
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
489
-  (0.1ms) SELECT version FROM "schema_migrations"
490
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
491
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
492
-  (1.5ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
493
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
494
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
495
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
496
-  (0.1ms) SELECT version FROM "schema_migrations"
497
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
498
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
499
-  (1.8ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
500
-  (0.1ms) select sqlite_version(*)
501
-  (0.9ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
502
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
503
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
504
-  (0.1ms) SELECT version FROM "schema_migrations"
505
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
506
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
507
-  (1.7ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
508
-  (0.1ms) select sqlite_version(*)
509
-  (1.0ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
510
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
511
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
512
-  (0.1ms) SELECT version FROM "schema_migrations"
513
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
514
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
515
-  (1.0ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) 
516
-  (0.2ms) select sqlite_version(*)
517
-  (1.0ms) CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
518
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
519
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
520
-  (0.1ms) SELECT version FROM "schema_migrations"
521
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
522
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
523
-  (1.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) 
524
-  (0.1ms) select sqlite_version(*)
525
-  (0.7ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
526
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
527
-  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
528
-  (0.1ms) SELECT version FROM "schema_migrations"
529
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
530
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
531
-  (1.0ms) 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)) 
532
-  (0.1ms) select sqlite_version(*)
533
-  (0.8ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
534
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
535
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
536
-  (0.1ms) SELECT version FROM "schema_migrations"
537
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
538
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
539
-  (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) 
540
-  (0.1ms) select sqlite_version(*)
541
-  (0.8ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
542
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
543
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
544
-  (0.1ms) SELECT version FROM "schema_migrations"
545
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
546
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
547
-  (1.0ms) 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)) 
548
-  (0.1ms) select sqlite_version(*)
549
-  (0.8ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
550
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
551
-  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
552
-  (0.1ms) SELECT version FROM "schema_migrations"
553
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
554
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
555
-  (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) 
556
-  (0.1ms) select sqlite_version(*)
557
-  (0.7ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
558
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
559
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
560
-  (0.1ms) SELECT version FROM "schema_migrations"
561
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
562
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
563
-  (2.8ms) 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)) 
564
-  (0.1ms) select sqlite_version(*)
565
-  (0.9ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
566
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
567
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
568
-  (0.1ms) SELECT version FROM "schema_migrations"
569
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
570
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
571
-  (2.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) 
572
-  (0.1ms) select sqlite_version(*)
573
-  (1.0ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
574
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
575
-  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
576
-  (0.1ms) SELECT version FROM "schema_migrations"
577
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
578
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
579
-  (1.0ms) 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)) 
580
-  (0.1ms) select sqlite_version(*)
581
-  (0.8ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
582
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
583
-  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
584
-  (0.1ms) SELECT version FROM "schema_migrations"
585
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
586
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
587
-  (2.6ms) 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) 
588
-  (0.1ms) select sqlite_version(*)
589
-  (0.8ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
590
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
591
-  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
592
-  (0.1ms) SELECT version FROM "schema_migrations"
593
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
594
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
595
-  (0.7ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
596
-  (303.3ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
597
-  (12.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) 
598
-  (1.2ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")
599
-  (1.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
600
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
601
-  (0.3ms) SELECT version FROM "schema_migrations"
602
-  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
603
-  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
604
-  (118.1ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
605
-  (234.3ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
606
-  (5.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) 
607
-  (0.9ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")
608
-  (2.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
609
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
610
-  (0.3ms) SELECT version FROM "schema_migrations"
611
-  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
612
-  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
613
-  (130.4ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
614
-  (295.1ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
615
-  (0.3ms) DROP TABLE IF EXISTS "accounts" CASCADE
616
-  (7.8ms) CREATE TABLE "accounts" ("id" bigserial 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)
617
-  (1.7ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")
618
-  (3.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
619
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
620
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20140522110454)
621
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES
622
- (20140522110326);
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');
623
48
 
624
49
  
625
-  (3.0ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
626
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
627
-  (0.3ms) BEGIN
628
- SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2017-06-21 02:18:45.043686"], ["updated_at", "2017-06-21 02:18:45.043686"]]
629
-  (0.4ms) COMMIT
630
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
631
-  (0.1ms) BEGIN
632
-  (0.1ms) COMMIT
633
-  (119.4ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
634
-  (285.2ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
635
-  (0.3ms) DROP TABLE IF EXISTS "accounts" CASCADE
636
-  (6.7ms) CREATE TABLE "accounts" ("id" bigserial 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)
637
-  (1.1ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")
638
-  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
639
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
640
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20140522110454)
641
-  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES
642
- (20140522110326);
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');
643
65
 
644
66
  
645
-  (2.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
646
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
647
-  (0.1ms) BEGIN
648
- SQL (0.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", "2017-06-21 02:19:34.116066"], ["updated_at", "2017-06-21 02:19:34.116066"]]
649
-  (0.4ms) COMMIT
650
- 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]]
651
-  (0.1ms) BEGIN
652
-  (0.2ms) COMMIT
653
-  (122.0ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
654
-  (242.2ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
655
-  (0.3ms) DROP TABLE IF EXISTS "accounts" CASCADE
656
-  (8.4ms) CREATE TABLE "accounts" ("id" bigserial 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)
657
-  (1.8ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")
658
-  (4.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
659
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
660
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES (20140522110454)
661
-  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES
662
- (20140522110326);
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');
663
82
 
664
83
  
665
-  (3.5ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
666
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
667
-  (0.2ms) BEGIN
668
- SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2017-06-21 02:20:05.523495"], ["updated_at", "2017-06-21 02:20:05.523495"]]
669
-  (0.4ms) COMMIT
670
- 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]]
671
-  (0.1ms) BEGIN
672
-  (0.2ms) COMMIT
673
-  (118.6ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
674
-  (238.7ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
675
-  (0.2ms) DROP TABLE IF EXISTS "accounts" CASCADE
676
-  (6.7ms) CREATE TABLE "accounts" ("id" bigserial 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)
677
-  (1.3ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")
678
-  (5.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
679
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
680
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20140522110454)
681
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES
682
- (20140522110326);
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');
683
99
 
684
100
  
685
-  (3.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
686
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
687
-  (0.2ms) BEGIN
688
- SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2017-06-21 02:20:17.627845"], ["updated_at", "2017-06-21 02:20:17.627845"]]
689
-  (0.4ms) COMMIT
690
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
691
-  (0.1ms) BEGIN
692
-  (0.1ms) COMMIT
693
-  (119.5ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
694
-  (239.0ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
695
-  (0.3ms) DROP TABLE IF EXISTS "accounts" CASCADE
696
-  (7.4ms) CREATE TABLE "accounts" ("id" bigserial 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)
697
-  (1.4ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")
698
-  (3.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
699
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
700
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20140522110454)
701
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES
702
- (20140522110326);
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');
703
116
 
704
117
  
705
-  (3.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
706
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
707
-  (0.1ms) BEGIN
708
- SQL (0.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", "2017-06-21 02:23:15.045003"], ["updated_at", "2017-06-21 02:23:15.045003"]]
709
-  (0.4ms) COMMIT
710
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
711
-  (0.1ms) BEGIN
712
-  (0.1ms) COMMIT
713
-  (138.2ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
714
-  (259.0ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
715
-  (0.3ms) DROP TABLE IF EXISTS "accounts" CASCADE
716
-  (13.0ms) CREATE TABLE "accounts" ("id" bigserial 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)
717
-  (1.4ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")
718
-  (4.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
719
-  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
720
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20140522110454)
721
-  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES
722
- (20140522110326);
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');
723
133
 
724
134
  
725
-  (4.0ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
726
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
727
-  (0.2ms) BEGIN
728
- SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2017-06-21 02:27:20.709613"], ["updated_at", "2017-06-21 02:27:20.709613"]]
729
-  (0.5ms) COMMIT
730
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
731
-  (0.3ms) BEGIN
732
-  (0.2ms) COMMIT
733
-  (119.6ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
734
-  (237.3ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
735
-  (0.4ms) DROP TABLE IF EXISTS "accounts" CASCADE
736
-  (7.6ms) CREATE TABLE "accounts" ("id" bigserial 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)
737
-  (1.5ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")
738
-  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
739
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
740
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20140522110454)
741
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES
742
- (20140522110326);
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');
743
150
 
744
151
  
745
-  (3.2ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
746
- ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
747
-  (0.1ms) BEGIN
748
- SQL (0.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", "2017-06-21 02:27:28.290500"], ["updated_at", "2017-06-21 02:27:28.290500"]]
749
-  (0.5ms) COMMIT
750
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
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]]
751
243
   (0.1ms) BEGIN
752
-  (0.1ms) COMMIT
753
-  (122.3ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
754
-  (292.9ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
755
-  (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) 
756
-  (1.2ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")
757
-  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
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) 
758
265
   (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
759
-  (0.3ms) SELECT version FROM "schema_migrations"
266
+  (1.0ms) SELECT version FROM "schema_migrations"
760
267
   (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
761
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
762
-  (118.5ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
763
-  (242.3ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
764
-  (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) 
765
-  (1.3ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")
766
-  (2.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
767
-  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
768
-  (0.4ms) SELECT version FROM "schema_migrations"
769
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
770
268
   (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
771
-  (120.8ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
772
-  (236.0ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
773
-  (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) 
774
-  (1.2ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")
775
-  (2.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
776
-  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
777
-  (0.4ms) SELECT version FROM "schema_migrations"
778
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
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')
779
277
   (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
780
-  (118.8ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
781
-  (243.1ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
782
-  (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) 
783
-  (1.2ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")
784
-  (2.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
785
-  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
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")
786
293
   (0.4ms) SELECT version FROM "schema_migrations"
787
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
294
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
788
295
   (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
789
-  (123.3ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
790
-  (246.0ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
791
-  (5.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)
792
-  (1.1ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")
793
-  (3.0ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
794
-  (0.3ms) SELECT version FROM "schema_migrations"
795
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
796
-  (0.5ms) INSERT INTO schema_migrations (version) VALUES
797
- ('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:
798
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
799
383
  
800
-  (2.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
801
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
802
-  (0.1ms) BEGIN
803
- SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2017-06-21 02:35:14 UTC], ["updated_at", 2017-06-21 02:35:14 UTC]]
804
-  (0.3ms) COMMIT
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
805
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]]
806
407
   (0.1ms) BEGIN
807
408
   (0.1ms) COMMIT
808
-  (120.2ms) DROP DATABASE IF EXISTS "bookingsync_engine_test"
809
-  (235.9ms) CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
810
-  (0.2ms) DROP TABLE IF EXISTS "accounts" CASCADE
811
-  (7.0ms) CREATE TABLE "accounts" ("id" bigserial 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)
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)
812
439
   (1.3ms) CREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")
813
-  (2.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
814
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
815
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20140522110454)
816
-  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES
817
- (20140522110326);
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');
818
444
 
819
445
  
820
-  (3.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
821
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
822
-  (0.1ms) BEGIN
823
- SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2017-06-21 02:35:21.438670"], ["updated_at", "2017-06-21 02:35:21.438670"]]
824
-  (0.3ms) COMMIT
825
- 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]]
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]]
826
452
   (0.1ms) BEGIN
827
453
   (0.1ms) COMMIT