spec/dummy/log/development.log in bookingsync-engine-3.0.1 vs spec/dummy/log/development.log in bookingsync-engine-3.0.2
- old
+ new
@@ -1,453 +1,20 @@
- [1m[36m (1.1ms)[0m [1mCREATE 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) [0m
- [1m[35m (0.2ms)[0m select sqlite_version(*)
- [1m[36m (1.1ms)[0m [1mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
- [1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
- [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
- [1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
- [1m[36m (1.1ms)[0m [1mCREATE 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) [0m
- [1m[35m (0.1ms)[0m select sqlite_version(*)
- [1m[36m (1.0ms)[0m [1mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
- [1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
- [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
- [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
- [1m[36m (1.2ms)[0m [1mCREATE 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) [0m
- [1m[35m (0.1ms)[0m select sqlite_version(*)
- [1m[36m (1.1ms)[0m [1mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
- [1m[36m (2.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
- [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
- [1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
- [1m[36m (1.5ms)[0m [1mCREATE 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)) [0m
- [1m[35m (0.1ms)[0m select sqlite_version(*)
- [1m[36m (1.2ms)[0m [1mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
- [1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
- [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
- [1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
- [1m[36m (2.2ms)[0m [1mCREATE 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) [0m
- [1m[35m (0.3ms)[0m select sqlite_version(*)
- [1m[36m (1.4ms)[0m [1mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
- [1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
- [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
- [1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
- [1m[35m (1.9ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
- [1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (0.9ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES ('20140522110326');
+ [1m[35m (0.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "test"[0m
+ [1m[35m (263.2ms)[0m [1m[35mCREATE DATABASE "test" ENCODING = 'utf8'[0m
+ [1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "accounts" CASCADE[0m
+ [1m[35m (5.1ms)[0m [1m[35mCREATE 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)[0m
+ [1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")[0m
+ [1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (1.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20140522110454)[0m
+ [1m[35m (1.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
+(20140522110326);
[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 17:45:51 UTC], ["updated_at", 2016-08-22 17:45:51 UTC]]
- [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (3.0ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
- [1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
- [1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (0.9ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES ('20140522110326');
-
-[0m
- [1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 17:48:52 UTC], ["updated_at", 2016-08-22 17:48:52 UTC]]
- [1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (1.3ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (1.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
- [1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (1.0ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES ('20140522110326');
-
-[0m
- [1m[35m (1.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 17:51:11 UTC], ["updated_at", 2016-08-22 17:51:11 UTC]]
- [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (1.4ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
- [1m[35m (1.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (1.0ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES ('20140522110326');
-
-[0m
- [1m[35m (1.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 17:53:46 UTC], ["updated_at", 2016-08-22 17:53:46 UTC]]
- [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (1.8ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
- [1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (1.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
- [1m[35m (0.2ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
- [1m[35m (1.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (1.0ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES ('20140522110326');
-
-[0m
- [1m[35m (1.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 17:54:47 UTC], ["updated_at", 2016-08-22 17:54:47 UTC]]
- [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (3.1ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (0.2ms)[0m [1m[34mselect sqlite_version(*)[0m
- [1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (1.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
- [1m[35m (1.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (1.1ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES ('20140522110326');
-
-[0m
- [1m[35m (1.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 17:55:44 UTC], ["updated_at", 2016-08-22 17:55:44 UTC]]
- [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (3.8ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
- [1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (0.9ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES ('20140522110326');
-
-[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 17:56:05 UTC], ["updated_at", 2016-08-22 17:56:05 UTC]]
- [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
- [1m[36m (1.3ms)[0m [1mCREATE 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) [0m
- [1m[35m (0.1ms)[0m select sqlite_version(*)
- [1m[36m (1.2ms)[0m [1mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
- [1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
- [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
- [1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
- [1m[36m (2.1ms)[0m [1mCREATE 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) [0m
- [1m[35m (0.2ms)[0m select sqlite_version(*)
- [1m[36m (1.2ms)[0m [1mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (1.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
- [1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
- [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
- [1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
- [1m[35m (3.7ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
- [1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (1.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
- [1m[35m (0.2ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
- [1m[35m (1.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (0.9ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES ('20140522110326');
-
-[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 18:00:52 UTC], ["updated_at", 2016-08-22 18:00:52 UTC]]
- [1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (2.8ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (1.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
- [1m[35m (1.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (0.9ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES ('20140522110326');
-
-[0m
- [1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 18:02:08 UTC], ["updated_at", 2016-08-22 18:02:08 UTC]]
- [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (2.9ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
- [1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (1.0ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES ('20140522110326');
-
-[0m
- [1m[35m (1.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 18:02:43 UTC], ["updated_at", 2016-08-22 18:02:43 UTC]]
- [1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (2.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "bookingsync_engine_test"[0m
- [1m[35m (591.6ms)[0m [1m[35mCREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'[0m
- [1m[35m (16.2ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
- [1m[35m (0.5ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
- [1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (0.3ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES ('20140522110326');
-
-[0m
- [1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
- [1m[35mSQL (2.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 18:16:07 UTC], ["updated_at", 2016-08-22 18:16:07 UTC]]
- [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
- [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
- [1m[36m (119.7ms)[0m [1mDROP DATABASE IF EXISTS "bookingsync_engine_test"[0m
- [1m[35m (251.9ms)[0m CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
- [1m[36m (6.8ms)[0m [1mCREATE 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) [0m
- [1m[35m (1.1ms)[0m CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
- [1m[36m (3.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
- [1m[35m (1.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.6ms)[0m [1mSELECT version FROM "schema_migrations"[0m
- [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
- [1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110326')[0m
- [1m[36m (1.9ms)[0m [1mCREATE 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) [0m
- [1m[35m (0.2ms)[0m select sqlite_version(*)
- [1m[36m (1.3ms)[0m [1mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
- [1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
- [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
- [1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
- [1m[36m (33.7ms)[0m [1mCREATE 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) [0m
- [1m[35m (1.1ms)[0m CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
- [1m[36m (4.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
- [1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (1.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
- [1m[35m (0.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
- [1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110326')[0m
- [1m[36m (122.5ms)[0m [1mDROP DATABASE IF EXISTS "bookingsync_engine_test"[0m
- [1m[35m (394.5ms)[0m CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
- [1m[36m (24.8ms)[0m [1mCREATE 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)) [0m
- [1m[35m (1.5ms)[0m CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
- [1m[36m (12.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
- [1m[35m (12.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (1.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
- [1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
- [1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110326')[0m
- [1m[36m (119.7ms)[0m [1mDROP DATABASE IF EXISTS "bookingsync_engine_test"[0m
- [1m[35m (245.7ms)[0m CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
- [1m[36m (31.1ms)[0m [1mCREATE 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) [0m
- [1m[35m (8.2ms)[0m CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
- [1m[36m (19.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
- [1m[35m (2.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.6ms)[0m [1mSELECT version FROM "schema_migrations"[0m
- [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
- [1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110326')[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[36m (28.6ms)[0m [1mCREATE 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) [0m
- [1m[35m (1.6ms)[0m CREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")
- [1m[36m (23.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
- [1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.4ms)[0m [1mSELECT version FROM "schema_migrations"[0m
- [1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
- [1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110326')[0m
- [1m[35m (7.4ms)[0m 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)
- [1m[36m (1.5ms)[0m [1mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (2.3ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
- [1m[36m (2.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
- [1m[35m (2.5ms)[0m SELECT version FROM "schema_migrations"
- [1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
- [1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[36m (26.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
- [1m[35m (6.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
-Migrating to CreateAccounts (20140522110326)
- [1m[35m (11.6ms)[0m BEGIN
-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)
- [1m[36m (11.3ms)[0m [1mCREATE TABLE "accounts" ("id" serial primary key, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35mSQL (12.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140522110326"]]
- [1m[36m (11.1ms)[0m [1mCOMMIT[0m
-Migrating to AddOAuthFieldsToAccounts (20140522110454)
- [1m[35m (5.6ms)[0m BEGIN
- [1m[36m (3.9ms)[0m [1mALTER TABLE "accounts" ADD "provider" character varying[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "accounts" ADD "synced_id" integer
- [1m[36m (1.1ms)[0m [1mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "accounts" ADD "name" character varying
- [1m[36m (0.3ms)[0m [1mALTER TABLE "accounts" ADD "oauth_access_token" character varying[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "accounts" ADD "oauth_refresh_token" character varying
- [1m[36m (0.3ms)[0m [1mALTER TABLE "accounts" ADD "oauth_expires_at" character varying[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140522110454"]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
- [1m[36m (4.3ms)[0m [1mSELECT 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
-FROM pg_constraint c
-JOIN pg_class t1 ON c.conrelid = t1.oid
-JOIN pg_class t2 ON c.confrelid = t2.oid
-JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
-JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
-JOIN pg_namespace t3 ON c.connamespace = t3.oid
-WHERE c.contype = 'f'
- AND t1.relname = 'accounts'
- AND t3.nspname = ANY (current_schemas(false))
-ORDER BY c.conname
-[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (19.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
- [1m[35m (25.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
- [1m[35m (0.4ms)[0m [1m[34mSELECT pg_try_advisory_lock(4021716121895623095);[0m
- [1m[36mActiveRecord::SchemaMigration Load (6.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
-Migrating to CreateAccounts (20140522110326)
- [1m[35m (5.7ms)[0m [1m[35mBEGIN[0m
-DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
-
- class CreateAccounts < ActiveRecord::Migration[4.2] (called from load at /Users/manda/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (13.9ms)[0m [1m[35mCREATE TABLE "accounts" ("id" serial primary key, "created_at" timestamp, "updated_at" timestamp)[0m
- [1m[35mSQL (6.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20140522110326"]]
- [1m[35m (12.5ms)[0m [1m[35mCOMMIT[0m
-Migrating to AddOAuthFieldsToAccounts (20140522110454)
- [1m[35m (5.6ms)[0m [1m[35mBEGIN[0m
-DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
-
- class AddOAuthFieldsToAccounts < ActiveRecord::Migration[4.2] (called from load at /Users/manda/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (14.6ms)[0m [1m[35mALTER TABLE "accounts" ADD "provider" character varying[0m
- [1m[35m (4.7ms)[0m [1m[35mALTER TABLE "accounts" ADD "synced_id" integer[0m
- [1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" ("synced_id")[0m
- [1m[35m (0.7ms)[0m [1m[35mALTER TABLE "accounts" ADD "name" character varying[0m
- [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "accounts" ADD "oauth_access_token" character varying[0m
- [1m[35m (0.6ms)[0m [1m[35mALTER TABLE "accounts" ADD "oauth_refresh_token" character varying[0m
- [1m[35m (0.8ms)[0m [1m[35mALTER TABLE "accounts" ADD "oauth_expires_at" character varying[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20140522110454"]]
- [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
- [1m[35mSQL (6.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 19:43:57 UTC], ["updated_at", 2016-08-22 19:43:57 UTC]]
- [1m[35m (11.7ms)[0m [1m[35mCOMMIT[0m
- [1m[35m (5.9ms)[0m [1m[34mSELECT pg_advisory_unlock(4021716121895623095)[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (3.5ms)[0m [1m[34mSELECT 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
-FROM pg_constraint c
-JOIN pg_class t1 ON c.conrelid = t1.oid
-JOIN pg_class t2 ON c.confrelid = t2.oid
-JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
-JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
-JOIN pg_namespace t3 ON c.connamespace = t3.oid
-WHERE c.contype = 'f'
- AND t1.relname = 'accounts'
- AND t3.nspname = ANY (current_schemas(false))
-ORDER BY c.conname
-[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (12.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
- [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
- [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
- [1m[35m (117.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "bookingsync_engine_test"[0m
- [1m[35m (403.2ms)[0m [1m[35mCREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'[0m
- [1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
- [1m[35m (6.4ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")[0m
- [1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
- [1m[35m (0.7ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
- [1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (0.5ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES ('20140522110326');
-
-[0m
- [1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
- [1m[36mActiveRecord::InternalMetadata Load (5.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
- [1m[35mSQL (6.0ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 19:44:14 UTC], ["updated_at", 2016-08-22 19:44:14 UTC]]
- [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
- [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
- [1m[36m (120.7ms)[0m [1mDROP DATABASE IF EXISTS "bookingsync_engine_test"[0m
- [1m[35m (246.8ms)[0m CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
- [1m[36mSQL (0.5ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
- [1m[35m (17.4ms)[0m 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))
- [1m[36m (3.1ms)[0m [1mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")[0m
- [1m[35m (12.1ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
- [1m[36m (11.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
- [1m[35m (0.7ms)[0m SELECT version FROM "schema_migrations"
- [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
- [1m[36m (118.5ms)[0m [1mDROP DATABASE IF EXISTS "bookingsync_engine_test"[0m
- [1m[35m (245.2ms)[0m CREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'
- [1m[36mSQL (0.6ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
- [1m[35m (18.7ms)[0m 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)
- [1m[36m (1.2ms)[0m [1mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")[0m
- [1m[35m (24.6ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
- [1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
- [1m[35m (0.6ms)[0m SELECT version FROM "schema_migrations"
- [1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
- [1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
- [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
- [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
- [1m[35m (124.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "bookingsync_engine_test"[0m
- [1m[35m (250.2ms)[0m [1m[35mCREATE DATABASE "bookingsync_engine_test" ENCODING = 'unicode'[0m
- [1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
- [1m[35m (6.5ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_accounts_on_synced_id" ON "accounts" USING btree ("synced_id")[0m
- [1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
- [1m[35m (0.6ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
- [1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
- [1m[35m (0.5ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES ('20140522110326');
-
-[0m
- [1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
- [1m[36mActiveRecord::InternalMetadata Load (6.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (5.8ms)[0m [1m[35mBEGIN[0m
- [1m[35mSQL (6.0ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", 2016-08-22 19:44:49 UTC], ["updated_at", 2016-08-22 19:44:49 UTC]]
+ [1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2017-11-29 18:27:09.450134"], ["updated_at", "2017-11-29 18:27:09.450134"]]
+ [1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
- [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m