(9.4ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (1.2ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (8.1ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (8.5ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (1.0ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (1.2ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (8.3ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT version FROM "schema_migrations"  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (8.5ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (8.3ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (8.7ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (9.4ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (1.1ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (8.2ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (9.0ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (8.7ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (9.1ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (9.8ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (8.4ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (1.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (8.5ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (1.2ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (8.5ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (9.1ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (1.0ms) CREATE TABLE "share_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" integer, "resource_type" varchar, "shared_to_id" integer, "shared_to_type" varchar, "shared_from_id" integer, "shared_from_type" varchar, "edit" boolean)  (0.9ms) CREATE INDEX "index_share_models_on_resource_type_and_resource_id" ON "share_models" ("resource_type", "resource_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'  (0.9ms) CREATE INDEX "index_share_models_on_shared_from_type_and_shared_from_id" ON "share_models" ("shared_from_type", "shared_from_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'   (0.8ms) CREATE INDEX "index_share_models_on_shared_to_type_and_shared_to_id" ON "share_models" ("shared_to_type", "shared_to_id")  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)   (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (8.3ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (0.9ms) CREATE TABLE "share_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" integer, "resource_type" varchar, "shared_to_id" integer, "shared_to_type" varchar, "shared_from_id" integer, "shared_from_type" varchar, "edit" boolean)  (0.9ms) CREATE INDEX "index_share_models_on_resource_type_and_resource_id" ON "share_models" ("resource_type", "resource_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'  (0.9ms) CREATE INDEX "index_share_models_on_shared_from_type_and_shared_from_id" ON "share_models" ("shared_from_type", "shared_from_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'   (0.8ms) CREATE INDEX "index_share_models_on_shared_to_type_and_shared_to_id" ON "share_models" ("shared_to_type", "shared_to_id")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)   (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (9.4ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (0.8ms) CREATE TABLE "share_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" integer, "resource_type" varchar, "shared_to_id" integer, "shared_to_type" varchar, "shared_from_id" integer, "shared_from_type" varchar, "edit" boolean)  (0.7ms) CREATE INDEX "index_share_models_on_resource_type_and_resource_id" ON "share_models" ("resource_type", "resource_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'  (0.8ms) CREATE INDEX "index_share_models_on_shared_from_type_and_shared_from_id" ON "share_models" ("shared_from_type", "shared_from_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'   (0.9ms) CREATE INDEX "index_share_models_on_shared_to_type_and_shared_to_id" ON "share_models" ("shared_to_type", "shared_to_id")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)   (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (1.1ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (0.8ms) CREATE TABLE "share_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" integer, "resource_type" varchar, "shared_to_id" integer, "shared_to_type" varchar, "shared_from_id" integer, "shared_from_type" varchar, "edit" boolean)  (0.8ms) CREATE INDEX "index_share_models_on_resource_type_and_resource_id" ON "share_models" ("resource_type", "resource_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'  (0.8ms) CREATE INDEX "index_share_models_on_shared_from_type_and_shared_from_id" ON "share_models" ("shared_from_type", "shared_from_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'   (0.9ms) CREATE INDEX "index_share_models_on_shared_to_type_and_shared_to_id" ON "share_models" ("shared_to_type", "shared_to_id")  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)   (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (9.1ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (0.8ms) CREATE TABLE "share_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" integer, "resource_type" varchar, "shared_to_id" integer, "shared_to_type" varchar, "shared_from_id" integer, "shared_from_type" varchar, "edit" boolean)  (0.8ms) CREATE INDEX "index_share_models_on_resource_type_and_resource_id" ON "share_models" ("resource_type", "resource_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'  (0.9ms) CREATE INDEX "index_share_models_on_shared_from_type_and_shared_from_id" ON "share_models" ("shared_from_type", "shared_from_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'   (0.8ms) CREATE INDEX "index_share_models_on_shared_to_type_and_shared_to_id" ON "share_models" ("shared_to_type", "shared_to_id")  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)   (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (9.2ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.2ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (1.0ms) CREATE TABLE "share_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" integer, "resource_type" varchar, "shared_to_id" integer, "shared_to_type" varchar, "shared_from_id" integer, "shared_from_type" varchar, "edit" boolean)  (0.9ms) CREATE INDEX "index_share_models_on_resource_type_and_resource_id" ON "share_models" ("resource_type", "resource_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'  (1.0ms) CREATE INDEX "index_share_models_on_shared_from_type_and_shared_from_id" ON "share_models" ("shared_from_type", "shared_from_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'   (0.9ms) CREATE INDEX "index_share_models_on_shared_to_type_and_shared_to_id" ON "share_models" ("shared_to_type", "shared_to_id")  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (8.2ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (0.8ms) CREATE TABLE "share_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" integer, "resource_type" varchar, "shared_to_id" integer, "shared_to_type" varchar, "shared_from_id" integer, "shared_from_type" varchar, "edit" boolean)  (0.9ms) CREATE INDEX "index_share_models_on_resource_type_and_resource_id" ON "share_models" ("resource_type", "resource_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'  (0.9ms) CREATE INDEX "index_share_models_on_shared_from_type_and_shared_from_id" ON "share_models" ("shared_from_type", "shared_from_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'   (0.9ms) CREATE INDEX "index_share_models_on_shared_to_type_and_shared_to_id" ON "share_models" ("shared_to_type", "shared_to_id")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (9.4ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (0.9ms) CREATE TABLE "share_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" integer, "resource_type" varchar, "shared_to_id" integer, "shared_to_type" varchar, "shared_from_id" integer, "shared_from_type" varchar, "edit" boolean)  (1.0ms) CREATE INDEX "index_share_models_on_resource_type_and_resource_id" ON "share_models" ("resource_type", "resource_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'  (1.0ms) CREATE INDEX "index_share_models_on_shared_from_type_and_shared_from_id" ON "share_models" ("shared_from_type", "shared_from_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'   (0.9ms) CREATE INDEX "index_share_models_on_shared_to_type_and_shared_to_id" ON "share_models" ("shared_to_type", "shared_to_id")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)   (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (9.0ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (0.9ms) CREATE TABLE "share_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" integer, "resource_type" varchar, "shared_to_id" integer, "shared_to_type" varchar, "shared_from_id" integer, "shared_from_type" varchar, "edit" boolean)  (0.8ms) CREATE INDEX "index_share_models_on_resource_type_and_resource_id" ON "share_models" ("resource_type", "resource_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'  (1.0ms) CREATE INDEX "index_share_models_on_shared_from_type_and_shared_from_id" ON "share_models" ("shared_from_type", "shared_from_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'   (1.0ms) CREATE INDEX "index_share_models_on_shared_to_type_and_shared_to_id" ON "share_models" ("shared_to_type", "shared_to_id")  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)   (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (9.2ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (1.1ms) CREATE TABLE "share_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" integer, "resource_type" varchar, "shared_to_id" integer, "shared_to_type" varchar, "shared_from_id" integer, "shared_from_type" varchar, "edit" boolean)  (1.1ms) CREATE INDEX "index_share_models_on_resource_type_and_resource_id" ON "share_models" ("resource_type", "resource_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'  (0.9ms) CREATE INDEX "index_share_models_on_shared_from_type_and_shared_from_id" ON "share_models" ("shared_from_type", "shared_from_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'   (0.9ms) CREATE INDEX "index_share_models_on_shared_to_type_and_shared_to_id" ON "share_models" ("shared_to_type", "shared_to_id")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)   (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (8.4ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (1.0ms) CREATE TABLE "share_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" integer, "resource_type" varchar, "shared_to_id" integer, "shared_to_type" varchar, "shared_from_id" integer, "shared_from_type" varchar, "edit" boolean)  (0.8ms) CREATE INDEX "index_share_models_on_resource_type_and_resource_id" ON "share_models" ("resource_type", "resource_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'  (0.9ms) CREATE INDEX "index_share_models_on_shared_from_type_and_shared_from_id" ON "share_models" ("shared_from_type", "shared_from_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'   (0.9ms) CREATE INDEX "index_share_models_on_shared_to_type_and_shared_to_id" ON "share_models" ("shared_to_type", "shared_to_id")  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (9.2ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (0.8ms) CREATE TABLE "share_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" integer, "resource_type" varchar, "shared_to_id" integer, "shared_to_type" varchar, "shared_from_id" integer, "shared_from_type" varchar, "edit" boolean)  (0.8ms) CREATE INDEX "index_share_models_on_resource_type_and_resource_id" ON "share_models" ("resource_type", "resource_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'  (0.9ms) CREATE INDEX "index_share_models_on_shared_from_type_and_shared_from_id" ON "share_models" ("shared_from_type", "shared_from_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'   (0.8ms) CREATE INDEX "index_share_models_on_shared_to_type_and_shared_to_id" ON "share_models" ("shared_to_type", "shared_to_id")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (9.0ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (0.9ms) CREATE TABLE "share_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" integer, "resource_type" varchar, "shared_to_id" integer, "shared_to_type" varchar, "shared_from_id" integer, "shared_from_type" varchar, "edit" boolean)  (0.9ms) CREATE INDEX "index_share_models_on_resource_type_and_resource_id" ON "share_models" ("resource_type", "resource_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'  (0.8ms) CREATE INDEX "index_share_models_on_shared_from_type_and_shared_from_id" ON "share_models" ("shared_from_type", "shared_from_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'   (0.8ms) CREATE INDEX "index_share_models_on_shared_to_type_and_shared_to_id" ON "share_models" ("shared_to_type", "shared_to_id")  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (1.0ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.2ms) select sqlite_version(*)  (1.4ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (2.4ms) CREATE TABLE "share_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" integer, "resource_type" varchar, "shared_to_id" integer, "shared_to_type" varchar, "shared_from_id" integer, "shared_from_type" varchar, "edit" boolean)  (0.9ms) CREATE INDEX "index_share_models_on_resource_type_and_resource_id" ON "share_models" ("resource_type", "resource_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'  (1.0ms) CREATE INDEX "index_share_models_on_shared_from_type_and_shared_from_id" ON "share_models" ("shared_from_type", "shared_from_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'   (1.2ms) CREATE INDEX "index_share_models_on_shared_to_type_and_shared_to_id" ON "share_models" ("shared_to_type", "shared_to_id")  (1.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')  (9.3ms) CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")  (1.0ms) CREATE TABLE "share_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" integer, "resource_type" varchar, "shared_to_id" integer, "shared_to_type" varchar, "shared_from_id" integer, "shared_from_type" varchar, "edit" boolean)  (1.0ms) CREATE INDEX "index_share_models_on_resource_type_and_resource_id" ON "share_models" ("resource_type", "resource_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'  (0.9ms) CREATE INDEX "index_share_models_on_shared_from_type_and_shared_from_id" ON "share_models" ("shared_from_type", "shared_from_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'   (0.8ms) CREATE INDEX "index_share_models_on_shared_to_type_and_shared_to_id" ON "share_models" ("shared_to_type", "shared_to_id")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)   (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110900')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831110800')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150831102200')