(136.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (102.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateSusplyPlans (20150513155547)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513155547"]]  (147.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (138.3ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (134.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (133.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (133.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddStatusToPlans (20150513161513)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "susply_plans" ADD "status" boolean  (0.1ms) ALTER TABLE "susply_plans" ADD "published" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513161513"]]  (166.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (125.0ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "status" boolean, "published" boolean)   (102.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.2ms) select sqlite_version(*)  (128.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (105.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (111.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddStatusToPlans (20150513161513)  (0.0ms) begin transaction  (0.4ms) CREATE TEMPORARY TABLE "asusply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "status" boolean, "published" boolean)  (0.1ms) SELECT * FROM "susply_plans"  (0.2ms) DROP TABLE "susply_plans"  (0.2ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "status" boolean)   (0.1ms) SELECT * FROM "asusply_plans"  (0.2ms) DROP TABLE "asusply_plans"  (0.2ms) CREATE TEMPORARY TABLE "asusply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "status" boolean)  (0.1ms) SELECT * FROM "susply_plans"  (0.2ms) DROP TABLE "susply_plans"  (0.2ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "asusply_plans"  (0.1ms) DROP TABLE "asusply_plans" SQL (0.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20150513161513"]]  (143.2ms) commit transaction ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddStatusToPlans (20150513161513)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "susply_plans" ADD "active" boolean  (0.1ms) ALTER TABLE "susply_plans" ADD "published" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513161513"]]  (242.2ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (136.2ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (157.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (177.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (144.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (156.1ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (139.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (144.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (144.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (167.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateSusplySubscriptions (20150513180124)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513180124"]]  (159.4ms) commit transaction ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index'   (161.8ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (155.0ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (186.9ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (170.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (200.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (200.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (200.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (178.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan"], ["name", "Plan basico"], ["description", "Nothing"], ["price", 29], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "t"], ["created_at", "2015-05-13 18:28:01.026374"], ["updated_at", "2015-05-13 18:28:01.026374"]]  (143.3ms) commit transaction Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" ORDER BY "susply_plans"."id" ASC LIMIT 1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" ORDER BY "susply_plans"."id" ASC LIMIT 1 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateOrganizations (20150513183555)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513183555"]]  (182.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index'   (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-13 18:37:08.991251"], ["updated_at", "2015-05-13 18:37:08.991251"]]  (166.2ms) commit transaction Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" ORDER BY "organizations"."id" ASC LIMIT 1  (127.6ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (132.0ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)  (166.7ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (167.3ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (174.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (200.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (166.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (522.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (156.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (169.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124') Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" ORDER BY "susply_plans"."id" DESC LIMIT 1 Susply::Plan Load (0.3ms) SELECT "susply_plans".* FROM "susply_plans" ORDER BY "susply_plans"."id" DESC LIMIT 1 Susply::Plan Load (0.5ms) SELECT "susply_plans".* FROM "susply_plans" ORDER BY "susply_plans"."id" DESC LIMIT 1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" ORDER BY "susply_plans"."id" DESC LIMIT 1 Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" ORDER BY "organizations"."id" ASC LIMIT 1 Organization Load (0.4ms) SELECT "organizations".* FROM "organizations" ORDER BY "organizations"."id" ASC LIMIT 1 Susply::Plan Load (0.3ms) SELECT "susply_plans".* FROM "susply_plans" ORDER BY "susply_plans"."id" ASC LIMIT 1 Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" ORDER BY "organizations"."id" ASC LIMIT 1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" ORDER BY "susply_plans"."id" ASC LIMIT 1 Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" ORDER BY "organizations"."id" ASC LIMIT 1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" ORDER BY "susply_plans"."id" ASC LIMIT 1 Organization Load (10.9ms) SELECT "organizations".* FROM "organizations" ORDER BY "organizations"."id" ASC LIMIT 1 Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" ORDER BY "organizations"."id" ASC LIMIT 1 Susply::Subscription Load (2.7ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" ORDER BY "organizations"."id" ASC LIMIT 1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" ORDER BY "susply_plans"."id" ASC LIMIT 1  (0.2ms) begin transaction SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 17:50:43.010729"], ["current_period_start", "2015-05-14 17:50:43.010729"], ["current_period_end", "2015-06-14 17:50:43.010729"], ["created_at", "2015-05-14 17:50:43.021374"], ["updated_at", "2015-05-14 17:50:43.021374"]]  (153.6ms) commit transaction Organization Load (0.4ms) SELECT "organizations".* FROM "organizations" ORDER BY "organizations"."id" ASC LIMIT 1 Organization Load (0.4ms) SELECT "organizations".* FROM "organizations" ORDER BY "organizations"."id" ASC LIMIT 1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."organization_id" = ? [[nil, 1]] SQLite3::SQLException: no such column: susply_subscriptions.organization_id: SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."organization_id" = ? Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" ORDER BY "organizations"."id" ASC LIMIT 1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."name" = ? [["name", "iokero"]] Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" ORDER BY "organizations"."id" ASC LIMIT 1 Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."name" = ? [["name", "iokero"]] Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" ORDER BY "organizations"."id" ASC LIMIT 1 Susply::Subscription Load (0.4ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."name" = ? [["name", "iokero"]] Organization Load (0.4ms) SELECT "organizations".* FROM "organizations" ORDER BY "organizations"."id" ASC LIMIT 1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" ORDER BY "organizations"."id" ASC LIMIT 1 Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" ORDER BY "organizations"."id" ASC LIMIT 1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" ORDER BY "susply_plans"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:14:35.701289"], ["current_period_start", "2015-05-14 21:14:35.701289"], ["current_period_end", "2015-06-14 21:14:35.701289"], ["created_at", "2015-05-14 21:14:35.707356"], ["updated_at", "2015-05-14 21:14:35.707356"]]  (163.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "fasply"], ["subdomain", "fasplyn"], ["created_at", "2015-05-14 21:15:35.174058"], ["updated_at", "2015-05-14 21:15:35.174058"]]  (172.2ms) commit transaction Susply::Subscription Load (0.3ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 2]] Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" ORDER BY "susply_plans"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 2], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:16:48.122272"], ["current_period_start", "2015-05-14 21:16:48.122272"], ["current_period_end", "2015-06-14 21:16:48.122272"], ["created_at", "2015-05-14 21:16:48.123313"], ["updated_at", "2015-05-14 21:16:48.123313"]]  (190.0ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "susply_subscriptions" Susply::Subscription Load (0.5ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" ORDER BY "susply_subscriptions"."id" DESC LIMIT 1 Susply::Subscription Load (0.5ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" ORDER BY "susply_subscriptions"."id" DESC LIMIT 1 Organization Load (0.3ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.4ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" ORDER BY "susply_subscriptions"."id" DESC LIMIT 1 Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 2]]  (0.2ms) begin transaction SQL (0.4ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "adas"], ["subdomain", "asdsa"], ["created_at", "2015-05-14 21:19:56.669768"], ["updated_at", "2015-05-14 21:19:56.669768"]]  (206.8ms) commit transaction Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 3]] Susply::Plan Load (0.4ms) SELECT "susply_plans".* FROM "susply_plans" ORDER BY "susply_plans"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 3], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:20:21.883702"], ["current_period_start", "2015-05-14 21:20:21.883702"], ["current_period_end", "2015-06-14 21:20:21.883702"], ["created_at", "2015-05-14 21:20:21.885845"], ["updated_at", "2015-05-14 21:20:21.885845"]]  (173.2ms) commit transaction Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 3]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 3]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "wea"], ["subdomain", "wea2"], ["created_at", "2015-05-14 21:21:22.705323"], ["updated_at", "2015-05-14 21:21:22.705323"]]  (157.0ms) commit transaction Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" ORDER BY "susply_plans"."id" DESC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 4], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:21:34.954866"], ["current_period_start", "2015-05-14 21:21:34.954866"], ["current_period_end", "2015-06-14 21:21:34.954866"], ["created_at", "2015-05-14 21:21:34.955677"], ["updated_at", "2015-05-14 21:21:34.955677"]]  (174.6ms) commit transaction Susply::Subscription Load (0.3ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 4]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:22:27.661624"], ["updated_at", "2015-05-14 21:22:27.663206"], ["id", 5]]  (155.9ms) commit transaction Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" ORDER BY "organizations"."id" DESC LIMIT 1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 4]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" ORDER BY "organizations"."id" DESC LIMIT 1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 4]] Organization Load (0.4ms) SELECT "organizations".* FROM "organizations" ORDER BY "organizations"."id" ASC LIMIT 1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.3ms) begin transaction SQL (0.3ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:27:55.865643"], ["updated_at", "2015-05-14 21:27:55.869640"], ["id", 1]]  (159.3ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateSusplyPayments (20150521221609) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateSusplyPayments (20150521221609) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateSusplyPayments (20150521221609) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateSusplyPayments (20150521221609) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateSusplyPayments (20150521221609)  (164.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (155.6ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)  (191.0ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (198.5ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (194.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (188.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (189.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (234.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (156.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (156.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (132.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (144.5ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)  (144.6ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (166.9ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (178.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (155.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (133.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (167.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (157.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (167.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateSusplyPayments (20150521221609) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateSusplyPayments (20150521221609)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "susply_plan_id" integer, "susply_subscription_id" integer, "amount" integer, "pediod_start" datetime, "period_end" datetime, "status" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150521221609"]]  (185.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_susply_payments_on_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_susply_payments_on_owner_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateSusplyPayments (20150521222634) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateSusplyPayments (20150521222634)  (0.1ms) begin transaction  (0.1ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "pediod_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQLite3::SQLException: table "susply_payments" already exists: CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "pediod_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) rollback transaction  (155.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.2ms) select sqlite_version(*)  (152.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateSusplyPlans (20150513155547)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513155547"]]  (107.8ms) commit transaction Migrating to AddStatusToPlans (20150513161513)  (0.1ms) begin transaction  (0.2ms) ALTER TABLE "susply_plans" ADD "active" boolean  (0.1ms) ALTER TABLE "susply_plans" ADD "published" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513161513"]]  (150.4ms) commit transaction Migrating to CreateSusplySubscriptions (20150513180124)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513180124"]]  (176.3ms) commit transaction Migrating to CreateOrganizations (20150513183555)  (0.2ms) begin transaction  (0.7ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513183555"]]  (148.0ms) commit transaction Migrating to CreateSusplyPayments (20150521222634)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "pediod_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150521222634"]]  (209.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_susply_payments_on_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_susply_payments_on_owner_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_susply_payments_on_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_susply_payments_on_owner_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index'  (156.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (132.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateSusplyPlans (20150513155547)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513155547"]]  (166.0ms) commit transaction Migrating to AddStatusToPlans (20150513161513)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "susply_plans" ADD "active" boolean  (0.2ms) ALTER TABLE "susply_plans" ADD "published" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513161513"]]  (131.6ms) commit transaction Migrating to CreateSusplySubscriptions (20150513180124)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513180124"]]  (175.8ms) commit transaction Migrating to CreateOrganizations (20150513183555)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513183555"]]  (142.9ms) commit transaction Migrating to CreateSusplyPayments (20150521222634)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "pediod_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150521222634"]]  (192.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_susply_payments_on_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_susply_payments_on_owner_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index'  (141.9ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (165.6ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "pediod_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (576.2ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (176.8ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (176.6ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (144.5ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (164.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (146.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (144.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (144.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (156.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (138.2ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (133.6ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "pediod_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (203.1ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (155.6ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (144.6ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (146.6ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (164.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (200.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (144.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (145.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (156.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (145.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (144.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateSusplyPayments (20150521222634)  (0.0ms) begin transaction  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_susply_payments_on_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_susply_payments_on_owner_id' AND type='index'  (0.2ms) DROP INDEX "index_susply_payments_on_owner_id"  (0.2ms) DROP TABLE "susply_payments" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20150521222634"]]  (168.5ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateSusplyPayments (20150521222634)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150521222634"]]  (164.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_susply_payments_on_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_susply_payments_on_owner_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index'  (144.6ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (144.6ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (173.9ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (176.6ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (167.0ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (165.8ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (161.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (172.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (150.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (146.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (167.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (145.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (118.5ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (132.1ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (144.0ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (144.5ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (233.9ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (157.4ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (162.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (166.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (144.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (178.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (245.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (178.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (148.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (147.3ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (132.1ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (178.5ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (155.6ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (189.1ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (174.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (148.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (759.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (135.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (185.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (133.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (168.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (127.8ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (143.2ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (145.6ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (166.7ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (177.8ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (177.9ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (155.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (178.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (144.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (123.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (100.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateSusplyPlans (20150513155547)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513155547"]]  (137.6ms) commit transaction Migrating to AddStatusToPlans (20150513161513)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "susply_plans" ADD "active" boolean  (0.2ms) ALTER TABLE "susply_plans" ADD "published" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513161513"]]  (124.0ms) commit transaction Migrating to CreateSusplySubscriptions (20150513180124)  (0.3ms) begin transaction  (0.7ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) select sqlite_version(*)  (0.4ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513180124"]]  (137.5ms) commit transaction Migrating to CreateOrganizations (20150513183555)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513183555"]]  (170.9ms) commit transaction Migrating to CreateSusplyPayments (20150521222634)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150521222634"]]  (233.2ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_susply_payments_on_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_susply_payments_on_owner_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index'  (159.0ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (168.5ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (135.1ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (188.9ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (240.3ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (171.1ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (174.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (189.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (122.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (122.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (122.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (133.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (122.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (250.8ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (133.4ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (142.8ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (122.3ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (155.9ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (122.4ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (143.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (155.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (144.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (178.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (178.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (188.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (179.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (118.5ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (162.3ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (139.5ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (122.1ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (189.1ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (166.8ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (186.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (178.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (144.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (122.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (212.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (145.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (141.3ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (100.0ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (119.5ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (111.2ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (154.8ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (144.6ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (342.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (189.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (180.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (178.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (178.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (122.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (200.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (134.5ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (122.3ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (124.5ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (122.3ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (144.7ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (122.3ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (130.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (133.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (133.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (230.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (148.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (167.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (167.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (152.7ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (135.3ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (146.0ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (171.3ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (162.6ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (133.5ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (163.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (155.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (166.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (167.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (145.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (122.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (167.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (161.0ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (156.0ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (160.3ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (144.6ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (177.9ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (177.9ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (253.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (200.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (156.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (133.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (156.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (156.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (156.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (113.3ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (155.5ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (150.6ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (144.5ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (166.8ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (155.5ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (175.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (178.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (166.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (178.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (146.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (145.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (130.6ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (133.2ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (144.5ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (166.8ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)  (177.8ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (201.7ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (243.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (200.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (177.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (178.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (178.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (156.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (156.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (131.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (121.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateSusplyPlans (20150513155547)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513155547"]]  (113.3ms) commit transaction Migrating to AddStatusToPlans (20150513161513)  (0.1ms) begin transaction  (0.2ms) ALTER TABLE "susply_plans" ADD "active" boolean  (0.1ms) ALTER TABLE "susply_plans" ADD "published" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513161513"]]  (132.1ms) commit transaction Migrating to CreateSusplySubscriptions (20150513180124)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513180124"]]  (142.9ms) commit transaction Migrating to CreateOrganizations (20150513183555)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150513183555"]]  (143.2ms) commit transaction Migrating to CreateSusplyPayments (20150521222634)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150521222634"]]  (142.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_susply_payments_on_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_susply_payments_on_owner_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_susply_subscriptions_on_owner_id' AND type='index'  (131.5ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (133.3ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (169.3ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (177.8ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (177.9ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (155.6ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (130.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (155.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (144.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (145.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (167.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (145.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (114.5ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (155.6ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (145.9ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (144.4ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (155.6ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (155.7ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (175.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (155.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (155.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (113.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (111.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (133.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (133.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (121.0ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (133.4ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (168.6ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (144.5ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (144.7ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (122.0ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (108.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (155.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (111.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (113.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (111.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (122.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (145.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (145.7ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (155.5ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (180.7ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (144.5ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (155.8ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (234.1ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (153.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (155.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (111.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (167.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (155.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (156.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (158.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (122.6ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (166.7ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (357.0ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (144.2ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (155.5ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (146.6ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (152.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (144.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (166.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (145.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (132.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (133.2ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (144.1ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (144.2ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (166.7ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (155.5ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (164.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (155.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (144.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (156.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (169.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (156.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (135.3ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (132.8ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) select sqlite_version(*)  (149.6ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (144.2ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (144.6ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (144.6ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (164.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (155.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (200.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (156.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (167.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (155.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (156.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (146.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (132.2ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (170.5ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (187.9ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (155.1ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (177.9ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (152.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (155.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (155.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (155.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (156.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (167.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (180.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (169.0ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (133.4ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (144.7ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (144.4ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (144.4ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (144.6ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (163.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (177.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (178.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (221.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (824.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (145.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (167.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (160.2ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (143.2ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (147.2ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (144.2ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (144.3ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (155.4ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (153.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (144.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (178.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (180.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (167.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (145.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (154.0ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (155.8ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (179.1ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (177.8ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (133.2ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (144.5ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (140.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (144.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (144.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (144.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (145.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (145.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (156.8ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (132.7ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (146.7ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (144.2ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (144.3ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (122.3ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (152.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (144.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (167.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (156.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (178.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (156.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (135.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (152.3ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (118.0ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (156.3ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (155.5ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (144.4ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (178.1ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (175.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (189.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (177.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (133.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (178.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (169.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (133.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (119.6ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (144.5ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (178.8ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (155.9ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (177.9ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (177.9ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (230.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (168.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (155.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (156.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (156.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (178.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (145.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (116.7ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (123.5ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (145.0ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (144.4ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (555.5ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (177.9ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (175.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (178.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (177.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (178.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (178.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (178.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (167.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (105.2ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (144.4ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (154.2ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (173.4ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (149.2ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (188.8ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (176.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (166.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (155.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (122.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (145.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (131.4ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (133.2ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (146.5ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (146.2ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (205.7ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (172.8ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (175.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (155.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (144.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (129.9ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (132.4ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (152.7ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (165.8ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (144.6ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (154.8ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (147.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (234.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (177.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (157.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (145.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (144.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (134.2ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (165.3ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (168.9ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (177.7ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (177.9ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (144.5ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (140.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (135.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (144.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (144.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (189.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (146.2ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (166.6ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (169.6ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (155.3ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (143.3ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (143.4ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (152.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (176.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (135.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (167.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (110.4ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (133.5ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (142.7ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (143.4ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (165.6ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (176.6ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (172.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (222.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT version FROM "schema_migrations"  (177.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (178.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (156.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (144.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (167.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (115.3ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (133.2ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (144.2ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (135.1ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (155.4ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (177.9ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (152.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (188.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (166.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (156.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (144.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (145.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (156.7ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (133.3ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (146.3ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (144.4ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (144.4ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (166.8ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (165.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (200.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (177.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (200.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (144.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (153.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (133.2ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (147.2ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (144.2ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (155.7ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (177.8ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (176.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (156.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT version FROM "schema_migrations"  (143.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (155.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (156.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (156.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (138.9ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (133.1ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (135.5ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (166.7ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (177.8ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (177.8ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (174.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (168.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (144.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (167.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (144.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (133.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (137.8ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (132.0ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (146.2ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (146.4ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (144.6ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (144.6ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (152.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (144.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (189.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (156.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (156.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (178.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (167.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (190.5ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (155.5ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (157.6ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (155.5ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (133.4ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (133.4ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (130.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (144.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (144.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (145.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (146.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (141.0ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (132.8ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (131.3ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (144.5ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (179.7ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (188.9ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (175.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (178.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (155.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (156.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (156.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (167.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (300.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')  (143.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "subdomain" varchar, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (133.0ms) CREATE TABLE "susply_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "subscription_id" integer, "amount" integer, "period_start" datetime, "period_end" datetime, "status" varchar, "invoice" varchar, "generated_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (157.2ms) CREATE INDEX "index_susply_payments_on_owner_id" ON "susply_payments" ("owner_id")  (144.4ms) CREATE TABLE "susply_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "name" varchar, "description" varchar, "price" integer, "interval" varchar, "highlight" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean, "published" boolean)   (166.7ms) CREATE TABLE "susply_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "plan_id" integer, "start" datetime, "current_period_start" datetime, "current_period_end" datetime, "quantity" integer, "deactivated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (188.9ms) CREATE INDEX "index_susply_subscriptions_on_owner_id" ON "susply_subscriptions" ("owner_id")  (186.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (189.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (177.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150521222634')  (145.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513183555')  (156.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513155547')  (145.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513161513')  (144.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150513180124')