(0.9ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (0.8ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.6ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.8ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.8ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.8ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.9ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.7ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.6ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.7ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.7ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:05:54.092252"], ["updated_at", "2020-12-22 20:05:54.092252"]] TRANSACTION (0.6ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.8ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.7ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.6ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.5ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.8ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.7ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.6ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.5ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (0.8ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.7ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.6ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (1.0ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.8ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.7ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.7ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.6ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.7ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.7ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:07:37.898230"], ["updated_at", "2020-12-22 20:07:37.898230"]] TRANSACTION (0.5ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.8ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.7ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.8ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.8ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.8ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.6ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.6ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (0.8ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.6ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.7ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.9ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.7ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.7ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.6ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.7ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:08:18.767864"], ["updated_at", "2020-12-22 20:08:18.767864"]] TRANSACTION (0.8ms) commit transaction  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.1ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.6ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.8ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.8ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.5ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.7ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.6ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.5ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.5ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 Location Create (0.2ms) INSERT INTO "locations" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CommunityTicket Create (0.1ms) INSERT INTO "community_tickets" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.1ms) SAVEPOINT active_record_1 CardLocation Create (0.1ms) INSERT INTO "card_locations" ("location_id", "card_type", "card_id") VALUES (?, ?, ?) [["location_id", 1], ["card_type", "CommunityTicket"], ["card_id", 1]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] Location Load (0.1ms) SELECT "locations".* FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (0.8ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.6ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.8ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (1.0ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.7ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.6ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.6ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.7ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.7ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.6ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:09:09.539332"], ["updated_at", "2020-12-22 20:09:09.539332"]] TRANSACTION (0.7ms) commit transaction  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.5ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.5ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.5ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.6ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.0ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.6ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.5ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.5ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.0ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 Location Create (0.3ms) INSERT INTO "locations" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CommunityTicket Create (0.1ms) INSERT INTO "community_tickets" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CardLocation Create (0.1ms) INSERT INTO "card_locations" ("location_id", "card_type", "card_id") VALUES (?, ?, ?) [["location_id", 1], ["card_type", "CommunityTicket"], ["card_id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] Location Load (0.1ms) SELECT "locations".* FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.1ms) rollback transaction  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (0.9ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.8ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.9ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (1.0ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.7ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.7ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.6ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.7ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.8ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:09:51.558825"], ["updated_at", "2020-12-22 20:09:51.558825"]] TRANSACTION (0.8ms) commit transaction  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.6ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.8ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.5ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.6ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.5ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.7ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.6ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.5ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.6ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 Location Create (0.2ms) INSERT INTO "locations" DEFAULT VALUES TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CommunityTicket Create (0.1ms) INSERT INTO "community_tickets" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CardLocation Create (0.1ms) INSERT INTO "card_locations" ("location_id", "card_type", "card_id") VALUES (?, ?, ?) [["location_id", 1], ["card_type", "CommunityTicket"], ["card_id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] Location Load (0.1ms) SELECT "locations".* FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] TRANSACTION (0.2ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.1ms) rollback transaction  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (0.8ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.7ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.6ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (1.2ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.6ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.6ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.6ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.6ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.6ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.8ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.7ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.1ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:10:18.044181"], ["updated_at", "2020-12-22 20:10:18.044181"]] TRANSACTION (0.7ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.5ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.5ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.8ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.5ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.7ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.5ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.5ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 Location Create (0.2ms) INSERT INTO "locations" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CommunityTicket Create (0.1ms) INSERT INTO "community_tickets" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CardLocation Create (0.1ms) INSERT INTO "card_locations" ("location_id", "card_type", "card_id") VALUES (?, ?, ?) [["location_id", 1], ["card_type", "CommunityTicket"], ["card_id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] Location Load (0.1ms) SELECT "locations".* FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.1ms) rollback transaction  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.1ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.6ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.8ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.6ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.7ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.7ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.7ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.6ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.7ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.6ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.7ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:10:28.406929"], ["updated_at", "2020-12-22 20:10:28.406929"]] TRANSACTION (0.6ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.9ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.9ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.7ms) DELETE FROM "collab_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.7ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.6ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.5ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.1ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 Location Create (0.2ms) INSERT INTO "locations" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CommunityTicket Create (0.1ms) INSERT INTO "community_tickets" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CardLocation Create (0.1ms) INSERT INTO "card_locations" ("location_id", "card_type", "card_id") VALUES (?, ?, ?) [["location_id", 1], ["card_type", "CommunityTicket"], ["card_id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] Location Load (0.1ms) SELECT "locations".* FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] TRANSACTION (0.6ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.1ms) rollback transaction  (0.7ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.0ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.6ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.8ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.9ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.8ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.6ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.7ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.8ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.7ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.7ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:11:00.477121"], ["updated_at", "2020-12-22 20:11:00.477121"]] TRANSACTION (0.6ms) commit transaction  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.9ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.5ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.5ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.9ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.9ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.5ms) DELETE FROM "locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.7ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.1ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.1ms) rollback transaction TRANSACTION (0.1ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 Location Create (0.3ms) INSERT INTO "locations" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CommunityTicket Create (0.1ms) INSERT INTO "community_tickets" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CardLocation Create (0.1ms) INSERT INTO "card_locations" ("location_id", "card_type", "card_id") VALUES (?, ?, ?) [["location_id", 1], ["card_type", "CommunityTicket"], ["card_id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] Location Load (0.1ms) SELECT "locations".* FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction  (0.7ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.1ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.7ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.8ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.7ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (1.0ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.7ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.7ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.6ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.7ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.7ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:11:10.495968"], ["updated_at", "2020-12-22 20:11:10.495968"]] TRANSACTION (0.5ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (1.0ms) DELETE FROM "posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.6ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.5ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.6ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.5ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 Location Create (0.2ms) INSERT INTO "locations" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CommunityTicket Create (0.1ms) INSERT INTO "community_tickets" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CardLocation Create (0.1ms) INSERT INTO "card_locations" ("location_id", "card_type", "card_id") VALUES (?, ?, ?) [["location_id", 1], ["card_type", "CommunityTicket"], ["card_id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] Location Load (0.1ms) SELECT "locations".* FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction  (1.6ms) SELECT sqlite_version(*)  (0.1ms) SELECT sqlite_version(*)  (1.4ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (1.0ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.8ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.7ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.8ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.8ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.8ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.8ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.7ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.7ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.8ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.7ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:13:01.421873"], ["updated_at", "2020-12-22 20:13:01.421873"]] TRANSACTION (0.6ms) commit transaction  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.1ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.7ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.6ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.7ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.5ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.8ms) DELETE FROM "community_tickets";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 Location Create (0.3ms) INSERT INTO "locations" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CommunityTicket Create (0.1ms) INSERT INTO "community_tickets" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.1ms) SAVEPOINT active_record_1 CardLocation Create (0.2ms) INSERT INTO "card_locations" ("location_id", "card_type", "card_id") VALUES (?, ?, ?) [["location_id", 1], ["card_type", "CommunityTicket"], ["card_id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] Location Load (0.1ms) SELECT "locations".* FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] TRANSACTION (0.4ms) rollback transaction TRANSACTION (0.4ms) begin transaction TRANSACTION (0.1ms) rollback transaction  (1.0ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (0.8ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.7ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (1.3ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.8ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.6ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.6ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.8ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (1.0ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.7ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.7ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:14:23.182654"], ["updated_at", "2020-12-22 20:14:23.182654"]] TRANSACTION (0.5ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.6ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.6ms) DELETE FROM "favorites";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.8ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.6ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.5ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.1ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 Location Create (0.3ms) INSERT INTO "locations" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CommunityTicket Create (0.1ms) INSERT INTO "community_tickets" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.1ms) SAVEPOINT active_record_1 CardLocation Create (0.1ms) INSERT INTO "card_locations" ("location_id", "card_type", "card_id") VALUES (?, ?, ?) [["location_id", 1], ["card_type", "CommunityTicket"], ["card_id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] Location Load (0.1ms) SELECT "locations".* FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction  (0.7ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.3ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.6ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.9ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.9ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (1.1ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.9ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.9ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.9ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.9ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.6ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.7ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:15:20.495374"], ["updated_at", "2020-12-22 20:15:20.495374"]] TRANSACTION (0.5ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.1ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (1.1ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.8ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.5ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.8ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.7ms) DELETE FROM "cards";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.8ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.6ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.8ms) DELETE FROM "community_tickets";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.1ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.1ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 Location Create (0.3ms) INSERT INTO "locations" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CommunityTicket Create (0.1ms) INSERT INTO "community_tickets" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CardLocation Create (4.8ms) INSERT INTO "card_locations" ("location_id", "card_type", "card_id") VALUES (?, ?, ?) [["location_id", 1], ["card_type", "CommunityTicket"], ["card_id", 1]] TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] Location Load (0.1ms) SELECT "locations".* FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction  (0.9ms) SELECT sqlite_version(*)  (0.1ms) SELECT sqlite_version(*)  (1.2ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.7ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.9ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.7ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.7ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.7ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.6ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.6ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.7ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.7ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:16:35.143849"], ["updated_at", "2020-12-22 20:16:35.143849"]] TRANSACTION (0.6ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.1ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.7ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.7ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.6ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.5ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.6ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.6ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.5ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 Location Create (0.2ms) INSERT INTO "locations" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CommunityTicket Create (0.1ms) INSERT INTO "community_tickets" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CardLocation Create (0.1ms) INSERT INTO "card_locations" ("location_id", "card_type", "card_id") VALUES (?, ?, ?) [["location_id", 1], ["card_type", "CommunityTicket"], ["card_id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] Location Load (0.1ms) SELECT "locations".* FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] TRANSACTION (2.1ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (0.7ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.7ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.6ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.8ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.9ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.8ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.6ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.7ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.6ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.6ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.7ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:16:50.768579"], ["updated_at", "2020-12-22 20:16:50.768579"]] TRANSACTION (0.7ms) commit transaction  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.7ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.8ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.6ms) DELETE FROM "favorites";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.6ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.6ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.5ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 Location Create (0.4ms) INSERT INTO "locations" DEFAULT VALUES TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CommunityTicket Create (0.1ms) INSERT INTO "community_tickets" DEFAULT VALUES TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.6ms) SAVEPOINT active_record_1 CardLocation Create (15.3ms) INSERT INTO "card_locations" ("location_id", "card_type", "card_id") VALUES (?, ?, ?) [["location_id", 1], ["card_type", "CommunityTicket"], ["card_id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] Location Load (0.1ms) SELECT "locations".* FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction  (0.9ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (0.8ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.8ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.8ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (1.0ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.9ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.7ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.7ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.6ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.9ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.8ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.6ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.7ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:19:12.468921"], ["updated_at", "2020-12-22 20:19:12.468921"]] TRANSACTION (0.9ms) commit transaction  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.1ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.8ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.5ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.5ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.7ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.7ms) DELETE FROM "cards";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.6ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.6ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.5ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (0.8ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.7ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (1.0ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.9ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.8ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.6ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.6ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.6ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.6ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.7ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:21:35.675253"], ["updated_at", "2020-12-22 20:21:35.675253"]] TRANSACTION (0.6ms) commit transaction  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.6ms) DELETE FROM "posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.9ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.7ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.7ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.5ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.6ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction  (0.7ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.0ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.8ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.8ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (1.0ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.9ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.6ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.7ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.6ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.8ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.6ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.7ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:21:47.484549"], ["updated_at", "2020-12-22 20:21:47.484549"]] TRANSACTION (0.6ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.7ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.7ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.8ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.7ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.5ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.6ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.1ms) rollback transaction  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.0ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.7ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.8ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.8ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.8ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.7ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.8ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.8ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.6ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:24:00.530999"], ["updated_at", "2020-12-22 20:24:00.530999"]] TRANSACTION (0.5ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.1ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.9ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.7ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.7ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.7ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.6ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.5ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction  (0.7ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.1ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.9ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (1.1ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.8ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.8ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.6ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.8ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.9ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.7ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.8ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.7ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.7ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:26:08.741220"], ["updated_at", "2020-12-22 20:26:08.741220"]] TRANSACTION (0.8ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.9ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.8ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.5ms) DELETE FROM "collab_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.7ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.6ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.7ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.6ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.3ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.8ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.8ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.6ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (1.1ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.7ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.8ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.7ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.8ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.6ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.6ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:27:22.045731"], ["updated_at", "2020-12-22 20:27:22.045731"]] TRANSACTION (0.6ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.1ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (1.0ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.7ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.7ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.7ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.5ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.7ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.5ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.6ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (0.8ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.6ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.5ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.8ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (1.0ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.7ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (1.1ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.9ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.7ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.7ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:30:56.870836"], ["updated_at", "2020-12-22 20:30:56.870836"]] TRANSACTION (0.5ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.7ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (1.0ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.5ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.8ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.6ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.6ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.7ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.2ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.8ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (1.1ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.9ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.7ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.7ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.7ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.7ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.6ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.7ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.7ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:31:23.483593"], ["updated_at", "2020-12-22 20:31:23.483593"]] TRANSACTION (0.7ms) commit transaction  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.9ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.5ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (1.0ms) DELETE FROM "authors";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.6ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.9ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.6ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.5ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction  (1.6ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.1ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.9ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.9ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.6ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.8ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.7ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.8ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.7ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.7ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.7ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.7ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.8ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:32:29.393236"], ["updated_at", "2020-12-22 20:32:29.393236"]] TRANSACTION (0.9ms) commit transaction  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (1.0ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.7ms) DELETE FROM "comments";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.7ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.6ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.5ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.9ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.6ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.7ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.8ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.7ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.3ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.6ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.8ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.5ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.6ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (1.2ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.9ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.9ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.7ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.6ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.7ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:32:37.036111"], ["updated_at", "2020-12-22 20:32:37.036111"]] TRANSACTION (0.5ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (1.0ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.6ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.5ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.7ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.5ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.5ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.7ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.3ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.9ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.8ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.8ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.9ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.7ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.6ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.7ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.7ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.7ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:32:50.504618"], ["updated_at", "2020-12-22 20:32:50.504618"]] TRANSACTION (0.6ms) commit transaction  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.1ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (1.0ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.6ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.7ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.5ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.7ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (0.9ms) SELECT sqlite_version(*)  (0.1ms) SELECT sqlite_version(*)  (1.2ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (1.1ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (1.0ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (1.0ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.7ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.8ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.8ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.7ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (1.0ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.8ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.9ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.8ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.8ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.9ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:33:03.805568"], ["updated_at", "2020-12-22 20:33:03.805568"]] TRANSACTION (0.5ms) commit transaction  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.1ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (1.0ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.8ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.8ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.8ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.8ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.7ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.7ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.6ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.8ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction  (0.7ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.2ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.7ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.8ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.8ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.7ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.7ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.6ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.8ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.7ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.6ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.7ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:34:11.438104"], ["updated_at", "2020-12-22 20:34:11.438104"]] TRANSACTION (0.6ms) commit transaction  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.9ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) DELETE FROM "comments";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.8ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.8ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.6ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.5ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.7ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.1ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.7ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (1.0ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.9ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (1.1ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.8ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.8ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.7ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.6ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.8ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.7ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.7ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:35:07.300913"], ["updated_at", "2020-12-22 20:35:07.300913"]] TRANSACTION (0.5ms) commit transaction  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.1ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (1.0ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.6ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.7ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.7ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.6ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1  (1.1ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.4ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (1.0ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (1.1ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.8ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.7ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.6ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.6ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.7ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.6ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.6ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.8ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.7ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:38:07.177187"], ["updated_at", "2020-12-22 20:38:07.177187"]] TRANSACTION (0.6ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.1ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (1.0ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.8ms) DELETE FROM "comments";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.9ms) DELETE FROM "authors";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.7ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.7ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.6ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.8ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.6ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.2ms) begin transaction  (0.9ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.3ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.7ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.8ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.8ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.7ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.7ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.8ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.7ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.8ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:38:36.381529"], ["updated_at", "2020-12-22 20:38:36.381529"]] TRANSACTION (0.5ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (1.2ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.9ms) DELETE FROM "comments";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.7ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.5ms) DELETE FROM "favorites";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.0ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.7ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.5ms) DELETE FROM "locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.8ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.2ms) begin transaction TRANSACTION (0.1ms) rollback transaction  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.1ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.7ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (1.0ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.8ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.7ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.6ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.7ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.6ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.6ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:38:56.216350"], ["updated_at", "2020-12-22 20:38:56.216350"]] TRANSACTION (0.6ms) commit transaction  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.8ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.9ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.9ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.7ms) DELETE FROM "favorites";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.7ms) DELETE FROM "collab_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.7ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.5ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.5ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction  (0.7ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.2ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (1.1ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.7ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.9ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.7ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.7ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.7ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.8ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.6ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.7ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:44:29.282798"], ["updated_at", "2020-12-22 20:44:29.282798"]] TRANSACTION (0.7ms) commit transaction  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (1.0ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.7ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.9ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.8ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.7ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.7ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.7ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.6ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.6ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction  (0.7ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.1ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.6ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.9ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.6ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.8ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (1.1ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.7ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.8ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.7ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.6ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.6ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:44:55.642842"], ["updated_at", "2020-12-22 20:44:55.642842"]] TRANSACTION (0.6ms) commit transaction  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (1.1ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.9ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.7ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.7ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.6ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.5ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.2ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (1.2ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.9ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.7ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.7ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.6ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.6ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.6ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.7ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.7ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:50:14.225983"], ["updated_at", "2020-12-22 20:50:14.225983"]] TRANSACTION (0.6ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (1.1ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.6ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.7ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.6ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.6ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.5ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction  (0.7ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (0.9ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.7ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.8ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.8ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.9ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.7ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.8ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.9ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.6ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.8ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:50:31.165660"], ["updated_at", "2020-12-22 20:50:31.165660"]] TRANSACTION (0.6ms) commit transaction  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.1ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (1.0ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.7ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.7ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.5ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.7ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.8ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.6ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.6ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.2ms) begin transaction  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (0.8ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.6ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (1.0ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.8ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.6ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.7ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.7ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.6ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:51:00.409991"], ["updated_at", "2020-12-22 20:51:00.409991"]] TRANSACTION (0.6ms) commit transaction  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.7ms) DELETE FROM "posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.5ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.5ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.0ms) DELETE FROM sqlite_sequence where name = 'authors';  (1.0ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.7ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.9ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.8ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.5ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction  (1.0ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (0.8ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.6ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.7ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.6ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.6ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.6ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.7ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.7ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.7ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:53:04.658928"], ["updated_at", "2020-12-22 20:53:04.658928"]] TRANSACTION (0.8ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.6ms) DELETE FROM "posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.5ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.7ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.7ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.8ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.7ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.9ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.6ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.7ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.2ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.7ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.6ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.7ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (1.1ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.6ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.7ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.6ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.8ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.7ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:58:11.470656"], ["updated_at", "2020-12-22 20:58:11.470656"]] TRANSACTION (0.7ms) commit transaction  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.1ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (1.0ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.7ms) DELETE FROM "authors";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.6ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.9ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.6ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.5ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.6ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.1ms) begin transaction TRANSACTION (0.0ms) rollback transaction  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.2ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.7ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.7ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.8ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.6ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.8ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.7ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.7ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.7ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.7ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:58:38.589343"], ["updated_at", "2020-12-22 20:58:38.589343"]] TRANSACTION (0.5ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (1.0ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.7ms) DELETE FROM "favorites";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.5ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.7ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.6ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.7ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction  (0.7ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.2ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.6ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.6ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.8ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.9ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.7ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.7ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.6ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.8ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.7ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 20:58:53.294919"], ["updated_at", "2020-12-22 20:58:53.294919"]] TRANSACTION (0.8ms) commit transaction  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (1.1ms) DELETE FROM "posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.8ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.5ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.6ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.5ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.7ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.8ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.5ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.5ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (0.7ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.6ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.6ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.8ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.9ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.6ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.6ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.7ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.7ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.6ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.7ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 22:36:51.130711"], ["updated_at", "2020-12-22 22:36:51.130711"]] TRANSACTION (0.5ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.6ms) DELETE FROM "posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.7ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.7ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.7ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.8ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.6ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.6ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (1.3ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.7ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.7ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (1.1ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.8ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.6ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.8ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.6ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.6ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.8ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.5ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.6ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.7ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.7ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.1ms) begin transaction ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 22:37:07.780557"], ["updated_at", "2020-12-22 22:37:07.780557"]] TRANSACTION (0.7ms) commit transaction  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.1ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (1.1ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.7ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.6ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.7ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.5ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.5ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.6ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.1ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 Location Create (0.3ms) INSERT INTO "locations" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CommunityTicket Create (0.1ms) INSERT INTO "community_tickets" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CardLocation Create (0.1ms) INSERT INTO "card_locations" ("location_id", "card_type", "card_id") VALUES (?, ?, ?) [["location_id", 1], ["card_type", "CommunityTicket"], ["card_id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] Location Load (0.1ms) SELECT "locations".* FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction  (0.8ms) SELECT sqlite_version(*)  (0.1ms) SELECT sqlite_version(*)  (1.1ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.6ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (1.1ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.6ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.8ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.8ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.6ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.7ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.7ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (0.6ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.6ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 22:37:20.452216"], ["updated_at", "2020-12-22 22:37:20.452216"]] TRANSACTION (0.5ms) commit transaction  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.9ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.9ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.6ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.7ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.6ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.5ms) DELETE FROM "locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.5ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction  (0.8ms) SELECT sqlite_version(*)  (0.0ms) SELECT sqlite_version(*)  (0.8ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar)  (0.7ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.7ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")  (0.6ms) CREATE TABLE "authors" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment_id" integer, "collab_posts_id" integer)  (0.9ms) CREATE INDEX "index_authors_on_comment_id" ON "authors" ("comment_id")  (0.9ms) CREATE INDEX "index_authors_on_collab_posts_id" ON "authors" ("collab_posts_id")  (0.7ms) CREATE TABLE "favorites" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)  (0.6ms) CREATE INDEX "index_favorites_on_post_id" ON "favorites" ("post_id")  (0.6ms) CREATE TABLE "collab_posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authors_id" integer)  (0.7ms) CREATE INDEX "index_collab_posts_on_authors_id" ON "collab_posts" ("authors_id")  (1.1ms) CREATE TABLE "cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.6ms) CREATE TABLE "card_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "location_id" integer, "card_type" varchar, "card_id" integer)  (0.7ms) CREATE INDEX "index_card_locations_on_location_id" ON "card_locations" ("location_id")  (0.6ms) CREATE INDEX "index_card_locations_on_card" ON "card_locations" ("card_type", "card_id")  (0.7ms) CREATE TABLE "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.8ms) CREATE TABLE "community_tickets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] TRANSACTION (0.0ms) begin transaction ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-12-22 22:41:15.035679"], ["updated_at", "2020-12-22 22:41:15.035679"]] TRANSACTION (0.6ms) commit transaction  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.1ms) SELECT sqlite_version(*)  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA defer_foreign_keys  (0.0ms) PRAGMA defer_foreign_keys = ON  (0.0ms) PRAGMA foreign_keys = OFF  (0.6ms) DELETE FROM "posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.6ms) DELETE FROM "comments";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';  (0.6ms) DELETE FROM "authors";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'authors';  (0.5ms) DELETE FROM "favorites";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'favorites';  (0.5ms) DELETE FROM "collab_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'collab_posts';  (0.6ms) DELETE FROM "cards";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'cards';  (0.6ms) DELETE FROM "card_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'card_locations';  (0.5ms) DELETE FROM "locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'locations';  (0.6ms) DELETE FROM "community_tickets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'community_tickets';  (0.0ms) PRAGMA defer_foreign_keys = 0  (0.0ms) PRAGMA foreign_keys = 1 TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) SAVEPOINT active_record_1 Location Create (0.3ms) INSERT INTO "locations" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CommunityTicket Create (0.1ms) INSERT INTO "community_tickets" DEFAULT VALUES TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 TRANSACTION (0.0ms) SAVEPOINT active_record_1 CardLocation Create (0.1ms) INSERT INTO "card_locations" ("location_id", "card_type", "card_id") VALUES (?, ?, ?) [["location_id", 1], ["card_type", "CommunityTicket"], ["card_id", 1]] TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] Location Load (0.1ms) SELECT "locations".* FROM "locations" INNER JOIN "card_locations" ON "card_locations"."card_type" = ? AND "card_locations"."location_id" = "locations"."id" INNER JOIN "community_tickets" ON "community_tickets"."id" = "card_locations"."card_id" [["card_type", "CommunityTicket"]] TRANSACTION (0.3ms) rollback transaction TRANSACTION (0.0ms) begin transaction TRANSACTION (0.0ms) rollback transaction