paid_up 0.7.11 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/Gemfile +8 -4
- data/README.md +4 -0
- data/VERSION +1 -1
- data/app/models/paid_up/plan.rb +1 -1
- data/app/models/paid_up/plan_feature_setting.rb +1 -1
- data/coverage/.last_run.json +1 -1
- data/coverage/.resultset.json +83 -78
- data/db/migrate/{20150407105900_create_paid_up_plan_feature_settings_table.rb → 20160207113800_create_paid_up_plan_feature_settings_table.rb} +1 -1
- data/paid_up.gemspec +16 -13
- data/spec/dummy/config/routes.rb +1 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/{20150523010839_create_paid_up_plans_table.paid_up.rb → 20160207184112_create_paid_up_plans_table.paid_up.rb} +0 -0
- data/spec/dummy/db/migrate/{20150523010840_add_stripe_id_column_to_users.paid_up.rb → 20160207184113_add_stripe_id_column_to_users.paid_up.rb} +0 -0
- data/spec/dummy/db/migrate/{20150523010838_create_paid_up_plan_feature_settings_table.paid_up.rb → 20160207184114_create_paid_up_plan_feature_settings_table.paid_up.rb} +2 -2
- data/spec/dummy/db/schema.rb +3 -3
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +841 -0
- metadata +38 -24
@@ -6506,3 +6506,844 @@ Migrating to AddTimestampsToUsersRoles (20150710160830)
|
|
6506
6506
|
[1m[36m (124.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150406154440')[0m
|
6507
6507
|
[1m[35m (117.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150523010837')
|
6508
6508
|
[1m[36m (124.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150523010827')[0m
|
6509
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
6510
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
6511
|
+
[1m[36m (1.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
6512
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6513
|
+
Migrating to CreateUsersTable (20150406154440)
|
6514
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6515
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)
|
6516
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150406154440"]]
|
6517
|
+
[1m[35m (1.4ms)[0m commit transaction
|
6518
|
+
Migrating to CreateGroupsTable (20150517175135)
|
6519
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6520
|
+
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/karen/Gems/paid_up/spec/dummy/db/migrate/20150517175135_create_groups_table.rb:7)
|
6521
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "created_at" datetime, "updated_at" datetime)
|
6522
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150517175135"]]
|
6523
|
+
[1m[35m (2.0ms)[0m commit transaction
|
6524
|
+
Migrating to CreateDoodadsTable (20150517175136)
|
6525
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6526
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "doodads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar, "name" varchar, "description" text)
|
6527
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_doodads_on_user_id" ON "doodads" ("user_id")[0m
|
6528
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150517175136"]]
|
6529
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
6530
|
+
Migrating to AddDeviseToUsers (20150523010827)
|
6531
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6532
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "users" ADD "email" varchar DEFAULT '' NOT NULL[0m
|
6533
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "encrypted_password" varchar DEFAULT '' NOT NULL
|
6534
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "reset_password_token" varchar[0m
|
6535
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "reset_password_sent_at" datetime
|
6536
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "remember_created_at" datetime[0m
|
6537
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
|
6538
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_at" datetime[0m
|
6539
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "last_sign_in_at" datetime
|
6540
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_ip" varchar[0m
|
6541
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "last_sign_in_ip" varchar
|
6542
|
+
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
6543
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6544
|
+
FROM sqlite_master
|
6545
|
+
WHERE name='index_users_on_email' AND type='index'
|
6546
|
+
UNION ALL
|
6547
|
+
SELECT sql
|
6548
|
+
FROM sqlite_temp_master
|
6549
|
+
WHERE name='index_users_on_email' AND type='index'
|
6550
|
+
|
6551
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
6552
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150523010827"]]
|
6553
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
6554
|
+
Migrating to RolifyCreateRoles (20150523010837)
|
6555
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6556
|
+
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/karen/Gems/paid_up/spec/dummy/db/migrate/20150523010837_rolify_create_roles.rb:7)
|
6557
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "resource_id" integer, "resource_type" varchar, "created_at" datetime, "updated_at" datetime) [0m
|
6558
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "users_roles" ("user_id" integer, "role_id" integer)
|
6559
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_roles_on_name" ON "roles" ("name")[0m
|
6560
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
6561
|
+
FROM sqlite_master
|
6562
|
+
WHERE name='index_roles_on_name' AND type='index'
|
6563
|
+
UNION ALL
|
6564
|
+
SELECT sql
|
6565
|
+
FROM sqlite_temp_master
|
6566
|
+
WHERE name='index_roles_on_name' AND type='index'
|
6567
|
+
|
6568
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_roles_on_name_and_resource_type_and_resource_id" ON "roles" ("name", "resource_type", "resource_id")[0m
|
6569
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_users_roles_on_user_id_and_role_id" ON "users_roles" ("user_id", "role_id")
|
6570
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150523010837"]]
|
6571
|
+
[1m[35m (1.5ms)[0m commit transaction
|
6572
|
+
Migrating to CreatePaidUpPlansTable (20160207184112)
|
6573
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6574
|
+
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/karen/Gems/paid_up/spec/dummy/db/migrate/20160207184112_create_paid_up_plans_table.paid_up.rb:10)
|
6575
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "paid_up_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar, "title" varchar, "description" text, "sort_order" integer, "created_at" datetime, "updated_at" datetime)
|
6576
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_paid_up_plans_on_title" ON "paid_up_plans" ("title")[0m
|
6577
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
6578
|
+
FROM sqlite_master
|
6579
|
+
WHERE name='index_paid_up_plans_on_title' AND type='index'
|
6580
|
+
UNION ALL
|
6581
|
+
SELECT sql
|
6582
|
+
FROM sqlite_temp_master
|
6583
|
+
WHERE name='index_paid_up_plans_on_title' AND type='index'
|
6584
|
+
|
6585
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_paid_up_plans_on_stripe_id" ON "paid_up_plans" ("stripe_id")[0m
|
6586
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160207184112"]]
|
6587
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
6588
|
+
Migrating to AddStripeIdColumnToUsers (20160207184113)
|
6589
|
+
[1m[35m (0.3ms)[0m begin transaction
|
6590
|
+
[1m[36m (1.2ms)[0m [1mALTER TABLE "users" ADD "stripe_id" varchar[0m
|
6591
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160207184113"]]
|
6592
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
6593
|
+
Migrating to CreatePaidUpPlanFeatureSettingsTable (20160207184114)
|
6594
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6595
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "paid_up_plan_feature_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "paid_up_plan_id" integer, "feature" varchar, "setting" integer) [0m
|
6596
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "index_paid_up_plan_feature_settings_on_paid_up_plan_id" ON "paid_up_plan_feature_settings" ("paid_up_plan_id")
|
6597
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
6598
|
+
FROM sqlite_master
|
6599
|
+
WHERE name='index_paid_up_plan_feature_settings_on_paid_up_plan_id' AND type='index'
|
6600
|
+
UNION ALL
|
6601
|
+
SELECT sql
|
6602
|
+
FROM sqlite_temp_master
|
6603
|
+
WHERE name='index_paid_up_plan_feature_settings_on_paid_up_plan_id' AND type='index'
|
6604
|
+
[0m
|
6605
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_paid_up_plan_feature_settings_on_feature" ON "paid_up_plan_feature_settings" ("feature")
|
6606
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160207184114"]]
|
6607
|
+
[1m[35m (1.7ms)[0m commit transaction
|
6608
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6609
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6610
|
+
FROM sqlite_master
|
6611
|
+
WHERE name='index_doodads_on_user_id' AND type='index'
|
6612
|
+
UNION ALL
|
6613
|
+
SELECT sql
|
6614
|
+
FROM sqlite_temp_master
|
6615
|
+
WHERE name='index_doodads_on_user_id' AND type='index'
|
6616
|
+
|
6617
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6618
|
+
FROM sqlite_master
|
6619
|
+
WHERE name='index_paid_up_plan_feature_settings_on_feature' AND type='index'
|
6620
|
+
UNION ALL
|
6621
|
+
SELECT sql
|
6622
|
+
FROM sqlite_temp_master
|
6623
|
+
WHERE name='index_paid_up_plan_feature_settings_on_feature' AND type='index'
|
6624
|
+
[0m
|
6625
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6626
|
+
FROM sqlite_master
|
6627
|
+
WHERE name='index_paid_up_plan_feature_settings_on_paid_up_plan_id' AND type='index'
|
6628
|
+
UNION ALL
|
6629
|
+
SELECT sql
|
6630
|
+
FROM sqlite_temp_master
|
6631
|
+
WHERE name='index_paid_up_plan_feature_settings_on_paid_up_plan_id' AND type='index'
|
6632
|
+
|
6633
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6634
|
+
FROM sqlite_master
|
6635
|
+
WHERE name='index_paid_up_plans_on_stripe_id' AND type='index'
|
6636
|
+
UNION ALL
|
6637
|
+
SELECT sql
|
6638
|
+
FROM sqlite_temp_master
|
6639
|
+
WHERE name='index_paid_up_plans_on_stripe_id' AND type='index'
|
6640
|
+
[0m
|
6641
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6642
|
+
FROM sqlite_master
|
6643
|
+
WHERE name='index_paid_up_plans_on_title' AND type='index'
|
6644
|
+
UNION ALL
|
6645
|
+
SELECT sql
|
6646
|
+
FROM sqlite_temp_master
|
6647
|
+
WHERE name='index_paid_up_plans_on_title' AND type='index'
|
6648
|
+
|
6649
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6650
|
+
FROM sqlite_master
|
6651
|
+
WHERE name='index_roles_on_name_and_resource_type_and_resource_id' AND type='index'
|
6652
|
+
UNION ALL
|
6653
|
+
SELECT sql
|
6654
|
+
FROM sqlite_temp_master
|
6655
|
+
WHERE name='index_roles_on_name_and_resource_type_and_resource_id' AND type='index'
|
6656
|
+
[0m
|
6657
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6658
|
+
FROM sqlite_master
|
6659
|
+
WHERE name='index_roles_on_name' AND type='index'
|
6660
|
+
UNION ALL
|
6661
|
+
SELECT sql
|
6662
|
+
FROM sqlite_temp_master
|
6663
|
+
WHERE name='index_roles_on_name' AND type='index'
|
6664
|
+
|
6665
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6666
|
+
FROM sqlite_master
|
6667
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
6668
|
+
UNION ALL
|
6669
|
+
SELECT sql
|
6670
|
+
FROM sqlite_temp_master
|
6671
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
6672
|
+
[0m
|
6673
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6674
|
+
FROM sqlite_master
|
6675
|
+
WHERE name='index_users_on_email' AND type='index'
|
6676
|
+
UNION ALL
|
6677
|
+
SELECT sql
|
6678
|
+
FROM sqlite_temp_master
|
6679
|
+
WHERE name='index_users_on_email' AND type='index'
|
6680
|
+
|
6681
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6682
|
+
FROM sqlite_master
|
6683
|
+
WHERE name='index_users_roles_on_user_id_and_role_id' AND type='index'
|
6684
|
+
UNION ALL
|
6685
|
+
SELECT sql
|
6686
|
+
FROM sqlite_temp_master
|
6687
|
+
WHERE name='index_users_roles_on_user_id_and_role_id' AND type='index'
|
6688
|
+
[0m
|
6689
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6690
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6691
|
+
[1m[35mPaidUp::Plan Exists (0.1ms)[0m SELECT 1 AS one FROM "paid_up_plans" WHERE "paid_up_plans"."title" = 'Anonymous' LIMIT 1
|
6692
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "paid_up_plans" ("title", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Anonymous"], ["stripe_id", "anonymous-plan"], ["description", "What you can do without logging in."], ["sort_order", -1], ["created_at", "2016-02-07 18:41:43.731672"], ["updated_at", "2016-02-07 18:41:43.731672"]]
|
6693
|
+
[1m[35m (1.5ms)[0m commit transaction
|
6694
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6695
|
+
[1m[35mPaidUp::Plan Exists (0.1ms)[0m SELECT 1 AS one FROM "paid_up_plans" WHERE "paid_up_plans"."title" = 'Free' LIMIT 1
|
6696
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "paid_up_plans" ("title", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Free"], ["stripe_id", "free-plan"], ["description", "Can't beat the price!"], ["sort_order", 0], ["created_at", "2016-02-07 18:41:44.245208"], ["updated_at", "2016-02-07 18:41:44.245208"]]
|
6697
|
+
[1m[35m (1.5ms)[0m commit transaction
|
6698
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6699
|
+
[1m[35mPaidUp::Plan Exists (0.1ms)[0m SELECT 1 AS one FROM "paid_up_plans" WHERE "paid_up_plans"."title" = 'No Ads' LIMIT 1
|
6700
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "paid_up_plans" ("title", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "No Ads"], ["stripe_id", "no-ads-plan"], ["description", "No frills, just removes the ads."], ["sort_order", 1], ["created_at", "2016-02-07 18:41:45.098119"], ["updated_at", "2016-02-07 18:41:45.098119"]]
|
6701
|
+
[1m[35m (1.5ms)[0m commit transaction
|
6702
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6703
|
+
[1m[35mPaidUp::Plan Exists (0.2ms)[0m SELECT 1 AS one FROM "paid_up_plans" WHERE "paid_up_plans"."title" = 'Group Leader' LIMIT 1
|
6704
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "paid_up_plans" ("title", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Group Leader"], ["stripe_id", "group-leader-plan"], ["description", "For leaders of single groups, with configuration."], ["sort_order", 2], ["created_at", "2016-02-07 18:41:45.658744"], ["updated_at", "2016-02-07 18:41:45.658744"]]
|
6705
|
+
[1m[35m (1.6ms)[0m commit transaction
|
6706
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6707
|
+
[1m[35mPaidUp::Plan Exists (0.1ms)[0m SELECT 1 AS one FROM "paid_up_plans" WHERE "paid_up_plans"."title" = 'Professional' LIMIT 1
|
6708
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "paid_up_plans" ("title", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Professional"], ["stripe_id", "professional-plan"], ["description", "Designed for professionals with unlimited groups, a calendar and configuration."], ["sort_order", 3], ["created_at", "2016-02-07 18:41:46.177668"], ["updated_at", "2016-02-07 18:41:46.177668"]]
|
6709
|
+
[1m[35m (1.6ms)[0m commit transaction
|
6710
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
6711
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
6712
|
+
[1m[36m (1.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
6713
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6714
|
+
Migrating to CreateUsersTable (20150406154440)
|
6715
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6716
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)
|
6717
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150406154440"]]
|
6718
|
+
[1m[35m (1.6ms)[0m commit transaction
|
6719
|
+
Migrating to CreateGroupsTable (20150517175135)
|
6720
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6721
|
+
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/karen/Gems/paid_up/spec/dummy/db/migrate/20150517175135_create_groups_table.rb:7)
|
6722
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "created_at" datetime, "updated_at" datetime)
|
6723
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150517175135"]]
|
6724
|
+
[1m[35m (1.5ms)[0m commit transaction
|
6725
|
+
Migrating to CreateDoodadsTable (20150517175136)
|
6726
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6727
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "doodads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar, "name" varchar, "description" text)
|
6728
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_doodads_on_user_id" ON "doodads" ("user_id")[0m
|
6729
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150517175136"]]
|
6730
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
6731
|
+
Migrating to AddDeviseToUsers (20150523010827)
|
6732
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6733
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "users" ADD "email" varchar DEFAULT '' NOT NULL[0m
|
6734
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "encrypted_password" varchar DEFAULT '' NOT NULL
|
6735
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "reset_password_token" varchar[0m
|
6736
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "reset_password_sent_at" datetime
|
6737
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "remember_created_at" datetime[0m
|
6738
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
|
6739
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_at" datetime[0m
|
6740
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "last_sign_in_at" datetime
|
6741
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_ip" varchar[0m
|
6742
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "last_sign_in_ip" varchar
|
6743
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
6744
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6745
|
+
FROM sqlite_master
|
6746
|
+
WHERE name='index_users_on_email' AND type='index'
|
6747
|
+
UNION ALL
|
6748
|
+
SELECT sql
|
6749
|
+
FROM sqlite_temp_master
|
6750
|
+
WHERE name='index_users_on_email' AND type='index'
|
6751
|
+
|
6752
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
6753
|
+
[1m[35mSQL (5.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150523010827"]]
|
6754
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
6755
|
+
Migrating to RolifyCreateRoles (20150523010837)
|
6756
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6757
|
+
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/karen/Gems/paid_up/spec/dummy/db/migrate/20150523010837_rolify_create_roles.rb:7)
|
6758
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "resource_id" integer, "resource_type" varchar, "created_at" datetime, "updated_at" datetime) [0m
|
6759
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "users_roles" ("user_id" integer, "role_id" integer)
|
6760
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_roles_on_name" ON "roles" ("name")[0m
|
6761
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
6762
|
+
FROM sqlite_master
|
6763
|
+
WHERE name='index_roles_on_name' AND type='index'
|
6764
|
+
UNION ALL
|
6765
|
+
SELECT sql
|
6766
|
+
FROM sqlite_temp_master
|
6767
|
+
WHERE name='index_roles_on_name' AND type='index'
|
6768
|
+
|
6769
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_roles_on_name_and_resource_type_and_resource_id" ON "roles" ("name", "resource_type", "resource_id")[0m
|
6770
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_users_roles_on_user_id_and_role_id" ON "users_roles" ("user_id", "role_id")
|
6771
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150523010837"]]
|
6772
|
+
[1m[35m (1.4ms)[0m commit transaction
|
6773
|
+
Migrating to CreatePaidUpPlansTable (20160207184112)
|
6774
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6775
|
+
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/karen/Gems/paid_up/spec/dummy/db/migrate/20160207184112_create_paid_up_plans_table.paid_up.rb:10)
|
6776
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "paid_up_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar, "title" varchar, "description" text, "sort_order" integer, "created_at" datetime, "updated_at" datetime)
|
6777
|
+
[1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "index_paid_up_plans_on_title" ON "paid_up_plans" ("title")[0m
|
6778
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6779
|
+
FROM sqlite_master
|
6780
|
+
WHERE name='index_paid_up_plans_on_title' AND type='index'
|
6781
|
+
UNION ALL
|
6782
|
+
SELECT sql
|
6783
|
+
FROM sqlite_temp_master
|
6784
|
+
WHERE name='index_paid_up_plans_on_title' AND type='index'
|
6785
|
+
|
6786
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_paid_up_plans_on_stripe_id" ON "paid_up_plans" ("stripe_id")[0m
|
6787
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160207184112"]]
|
6788
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
6789
|
+
Migrating to AddStripeIdColumnToUsers (20160207184113)
|
6790
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6791
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "users" ADD "stripe_id" varchar[0m
|
6792
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160207184113"]]
|
6793
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
6794
|
+
Migrating to CreatePaidUpPlanFeatureSettingsTable (20160207184114)
|
6795
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6796
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "paid_up_plan_feature_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "paid_up_plan_id" integer, "feature" varchar, "setting" integer) [0m
|
6797
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_paid_up_plan_feature_settings_on_paid_up_plan_id" ON "paid_up_plan_feature_settings" ("paid_up_plan_id")
|
6798
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6799
|
+
FROM sqlite_master
|
6800
|
+
WHERE name='index_paid_up_plan_feature_settings_on_paid_up_plan_id' AND type='index'
|
6801
|
+
UNION ALL
|
6802
|
+
SELECT sql
|
6803
|
+
FROM sqlite_temp_master
|
6804
|
+
WHERE name='index_paid_up_plan_feature_settings_on_paid_up_plan_id' AND type='index'
|
6805
|
+
[0m
|
6806
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_paid_up_plan_feature_settings_on_feature" ON "paid_up_plan_feature_settings" ("feature")
|
6807
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160207184114"]]
|
6808
|
+
[1m[35m (2.1ms)[0m commit transaction
|
6809
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6810
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6811
|
+
FROM sqlite_master
|
6812
|
+
WHERE name='index_doodads_on_user_id' AND type='index'
|
6813
|
+
UNION ALL
|
6814
|
+
SELECT sql
|
6815
|
+
FROM sqlite_temp_master
|
6816
|
+
WHERE name='index_doodads_on_user_id' AND type='index'
|
6817
|
+
|
6818
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6819
|
+
FROM sqlite_master
|
6820
|
+
WHERE name='index_paid_up_plan_feature_settings_on_feature' AND type='index'
|
6821
|
+
UNION ALL
|
6822
|
+
SELECT sql
|
6823
|
+
FROM sqlite_temp_master
|
6824
|
+
WHERE name='index_paid_up_plan_feature_settings_on_feature' AND type='index'
|
6825
|
+
[0m
|
6826
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6827
|
+
FROM sqlite_master
|
6828
|
+
WHERE name='index_paid_up_plan_feature_settings_on_paid_up_plan_id' AND type='index'
|
6829
|
+
UNION ALL
|
6830
|
+
SELECT sql
|
6831
|
+
FROM sqlite_temp_master
|
6832
|
+
WHERE name='index_paid_up_plan_feature_settings_on_paid_up_plan_id' AND type='index'
|
6833
|
+
|
6834
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6835
|
+
FROM sqlite_master
|
6836
|
+
WHERE name='index_paid_up_plans_on_stripe_id' AND type='index'
|
6837
|
+
UNION ALL
|
6838
|
+
SELECT sql
|
6839
|
+
FROM sqlite_temp_master
|
6840
|
+
WHERE name='index_paid_up_plans_on_stripe_id' AND type='index'
|
6841
|
+
[0m
|
6842
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6843
|
+
FROM sqlite_master
|
6844
|
+
WHERE name='index_paid_up_plans_on_title' AND type='index'
|
6845
|
+
UNION ALL
|
6846
|
+
SELECT sql
|
6847
|
+
FROM sqlite_temp_master
|
6848
|
+
WHERE name='index_paid_up_plans_on_title' AND type='index'
|
6849
|
+
|
6850
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6851
|
+
FROM sqlite_master
|
6852
|
+
WHERE name='index_roles_on_name_and_resource_type_and_resource_id' AND type='index'
|
6853
|
+
UNION ALL
|
6854
|
+
SELECT sql
|
6855
|
+
FROM sqlite_temp_master
|
6856
|
+
WHERE name='index_roles_on_name_and_resource_type_and_resource_id' AND type='index'
|
6857
|
+
[0m
|
6858
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6859
|
+
FROM sqlite_master
|
6860
|
+
WHERE name='index_roles_on_name' AND type='index'
|
6861
|
+
UNION ALL
|
6862
|
+
SELECT sql
|
6863
|
+
FROM sqlite_temp_master
|
6864
|
+
WHERE name='index_roles_on_name' AND type='index'
|
6865
|
+
|
6866
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6867
|
+
FROM sqlite_master
|
6868
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
6869
|
+
UNION ALL
|
6870
|
+
SELECT sql
|
6871
|
+
FROM sqlite_temp_master
|
6872
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
6873
|
+
[0m
|
6874
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6875
|
+
FROM sqlite_master
|
6876
|
+
WHERE name='index_users_on_email' AND type='index'
|
6877
|
+
UNION ALL
|
6878
|
+
SELECT sql
|
6879
|
+
FROM sqlite_temp_master
|
6880
|
+
WHERE name='index_users_on_email' AND type='index'
|
6881
|
+
|
6882
|
+
[1m[36m (0.3ms)[0m [1m SELECT sql
|
6883
|
+
FROM sqlite_master
|
6884
|
+
WHERE name='index_users_roles_on_user_id_and_role_id' AND type='index'
|
6885
|
+
UNION ALL
|
6886
|
+
SELECT sql
|
6887
|
+
FROM sqlite_temp_master
|
6888
|
+
WHERE name='index_users_roles_on_user_id_and_role_id' AND type='index'
|
6889
|
+
[0m
|
6890
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6891
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6892
|
+
[1m[35mPaidUp::Plan Exists (0.2ms)[0m SELECT 1 AS one FROM "paid_up_plans" WHERE "paid_up_plans"."title" = 'Anonymous' LIMIT 1
|
6893
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "paid_up_plans" ("title", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Anonymous"], ["stripe_id", "anonymous-plan"], ["description", "What you can do without logging in."], ["sort_order", -1], ["created_at", "2016-02-07 18:43:22.384335"], ["updated_at", "2016-02-07 18:43:22.384335"]]
|
6894
|
+
[1m[35m (1.4ms)[0m commit transaction
|
6895
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6896
|
+
[1m[35mPaidUp::Plan Exists (0.1ms)[0m SELECT 1 AS one FROM "paid_up_plans" WHERE "paid_up_plans"."title" = 'Free' LIMIT 1
|
6897
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "paid_up_plans" ("title", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Free"], ["stripe_id", "free-plan"], ["description", "Can't beat the price!"], ["sort_order", 0], ["created_at", "2016-02-07 18:43:22.952168"], ["updated_at", "2016-02-07 18:43:22.952168"]]
|
6898
|
+
[1m[35m (1.4ms)[0m commit transaction
|
6899
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6900
|
+
[1m[35mPaidUp::Plan Exists (0.1ms)[0m SELECT 1 AS one FROM "paid_up_plans" WHERE "paid_up_plans"."title" = 'No Ads' LIMIT 1
|
6901
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "paid_up_plans" ("title", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "No Ads"], ["stripe_id", "no-ads-plan"], ["description", "No frills, just removes the ads."], ["sort_order", 1], ["created_at", "2016-02-07 18:43:23.474433"], ["updated_at", "2016-02-07 18:43:23.474433"]]
|
6902
|
+
[1m[35m (1.5ms)[0m commit transaction
|
6903
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6904
|
+
[1m[35mPaidUp::Plan Exists (0.1ms)[0m SELECT 1 AS one FROM "paid_up_plans" WHERE "paid_up_plans"."title" = 'Group Leader' LIMIT 1
|
6905
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "paid_up_plans" ("title", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Group Leader"], ["stripe_id", "group-leader-plan"], ["description", "For leaders of single groups, with configuration."], ["sort_order", 2], ["created_at", "2016-02-07 18:43:24.018026"], ["updated_at", "2016-02-07 18:43:24.018026"]]
|
6906
|
+
[1m[35m (1.4ms)[0m commit transaction
|
6907
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6908
|
+
[1m[35mPaidUp::Plan Exists (0.1ms)[0m SELECT 1 AS one FROM "paid_up_plans" WHERE "paid_up_plans"."title" = 'Professional' LIMIT 1
|
6909
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "paid_up_plans" ("title", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Professional"], ["stripe_id", "professional-plan"], ["description", "Designed for professionals with unlimited groups, a calendar and configuration."], ["sort_order", 3], ["created_at", "2016-02-07 18:43:24.593807"], ["updated_at", "2016-02-07 18:43:24.593807"]]
|
6910
|
+
[1m[35m (1.4ms)[0m commit transaction
|
6911
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
6912
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
6913
|
+
[1m[36m (1.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
6914
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6915
|
+
Migrating to CreateUsersTable (20150406154440)
|
6916
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6917
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)
|
6918
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150406154440"]]
|
6919
|
+
[1m[35m (1.7ms)[0m commit transaction
|
6920
|
+
Migrating to CreateGroupsTable (20150517175135)
|
6921
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6922
|
+
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/karen/Gems/paid_up/spec/dummy/db/migrate/20150517175135_create_groups_table.rb:7)
|
6923
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "created_at" datetime, "updated_at" datetime)
|
6924
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150517175135"]]
|
6925
|
+
[1m[35m (1.3ms)[0m commit transaction
|
6926
|
+
Migrating to CreateDoodadsTable (20150517175136)
|
6927
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6928
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "doodads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar, "name" varchar, "description" text)
|
6929
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_doodads_on_user_id" ON "doodads" ("user_id")[0m
|
6930
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150517175136"]]
|
6931
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
6932
|
+
Migrating to AddDeviseToUsers (20150523010827)
|
6933
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6934
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "users" ADD "email" varchar DEFAULT '' NOT NULL[0m
|
6935
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "encrypted_password" varchar DEFAULT '' NOT NULL
|
6936
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "reset_password_token" varchar[0m
|
6937
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "reset_password_sent_at" datetime
|
6938
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "remember_created_at" datetime[0m
|
6939
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
|
6940
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_at" datetime[0m
|
6941
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "last_sign_in_at" datetime
|
6942
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_ip" varchar[0m
|
6943
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "last_sign_in_ip" varchar
|
6944
|
+
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
6945
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6946
|
+
FROM sqlite_master
|
6947
|
+
WHERE name='index_users_on_email' AND type='index'
|
6948
|
+
UNION ALL
|
6949
|
+
SELECT sql
|
6950
|
+
FROM sqlite_temp_master
|
6951
|
+
WHERE name='index_users_on_email' AND type='index'
|
6952
|
+
|
6953
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
6954
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150523010827"]]
|
6955
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
6956
|
+
Migrating to RolifyCreateRoles (20150523010837)
|
6957
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6958
|
+
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/karen/Gems/paid_up/spec/dummy/db/migrate/20150523010837_rolify_create_roles.rb:7)
|
6959
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "resource_id" integer, "resource_type" varchar, "created_at" datetime, "updated_at" datetime) [0m
|
6960
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users_roles" ("user_id" integer, "role_id" integer)
|
6961
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_roles_on_name" ON "roles" ("name")[0m
|
6962
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
6963
|
+
FROM sqlite_master
|
6964
|
+
WHERE name='index_roles_on_name' AND type='index'
|
6965
|
+
UNION ALL
|
6966
|
+
SELECT sql
|
6967
|
+
FROM sqlite_temp_master
|
6968
|
+
WHERE name='index_roles_on_name' AND type='index'
|
6969
|
+
|
6970
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_roles_on_name_and_resource_type_and_resource_id" ON "roles" ("name", "resource_type", "resource_id")[0m
|
6971
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_users_roles_on_user_id_and_role_id" ON "users_roles" ("user_id", "role_id")
|
6972
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150523010837"]]
|
6973
|
+
[1m[35m (1.7ms)[0m commit transaction
|
6974
|
+
Migrating to CreatePaidUpPlansTable (20160207184112)
|
6975
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
6976
|
+
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/karen/Gems/paid_up/spec/dummy/db/migrate/20160207184112_create_paid_up_plans_table.paid_up.rb:10)
|
6977
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "paid_up_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar, "title" varchar, "description" text, "sort_order" integer, "created_at" datetime, "updated_at" datetime)
|
6978
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_paid_up_plans_on_title" ON "paid_up_plans" ("title")[0m
|
6979
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6980
|
+
FROM sqlite_master
|
6981
|
+
WHERE name='index_paid_up_plans_on_title' AND type='index'
|
6982
|
+
UNION ALL
|
6983
|
+
SELECT sql
|
6984
|
+
FROM sqlite_temp_master
|
6985
|
+
WHERE name='index_paid_up_plans_on_title' AND type='index'
|
6986
|
+
|
6987
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_paid_up_plans_on_stripe_id" ON "paid_up_plans" ("stripe_id")[0m
|
6988
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160207184112"]]
|
6989
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
6990
|
+
Migrating to AddStripeIdColumnToUsers (20160207184113)
|
6991
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6992
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "users" ADD "stripe_id" varchar[0m
|
6993
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160207184113"]]
|
6994
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
6995
|
+
Migrating to CreatePaidUpPlanFeatureSettingsTable (20160207184114)
|
6996
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6997
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "paid_up_plan_feature_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "paid_up_plan_id" integer, "feature" varchar, "setting" integer) [0m
|
6998
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_paid_up_plan_feature_settings_on_paid_up_plan_id" ON "paid_up_plan_feature_settings" ("paid_up_plan_id")
|
6999
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
7000
|
+
FROM sqlite_master
|
7001
|
+
WHERE name='index_paid_up_plan_feature_settings_on_paid_up_plan_id' AND type='index'
|
7002
|
+
UNION ALL
|
7003
|
+
SELECT sql
|
7004
|
+
FROM sqlite_temp_master
|
7005
|
+
WHERE name='index_paid_up_plan_feature_settings_on_paid_up_plan_id' AND type='index'
|
7006
|
+
[0m
|
7007
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_paid_up_plan_feature_settings_on_feature" ON "paid_up_plan_feature_settings" ("feature")
|
7008
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160207184114"]]
|
7009
|
+
[1m[35m (1.6ms)[0m commit transaction
|
7010
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7011
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
7012
|
+
FROM sqlite_master
|
7013
|
+
WHERE name='index_doodads_on_user_id' AND type='index'
|
7014
|
+
UNION ALL
|
7015
|
+
SELECT sql
|
7016
|
+
FROM sqlite_temp_master
|
7017
|
+
WHERE name='index_doodads_on_user_id' AND type='index'
|
7018
|
+
|
7019
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
7020
|
+
FROM sqlite_master
|
7021
|
+
WHERE name='index_paid_up_plan_feature_settings_on_feature' AND type='index'
|
7022
|
+
UNION ALL
|
7023
|
+
SELECT sql
|
7024
|
+
FROM sqlite_temp_master
|
7025
|
+
WHERE name='index_paid_up_plan_feature_settings_on_feature' AND type='index'
|
7026
|
+
[0m
|
7027
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
7028
|
+
FROM sqlite_master
|
7029
|
+
WHERE name='index_paid_up_plan_feature_settings_on_paid_up_plan_id' AND type='index'
|
7030
|
+
UNION ALL
|
7031
|
+
SELECT sql
|
7032
|
+
FROM sqlite_temp_master
|
7033
|
+
WHERE name='index_paid_up_plan_feature_settings_on_paid_up_plan_id' AND type='index'
|
7034
|
+
|
7035
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
7036
|
+
FROM sqlite_master
|
7037
|
+
WHERE name='index_paid_up_plans_on_stripe_id' AND type='index'
|
7038
|
+
UNION ALL
|
7039
|
+
SELECT sql
|
7040
|
+
FROM sqlite_temp_master
|
7041
|
+
WHERE name='index_paid_up_plans_on_stripe_id' AND type='index'
|
7042
|
+
[0m
|
7043
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
7044
|
+
FROM sqlite_master
|
7045
|
+
WHERE name='index_paid_up_plans_on_title' AND type='index'
|
7046
|
+
UNION ALL
|
7047
|
+
SELECT sql
|
7048
|
+
FROM sqlite_temp_master
|
7049
|
+
WHERE name='index_paid_up_plans_on_title' AND type='index'
|
7050
|
+
|
7051
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
7052
|
+
FROM sqlite_master
|
7053
|
+
WHERE name='index_roles_on_name_and_resource_type_and_resource_id' AND type='index'
|
7054
|
+
UNION ALL
|
7055
|
+
SELECT sql
|
7056
|
+
FROM sqlite_temp_master
|
7057
|
+
WHERE name='index_roles_on_name_and_resource_type_and_resource_id' AND type='index'
|
7058
|
+
[0m
|
7059
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
7060
|
+
FROM sqlite_master
|
7061
|
+
WHERE name='index_roles_on_name' AND type='index'
|
7062
|
+
UNION ALL
|
7063
|
+
SELECT sql
|
7064
|
+
FROM sqlite_temp_master
|
7065
|
+
WHERE name='index_roles_on_name' AND type='index'
|
7066
|
+
|
7067
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
7068
|
+
FROM sqlite_master
|
7069
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
7070
|
+
UNION ALL
|
7071
|
+
SELECT sql
|
7072
|
+
FROM sqlite_temp_master
|
7073
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
7074
|
+
[0m
|
7075
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
7076
|
+
FROM sqlite_master
|
7077
|
+
WHERE name='index_users_on_email' AND type='index'
|
7078
|
+
UNION ALL
|
7079
|
+
SELECT sql
|
7080
|
+
FROM sqlite_temp_master
|
7081
|
+
WHERE name='index_users_on_email' AND type='index'
|
7082
|
+
|
7083
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
7084
|
+
FROM sqlite_master
|
7085
|
+
WHERE name='index_users_roles_on_user_id_and_role_id' AND type='index'
|
7086
|
+
UNION ALL
|
7087
|
+
SELECT sql
|
7088
|
+
FROM sqlite_temp_master
|
7089
|
+
WHERE name='index_users_roles_on_user_id_and_role_id' AND type='index'
|
7090
|
+
[0m
|
7091
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7092
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7093
|
+
[1m[35mPaidUp::Plan Exists (0.2ms)[0m SELECT 1 AS one FROM "paid_up_plans" WHERE "paid_up_plans"."title" = 'Anonymous' LIMIT 1
|
7094
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "paid_up_plans" ("title", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Anonymous"], ["stripe_id", "anonymous-plan"], ["description", "What you can do without logging in."], ["sort_order", -1], ["created_at", "2016-02-07 18:47:11.061175"], ["updated_at", "2016-02-07 18:47:11.061175"]]
|
7095
|
+
[1m[35m (1.7ms)[0m commit transaction
|
7096
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7097
|
+
[1m[35mPaidUp::Plan Exists (0.2ms)[0m SELECT 1 AS one FROM "paid_up_plans" WHERE "paid_up_plans"."title" = 'Free' LIMIT 1
|
7098
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "paid_up_plans" ("title", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Free"], ["stripe_id", "free-plan"], ["description", "Can't beat the price!"], ["sort_order", 0], ["created_at", "2016-02-07 18:47:11.613132"], ["updated_at", "2016-02-07 18:47:11.613132"]]
|
7099
|
+
[1m[35m (1.8ms)[0m commit transaction
|
7100
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7101
|
+
[1m[35mPaidUp::Plan Exists (0.2ms)[0m SELECT 1 AS one FROM "paid_up_plans" WHERE "paid_up_plans"."title" = 'No Ads' LIMIT 1
|
7102
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "paid_up_plans" ("title", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "No Ads"], ["stripe_id", "no-ads-plan"], ["description", "No frills, just removes the ads."], ["sort_order", 1], ["created_at", "2016-02-07 18:47:12.165268"], ["updated_at", "2016-02-07 18:47:12.165268"]]
|
7103
|
+
[1m[35m (1.4ms)[0m commit transaction
|
7104
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7105
|
+
[1m[35mPaidUp::Plan Exists (0.1ms)[0m SELECT 1 AS one FROM "paid_up_plans" WHERE "paid_up_plans"."title" = 'Group Leader' LIMIT 1
|
7106
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "paid_up_plans" ("title", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Group Leader"], ["stripe_id", "group-leader-plan"], ["description", "For leaders of single groups, with configuration."], ["sort_order", 2], ["created_at", "2016-02-07 18:47:12.668209"], ["updated_at", "2016-02-07 18:47:12.668209"]]
|
7107
|
+
[1m[35m (1.5ms)[0m commit transaction
|
7108
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7109
|
+
[1m[35mPaidUp::Plan Exists (0.2ms)[0m SELECT 1 AS one FROM "paid_up_plans" WHERE "paid_up_plans"."title" = 'Professional' LIMIT 1
|
7110
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "paid_up_plans" ("title", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Professional"], ["stripe_id", "professional-plan"], ["description", "Designed for professionals with unlimited groups, a calendar and configuration."], ["sort_order", 3], ["created_at", "2016-02-07 18:47:13.192495"], ["updated_at", "2016-02-07 18:47:13.192495"]]
|
7111
|
+
[1m[35m (1.8ms)[0m commit transaction
|
7112
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7113
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "paid_up_plan_feature_settings" ("feature", "paid_up_plan_id", "setting") VALUES (?, ?, ?) [["feature", "ad_free"], ["paid_up_plan_id", 3], ["setting", 1]]
|
7114
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
7115
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7116
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "paid_up_plan_feature_settings" ("feature", "paid_up_plan_id", "setting") VALUES (?, ?, ?)[0m [["feature", "ad_free"], ["paid_up_plan_id", 4], ["setting", 1]]
|
7117
|
+
[1m[35m (1.7ms)[0m commit transaction
|
7118
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7119
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "paid_up_plan_feature_settings" ("feature", "paid_up_plan_id", "setting") VALUES (?, ?, ?) [["feature", "groups"], ["paid_up_plan_id", 4], ["setting", 5]]
|
7120
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
7121
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7122
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "paid_up_plan_feature_settings" ("feature", "paid_up_plan_id", "setting") VALUES (?, ?, ?)[0m [["feature", "doodads"], ["paid_up_plan_id", 4], ["setting", 10]]
|
7123
|
+
[1m[35m (1.5ms)[0m commit transaction
|
7124
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7125
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "paid_up_plan_feature_settings" ("feature", "paid_up_plan_id", "setting") VALUES (?, ?, ?) [["feature", "ad_free"], ["paid_up_plan_id", 5], ["setting", 1]]
|
7126
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
7127
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7128
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "paid_up_plan_feature_settings" ("feature", "paid_up_plan_id", "setting") VALUES (?, ?, ?)[0m [["feature", "groups"], ["paid_up_plan_id", 5], ["setting", 999999999]]
|
7129
|
+
[1m[35m (1.5ms)[0m commit transaction
|
7130
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7131
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "paid_up_plan_feature_settings" ("feature", "paid_up_plan_id", "setting") VALUES (?, ?, ?) [["feature", "doodads"], ["paid_up_plan_id", 5], ["setting", 999999999]]
|
7132
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
7133
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7134
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'free.subscriber@example.com' LIMIT 1[0m
|
7135
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "encrypted_password", "name") VALUES (?, ?, ?) [["email", "free.subscriber@example.com"], ["encrypted_password", "$2a$10$uBmN.WdnWKnxxCWibewxoO0KOuFT46jxjTqx5MX4hQz8RcauwfUq2"], ["name", "Free Subscriber"]]
|
7136
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
7137
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7138
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "stripe_id" = ? WHERE "users"."id" = ?[0m [["stripe_id", "cus_7rgwEPW7fLxSXt"], ["id", 1]]
|
7139
|
+
[1m[35m (1.4ms)[0m commit transaction
|
7140
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
7141
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7142
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'no.ads.subscriber@example.com' LIMIT 1[0m
|
7143
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "encrypted_password", "name") VALUES (?, ?, ?) [["email", "no.ads.subscriber@example.com"], ["encrypted_password", "$2a$10$ex6HkfCus0CTmfO3Z7sVmeESHBvMp2A3MEbtbqKcX8H3WOTKSalLa"], ["name", "No Ads Subscriber"]]
|
7144
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
7145
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7146
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "stripe_id" = ? WHERE "users"."id" = ?[0m [["stripe_id", "cus_7rgw9S8bKJGOrr"], ["id", 2]]
|
7147
|
+
[1m[35m (1.5ms)[0m commit transaction
|
7148
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
7149
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7150
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'group.leader.subscriber@example.com' LIMIT 1[0m
|
7151
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "encrypted_password", "name") VALUES (?, ?, ?) [["email", "group.leader.subscriber@example.com"], ["encrypted_password", "$2a$10$ON1kxlsImNFm90m96AFMC.R2E6tjb0Zj78pOFJbXLZvk3UWvo7GWy"], ["name", "Group Leader Subscriber"]]
|
7152
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
7153
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7154
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "stripe_id" = ? WHERE "users"."id" = ?[0m [["stripe_id", "cus_7rgwXTqaTuvcDy"], ["id", 3]]
|
7155
|
+
[1m[35m (1.4ms)[0m commit transaction
|
7156
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
7157
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7158
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'disabling.subscriber@example.com' LIMIT 1[0m
|
7159
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "encrypted_password", "name") VALUES (?, ?, ?) [["email", "disabling.subscriber@example.com"], ["encrypted_password", "$2a$10$VpgDZofh5jZ/mLEs0ntMpOH0399jhyH65vlBU2bCwynYrhZb0SAqm"], ["name", "Disabling Subscriber"]]
|
7160
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
7161
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7162
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "stripe_id" = ? WHERE "users"."id" = ?[0m [["stripe_id", "cus_7rgxa6GGnqsgB2"], ["id", 4]]
|
7163
|
+
[1m[35m (1.5ms)[0m commit transaction
|
7164
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
7165
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7166
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'professional.subscriber@example.com' LIMIT 1[0m
|
7167
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "encrypted_password", "name") VALUES (?, ?, ?) [["email", "professional.subscriber@example.com"], ["encrypted_password", "$2a$10$NGohOYfsnYY6LuUKH5wWHe.B1JiaBZxc6yh/.mFJxiLcPgBoQ3Xla"], ["name", "Professional Subscriber"]]
|
7168
|
+
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
7169
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7170
|
+
[1m[36mSQL (2.7ms)[0m [1mUPDATE "users" SET "stripe_id" = ? WHERE "users"."id" = ?[0m [["stripe_id", "cus_7rgxYEr7RGqaEW"], ["id", 5]]
|
7171
|
+
[1m[35m (3.8ms)[0m commit transaction
|
7172
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 5]]
|
7173
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7174
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'blank.subscriber@example.com' LIMIT 1[0m
|
7175
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "encrypted_password", "name") VALUES (?, ?, ?) [["email", "blank.subscriber@example.com"], ["encrypted_password", "$2a$10$37c1htb5D8MpR1ZafhDSIuFBvzu3yJDXdfcNgpls1pvy.KoDo9p9y"], ["name", "Blank Subscriber"]]
|
7176
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
7177
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7178
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "stripe_id" = ? WHERE "users"."id" = ?[0m [["stripe_id", "cus_7rgxnj5UquAwuT"], ["id", 6]]
|
7179
|
+
[1m[35m (1.6ms)[0m commit transaction
|
7180
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 6]]
|
7181
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7182
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "groups" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "First Group"], ["created_at", "2016-02-07 18:47:25.475057"], ["updated_at", "2016-02-07 18:47:25.475057"]]
|
7183
|
+
[1m[35m (1.6ms)[0m commit transaction
|
7184
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE "roles"."name" = ? AND "roles"."resource_type" = ? AND "roles"."resource_id" = ? ORDER BY "roles"."id" ASC LIMIT 1[0m [["name", "owner"], ["resource_type", "Group"], ["resource_id", 1]]
|
7185
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7186
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "roles" ("name", "resource_type", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "owner"], ["resource_type", "Group"], ["resource_id", 1], ["created_at", "2016-02-07 18:47:25.482685"], ["updated_at", "2016-02-07 18:47:25.482685"]]
|
7187
|
+
[1m[35m (1.5ms)[0m commit transaction
|
7188
|
+
[1m[36mRole Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND "roles"."id" = ? LIMIT 1[0m [["user_id", 3], ["id", 1]]
|
7189
|
+
[1m[35m (0.1ms)[0m SELECT "roles".id FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? [["user_id", 3]]
|
7190
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1[0m [["id", 1]]
|
7191
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? [["user_id", 3]]
|
7192
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7193
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users_roles" ("user_id", "role_id") VALUES (?, ?) [["user_id", 3], ["role_id", 1]]
|
7194
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
7195
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7196
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "groups" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "Second Group"], ["created_at", "2016-02-07 18:47:25.581926"], ["updated_at", "2016-02-07 18:47:25.581926"]]
|
7197
|
+
[1m[35m (1.4ms)[0m commit transaction
|
7198
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE "roles"."name" = ? AND "roles"."resource_type" = ? AND "roles"."resource_id" = ? ORDER BY "roles"."id" ASC LIMIT 1[0m [["name", "owner"], ["resource_type", "Group"], ["resource_id", 2]]
|
7199
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7200
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "roles" ("name", "resource_type", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "owner"], ["resource_type", "Group"], ["resource_id", 2], ["created_at", "2016-02-07 18:47:25.585526"], ["updated_at", "2016-02-07 18:47:25.585526"]]
|
7201
|
+
[1m[35m (1.4ms)[0m commit transaction
|
7202
|
+
[1m[36mRole Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND "roles"."id" = ? LIMIT 1[0m [["user_id", 5], ["id", 2]]
|
7203
|
+
[1m[35m (0.0ms)[0m SELECT "roles".id FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? [["user_id", 5]]
|
7204
|
+
[1m[36mRole Load (0.0ms)[0m [1mSELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1[0m [["id", 2]]
|
7205
|
+
[1m[35mRole Load (0.0ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? [["user_id", 5]]
|
7206
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7207
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users_roles" ("user_id", "role_id") VALUES (?, ?) [["user_id", 5], ["role_id", 2]]
|
7208
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
7209
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7210
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "groups" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "Third Group"], ["created_at", "2016-02-07 18:47:25.599285"], ["updated_at", "2016-02-07 18:47:25.599285"]]
|
7211
|
+
[1m[35m (1.5ms)[0m commit transaction
|
7212
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE "roles"."name" = ? AND "roles"."resource_type" = ? AND "roles"."resource_id" = ? ORDER BY "roles"."id" ASC LIMIT 1[0m [["name", "owner"], ["resource_type", "Group"], ["resource_id", 3]]
|
7213
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7214
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "roles" ("name", "resource_type", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "owner"], ["resource_type", "Group"], ["resource_id", 3], ["created_at", "2016-02-07 18:47:25.603419"], ["updated_at", "2016-02-07 18:47:25.603419"]]
|
7215
|
+
[1m[35m (1.5ms)[0m commit transaction
|
7216
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" WHERE "roles"."id" IN (2, 3)[0m
|
7217
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7218
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users_roles" ("user_id", "role_id") VALUES (?, ?)[0m [["user_id", 5], ["role_id", 3]]
|
7219
|
+
[1m[35m (2.1ms)[0m commit transaction
|
7220
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7221
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "groups" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Test Title"], ["created_at", "2016-02-07 18:47:25.612187"], ["updated_at", "2016-02-07 18:47:25.612187"]]
|
7222
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
7223
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE "roles"."name" = ? AND "roles"."resource_type" = ? AND "roles"."resource_id" = ? ORDER BY "roles"."id" ASC LIMIT 1 [["name", "owner"], ["resource_type", "Group"], ["resource_id", 4]]
|
7224
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7225
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "roles" ("name", "resource_type", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "owner"], ["resource_type", "Group"], ["resource_id", 4], ["created_at", "2016-02-07 18:47:25.616198"], ["updated_at", "2016-02-07 18:47:25.616198"]]
|
7226
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
7227
|
+
[1m[35mRole Exists (0.1ms)[0m SELECT 1 AS one FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND "roles"."id" = ? LIMIT 1 [["user_id", 4], ["id", 4]]
|
7228
|
+
[1m[36m (0.1ms)[0m [1mSELECT "roles".id FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ?[0m [["user_id", 4]]
|
7229
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 4]]
|
7230
|
+
[1m[36mRole Load (0.0ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ?[0m [["user_id", 4]]
|
7231
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7232
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users_roles" ("user_id", "role_id") VALUES (?, ?)[0m [["user_id", 4], ["role_id", 4]]
|
7233
|
+
[1m[35m (1.4ms)[0m commit transaction
|
7234
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7235
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "groups" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Test Title"], ["created_at", "2016-02-07 18:47:25.625126"], ["updated_at", "2016-02-07 18:47:25.625126"]]
|
7236
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
7237
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE "roles"."name" = ? AND "roles"."resource_type" = ? AND "roles"."resource_id" = ? ORDER BY "roles"."id" ASC LIMIT 1 [["name", "owner"], ["resource_type", "Group"], ["resource_id", 5]]
|
7238
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7239
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "roles" ("name", "resource_type", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "owner"], ["resource_type", "Group"], ["resource_id", 5], ["created_at", "2016-02-07 18:47:25.629062"], ["updated_at", "2016-02-07 18:47:25.629062"]]
|
7240
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
7241
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE "roles"."id" IN (4, 5)
|
7242
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7243
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users_roles" ("user_id", "role_id") VALUES (?, ?) [["user_id", 4], ["role_id", 5]]
|
7244
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
7245
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7246
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "groups" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "Test Title"], ["created_at", "2016-02-07 18:47:25.636981"], ["updated_at", "2016-02-07 18:47:25.636981"]]
|
7247
|
+
[1m[35m (1.4ms)[0m commit transaction
|
7248
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE "roles"."name" = ? AND "roles"."resource_type" = ? AND "roles"."resource_id" = ? ORDER BY "roles"."id" ASC LIMIT 1[0m [["name", "owner"], ["resource_type", "Group"], ["resource_id", 6]]
|
7249
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7250
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "roles" ("name", "resource_type", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "owner"], ["resource_type", "Group"], ["resource_id", 6], ["created_at", "2016-02-07 18:47:25.640947"], ["updated_at", "2016-02-07 18:47:25.640947"]]
|
7251
|
+
[1m[35m (1.6ms)[0m commit transaction
|
7252
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" WHERE "roles"."id" IN (4, 5, 6)[0m
|
7253
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7254
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users_roles" ("user_id", "role_id") VALUES (?, ?)[0m [["user_id", 4], ["role_id", 6]]
|
7255
|
+
[1m[35m (1.4ms)[0m commit transaction
|
7256
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7257
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "groups" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Test Title"], ["created_at", "2016-02-07 18:47:25.648326"], ["updated_at", "2016-02-07 18:47:25.648326"]]
|
7258
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
7259
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE "roles"."name" = ? AND "roles"."resource_type" = ? AND "roles"."resource_id" = ? ORDER BY "roles"."id" ASC LIMIT 1 [["name", "owner"], ["resource_type", "Group"], ["resource_id", 7]]
|
7260
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7261
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "roles" ("name", "resource_type", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "owner"], ["resource_type", "Group"], ["resource_id", 7], ["created_at", "2016-02-07 18:47:25.651916"], ["updated_at", "2016-02-07 18:47:25.651916"]]
|
7262
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
7263
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE "roles"."id" IN (4, 5, 6, 7)
|
7264
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7265
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users_roles" ("user_id", "role_id") VALUES (?, ?) [["user_id", 4], ["role_id", 7]]
|
7266
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
7267
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7268
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "groups" ("title", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["title", "Test Title"], ["created_at", "2016-02-07 18:47:25.660568"], ["updated_at", "2016-02-07 18:47:25.660568"]]
|
7269
|
+
[1m[35m (1.4ms)[0m commit transaction
|
7270
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" WHERE "roles"."name" = ? AND "roles"."resource_type" = ? AND "roles"."resource_id" = ? ORDER BY "roles"."id" ASC LIMIT 1[0m [["name", "owner"], ["resource_type", "Group"], ["resource_id", 8]]
|
7271
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7272
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "roles" ("name", "resource_type", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "owner"], ["resource_type", "Group"], ["resource_id", 8], ["created_at", "2016-02-07 18:47:25.667021"], ["updated_at", "2016-02-07 18:47:25.667021"]]
|
7273
|
+
[1m[35m (1.4ms)[0m commit transaction
|
7274
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" WHERE "roles"."id" IN (4, 5, 6, 7, 8)[0m
|
7275
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7276
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users_roles" ("user_id", "role_id") VALUES (?, ?)[0m [["user_id", 4], ["role_id", 8]]
|
7277
|
+
[1m[35m (1.7ms)[0m commit transaction
|
7278
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7279
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "groups" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Disabled Group"], ["created_at", "2016-02-07 18:47:25.674887"], ["updated_at", "2016-02-07 18:47:25.674887"]]
|
7280
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
7281
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" WHERE "roles"."name" = ? AND "roles"."resource_type" = ? AND "roles"."resource_id" = ? ORDER BY "roles"."id" ASC LIMIT 1 [["name", "owner"], ["resource_type", "Group"], ["resource_id", 9]]
|
7282
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7283
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "roles" ("name", "resource_type", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "owner"], ["resource_type", "Group"], ["resource_id", 9], ["created_at", "2016-02-07 18:47:25.678933"], ["updated_at", "2016-02-07 18:47:25.678933"]]
|
7284
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
7285
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" WHERE "roles"."id" IN (4, 5, 6, 7, 8, 9)
|
7286
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7287
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users_roles" ("user_id", "role_id") VALUES (?, ?) [["user_id", 4], ["role_id", 9]]
|
7288
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
7289
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "doodads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar, "name" varchar, "description" text)
|
7290
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7291
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_doodads_on_user_id" ON "doodads" ("user_id")
|
7292
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
7293
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "paid_up_plan_feature_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "paid_up_plan_id" integer, "feature" varchar, "setting" integer)
|
7294
|
+
[1m[36m (1.4ms)[0m [1mCREATE INDEX "index_paid_up_plan_feature_settings_on_feature" ON "paid_up_plan_feature_settings" ("feature")[0m
|
7295
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
7296
|
+
FROM sqlite_master
|
7297
|
+
WHERE name='index_paid_up_plan_feature_settings_on_feature' AND type='index'
|
7298
|
+
UNION ALL
|
7299
|
+
SELECT sql
|
7300
|
+
FROM sqlite_temp_master
|
7301
|
+
WHERE name='index_paid_up_plan_feature_settings_on_feature' AND type='index'
|
7302
|
+
|
7303
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_paid_up_plan_feature_settings_on_paid_up_plan_id" ON "paid_up_plan_feature_settings" ("paid_up_plan_id")[0m
|
7304
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "paid_up_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar, "title" varchar, "description" text, "sort_order" integer, "created_at" datetime, "updated_at" datetime)
|
7305
|
+
[1m[36m (1.6ms)[0m [1mCREATE UNIQUE INDEX "index_paid_up_plans_on_stripe_id" ON "paid_up_plans" ("stripe_id")[0m
|
7306
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
7307
|
+
FROM sqlite_master
|
7308
|
+
WHERE name='index_paid_up_plans_on_stripe_id' AND type='index'
|
7309
|
+
UNION ALL
|
7310
|
+
SELECT sql
|
7311
|
+
FROM sqlite_temp_master
|
7312
|
+
WHERE name='index_paid_up_plans_on_stripe_id' AND type='index'
|
7313
|
+
|
7314
|
+
[1m[36m (1.6ms)[0m [1mCREATE UNIQUE INDEX "index_paid_up_plans_on_title" ON "paid_up_plans" ("title")[0m
|
7315
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "resource_id" integer, "resource_type" varchar, "created_at" datetime, "updated_at" datetime)
|
7316
|
+
[1m[36m (1.6ms)[0m [1mCREATE INDEX "index_roles_on_name_and_resource_type_and_resource_id" ON "roles" ("name", "resource_type", "resource_id")[0m
|
7317
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
7318
|
+
FROM sqlite_master
|
7319
|
+
WHERE name='index_roles_on_name_and_resource_type_and_resource_id' AND type='index'
|
7320
|
+
UNION ALL
|
7321
|
+
SELECT sql
|
7322
|
+
FROM sqlite_temp_master
|
7323
|
+
WHERE name='index_roles_on_name_and_resource_type_and_resource_id' AND type='index'
|
7324
|
+
|
7325
|
+
[1m[36m (1.8ms)[0m [1mCREATE INDEX "index_roles_on_name" ON "roles" ("name")[0m
|
7326
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "stripe_id" varchar)
|
7327
|
+
[1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
7328
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
7329
|
+
FROM sqlite_master
|
7330
|
+
WHERE name='index_users_on_email' AND type='index'
|
7331
|
+
UNION ALL
|
7332
|
+
SELECT sql
|
7333
|
+
FROM sqlite_temp_master
|
7334
|
+
WHERE name='index_users_on_email' AND type='index'
|
7335
|
+
|
7336
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
7337
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "users_roles" ("user_id" integer, "role_id" integer)
|
7338
|
+
[1m[36m (1.8ms)[0m [1mCREATE INDEX "index_users_roles_on_user_id_and_role_id" ON "users_roles" ("user_id", "role_id")[0m
|
7339
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7340
|
+
[1m[36m (1.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
7341
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
7342
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160207184114')[0m
|
7343
|
+
[1m[35m (1.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150406154440')
|
7344
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150517175135')[0m
|
7345
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150517175136')
|
7346
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150523010827')[0m
|
7347
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150523010837')
|
7348
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160207184112')[0m
|
7349
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160207184113')
|