paid_up 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 008e82007659869193cd57e171e0fa43dbe113af
4
- data.tar.gz: bc401141c8c1b7b48e73a4d95fc5572b4638f063
3
+ metadata.gz: dc19cec82753e644eb57d65bb8361a614b3962f7
4
+ data.tar.gz: c7b6304fcee0bae964686f8aea7f10ad7afa6afc
5
5
  SHA512:
6
- metadata.gz: 413953951542e28d53ae7a6442632986b4e0a2d2db0a707e5baf7b60b7920c999dcfbbdf095db53b8f4d969eb065b7ee86157436f37a7628f2032c3f71966772
7
- data.tar.gz: 4c25992aed3b394089b6aa50d05c1bcdb9602c3fa94ef39b5b568a1c03111e51a9a057ffbb8679c2a3ef0363cc7efb3821d8b8a80360d3ef5ecc9f8d47347422
6
+ metadata.gz: 0adccf96034045186611960e713e5fea01fb7577556cdc4b20394502f4ba661605fd410e93352b136d78d29c209fa94228fa939c52f05ede0b8514d9930063aa
7
+ data.tar.gz: bd3a51f60205cdac40e0798f6ee885917c8bc7e9bbde96ed937c0914c5e036149b41723fadc4e5bb8ac0eb5276e0ba7354157132d4181b02e8d8c214f9e8d0eb
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -0,0 +1,5 @@
1
+ class AddStripeIdColumnToUsers < ActiveRecord::Migration
2
+ def change
3
+ add_column :users, :stripe_id, :string, index: true
4
+ end
5
+ end
data/paid_up.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: paid_up 0.1.4 ruby lib
5
+ # stub: paid_up 0.1.5 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "paid_up"
9
- s.version = "0.1.4"
9
+ s.version = "0.1.5"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
@@ -64,6 +64,7 @@ Gem::Specification.new do |s|
64
64
  "db/migrate/20150407105900_create_paid_up_features_plans_table.rb",
65
65
  "db/migrate/20150407110100_create_paid_up_features_table.rb",
66
66
  "db/migrate/20150407110101_create_paid_up_plans_table.rb",
67
+ "db/migrate/20150519164237_add_stripe_id_column_to_users.rb",
67
68
  "lib/generators/paid_up/install/install_generator.rb",
68
69
  "lib/generators/paid_up/install/templates/initializer.rb.erb",
69
70
  "lib/generators/paid_up/utils.rb",
@@ -124,7 +125,7 @@ Gem::Specification.new do |s|
124
125
  "spec/dummy/db/migrate/20150518000917_create_paid_up_features_plans_table.paid_up.rb",
125
126
  "spec/dummy/db/migrate/20150518000918_create_paid_up_features_table.paid_up.rb",
126
127
  "spec/dummy/db/migrate/20150518000919_create_paid_up_plans_table.paid_up.rb",
127
- "spec/dummy/db/migrate/20150518000920_add_stripe_id_column_to_user.rb",
128
+ "spec/dummy/db/migrate/20150519164355_add_stripe_id_column_to_users.paid_up.rb",
128
129
  "spec/dummy/db/schema.rb",
129
130
  "spec/dummy/db/seeds.rb",
130
131
  "spec/dummy/db/seeds/features.seeds.rb",
Binary file
@@ -0,0 +1,6 @@
1
+ # This migration comes from paid_up (originally 20150519164237)
2
+ class AddStripeIdColumnToUsers < ActiveRecord::Migration
3
+ def change
4
+ add_column :users, :stripe_id, :string, index: true
5
+ end
6
+ end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20150518000920) do
14
+ ActiveRecord::Schema.define(version: 20150519164355) do
15
15
 
16
16
  create_table "groups", force: :cascade do |t|
17
17
  t.string "user_id"
@@ -70,6 +70,5 @@ ActiveRecord::Schema.define(version: 20150518000920) do
70
70
 
71
71
  add_index "users", ["email"], name: "index_users_on_email", unique: true
72
72
  add_index "users", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
73
- add_index "users", ["stripe_id"], name: "index_users_on_stripe_id"
74
73
 
75
74
  end
Binary file
@@ -108391,3 +108391,492 @@ Processing by PaidUp::SubscriptionsController#index as HTML
108391
108391
  Rendered /home/work/.rvm/gems/ruby-2.2.1@paid_up/gems/bootstrap_leather-0.5.4/app/views/bootstrap_leather/_widgets.html.haml (0.1ms)
108392
108392
  Rendered /home/work/.rvm/gems/ruby-2.2.1@paid_up/gems/bootstrap_leather-0.5.4/app/views/bootstrap_leather/_footer_javascript.html.haml (0.0ms)
108393
108393
  Completed 200 OK in 3370ms (Views: 3006.0ms | ActiveRecord: 2.2ms)
108394
+  (95.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
108395
+  (0.2ms) select sqlite_version(*)
108396
+  (97.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
108397
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
108398
+ Migrating to CreateUsersTable (20150406154440)
108399
+  (0.2ms) begin transaction
108400
+  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)
108401
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150406154440"]]
108402
+  (99.2ms) commit transaction
108403
+ Migrating to CreateGroupsTable (20150517175135)
108404
+  (0.1ms) begin transaction
108405
+ DEPRECATION WARNING: `#timestamp` 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 /home/work/Gems/paid_up/spec/dummy/db/migrate/20150517175135_create_groups_table.rb:8)
108406
+  (0.5ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar, "name" varchar, "description" text, "created_at" datetime, "updated_at" datetime)
108407
+  (0.1ms) CREATE INDEX "index_groups_on_user_id" ON "groups" ("user_id")
108408
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150517175135"]]
108409
+  (128.2ms) commit transaction
108410
+ Migrating to AddDeviseToUsers (20150518000915)
108411
+  (0.1ms) begin transaction
108412
+  (0.5ms) ALTER TABLE "users" ADD "email" varchar DEFAULT '' NOT NULL
108413
+  (0.3ms) ALTER TABLE "users" ADD "encrypted_password" varchar DEFAULT '' NOT NULL
108414
+  (0.4ms) ALTER TABLE "users" ADD "reset_password_token" varchar
108415
+  (0.3ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
108416
+  (0.3ms) ALTER TABLE "users" ADD "remember_created_at" datetime
108417
+  (0.3ms) ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
108418
+  (0.3ms) ALTER TABLE "users" ADD "current_sign_in_at" datetime
108419
+  (0.3ms) ALTER TABLE "users" ADD "last_sign_in_at" datetime
108420
+  (0.3ms) ALTER TABLE "users" ADD "current_sign_in_ip" varchar
108421
+  (0.3ms) ALTER TABLE "users" ADD "last_sign_in_ip" varchar
108422
+  (0.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
108423
+  (0.2ms) SELECT sql
108424
+ FROM sqlite_master
108425
+ WHERE name='index_users_on_email' AND type='index'
108426
+ UNION ALL
108427
+ SELECT sql
108428
+ FROM sqlite_temp_master
108429
+ WHERE name='index_users_on_email' AND type='index'
108430
+
108431
+  (0.3ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
108432
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150518000915"]]
108433
+  (120.2ms) commit transaction
108434
+ Migrating to CreatePaidUpFeaturesPlansTable (20150518000917)
108435
+  (0.1ms) begin transaction
108436
+  (0.6ms) CREATE TABLE "paid_up_features_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "plan_id" integer, "setting" integer) 
108437
+  (0.3ms) CREATE INDEX "index_paid_up_features_plans_on_feature_id" ON "paid_up_features_plans" ("feature_id")
108438
+  (0.2ms)  SELECT sql
108439
+ FROM sqlite_master
108440
+ WHERE name='index_paid_up_features_plans_on_feature_id' AND type='index'
108441
+ UNION ALL
108442
+ SELECT sql
108443
+ FROM sqlite_temp_master
108444
+ WHERE name='index_paid_up_features_plans_on_feature_id' AND type='index'
108445
+ 
108446
+  (0.3ms) CREATE INDEX "index_paid_up_features_plans_on_plan_id" ON "paid_up_features_plans" ("plan_id")
108447
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150518000917"]]
108448
+  (109.2ms) commit transaction
108449
+ Migrating to CreatePaidUpFeaturesTable (20150518000918)
108450
+  (0.1ms) begin transaction
108451
+  (0.3ms) CREATE TABLE "paid_up_features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "title" varchar, "setting_type" varchar, "description" text)
108452
+  (0.3ms) CREATE UNIQUE INDEX "index_paid_up_features_on_name" ON "paid_up_features" ("name")
108453
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150518000918"]]
108454
+  (114.5ms) commit transaction
108455
+ Migrating to CreatePaidUpPlansTable (20150518000919)
108456
+  (0.1ms) begin transaction
108457
+ DEPRECATION WARNING: `#timestamp` 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 /home/work/Gems/paid_up/spec/dummy/db/migrate/20150518000919_create_paid_up_plans_table.paid_up.rb:10)
108458
+  (0.4ms) CREATE TABLE "paid_up_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar, "name" varchar, "description" text, "sort_order" integer, "created_at" datetime, "updated_at" datetime) 
108459
+  (0.3ms) CREATE UNIQUE INDEX "index_paid_up_plans_on_name" ON "paid_up_plans" ("name")
108460
+  (0.1ms)  SELECT sql
108461
+ FROM sqlite_master
108462
+ WHERE name='index_paid_up_plans_on_name' AND type='index'
108463
+ UNION ALL
108464
+ SELECT sql
108465
+ FROM sqlite_temp_master
108466
+ WHERE name='index_paid_up_plans_on_name' AND type='index'
108467
+ 
108468
+  (0.2ms) CREATE UNIQUE INDEX "index_paid_up_plans_on_stripe_id" ON "paid_up_plans" ("stripe_id")
108469
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150518000919"]]
108470
+  (119.0ms) commit transaction
108471
+ Migrating to AddStripeIdColumnToUsers (20150519164355)
108472
+  (0.1ms) begin transaction
108473
+  (0.4ms) ALTER TABLE "users" ADD "stripe_id" varchar
108474
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150519164355"]]
108475
+  (129.1ms) commit transaction
108476
+ Migrating to AddStripeIdColumnToUser (20150519164530)
108477
+  (0.1ms) begin transaction
108478
+  (0.3ms) ALTER TABLE "users" ADD "stripe_id" varchar
108479
+ SQLite3::SQLException: duplicate column name: stripe_id: ALTER TABLE "users" ADD "stripe_id" varchar
108480
+  (0.1ms) rollback transaction
108481
+  (124.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
108482
+  (0.2ms) select sqlite_version(*)
108483
+  (138.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
108484
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
108485
+ Migrating to CreateUsersTable (20150406154440)
108486
+  (0.1ms) begin transaction
108487
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)
108488
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150406154440"]]
108489
+  (120.0ms) commit transaction
108490
+ Migrating to CreateGroupsTable (20150517175135)
108491
+  (0.1ms) begin transaction
108492
+ DEPRECATION WARNING: `#timestamp` 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 /home/work/Gems/paid_up/spec/dummy/db/migrate/20150517175135_create_groups_table.rb:8)
108493
+  (0.5ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar, "name" varchar, "description" text, "created_at" datetime, "updated_at" datetime)
108494
+  (0.3ms) CREATE INDEX "index_groups_on_user_id" ON "groups" ("user_id")
108495
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150517175135"]]
108496
+  (126.9ms) commit transaction
108497
+ Migrating to AddDeviseToUsers (20150518000915)
108498
+  (0.1ms) begin transaction
108499
+  (0.3ms) ALTER TABLE "users" ADD "email" varchar DEFAULT '' NOT NULL
108500
+  (0.2ms) ALTER TABLE "users" ADD "encrypted_password" varchar DEFAULT '' NOT NULL
108501
+  (0.2ms) ALTER TABLE "users" ADD "reset_password_token" varchar
108502
+  (0.2ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
108503
+  (0.2ms) ALTER TABLE "users" ADD "remember_created_at" datetime
108504
+  (0.2ms) ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
108505
+  (0.2ms) ALTER TABLE "users" ADD "current_sign_in_at" datetime
108506
+  (0.2ms) ALTER TABLE "users" ADD "last_sign_in_at" datetime
108507
+  (0.2ms) ALTER TABLE "users" ADD "current_sign_in_ip" varchar
108508
+  (0.2ms) ALTER TABLE "users" ADD "last_sign_in_ip" varchar
108509
+  (0.2ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
108510
+  (0.1ms) SELECT sql
108511
+ FROM sqlite_master
108512
+ WHERE name='index_users_on_email' AND type='index'
108513
+ UNION ALL
108514
+ SELECT sql
108515
+ FROM sqlite_temp_master
108516
+ WHERE name='index_users_on_email' AND type='index'
108517
+
108518
+  (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
108519
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150518000915"]]
108520
+  (125.7ms) commit transaction
108521
+ Migrating to CreatePaidUpFeaturesPlansTable (20150518000917)
108522
+  (0.1ms) begin transaction
108523
+  (0.5ms) CREATE TABLE "paid_up_features_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "plan_id" integer, "setting" integer) 
108524
+  (0.4ms) CREATE INDEX "index_paid_up_features_plans_on_feature_id" ON "paid_up_features_plans" ("feature_id")
108525
+  (0.2ms)  SELECT sql
108526
+ FROM sqlite_master
108527
+ WHERE name='index_paid_up_features_plans_on_feature_id' AND type='index'
108528
+ UNION ALL
108529
+ SELECT sql
108530
+ FROM sqlite_temp_master
108531
+ WHERE name='index_paid_up_features_plans_on_feature_id' AND type='index'
108532
+ 
108533
+  (0.3ms) CREATE INDEX "index_paid_up_features_plans_on_plan_id" ON "paid_up_features_plans" ("plan_id")
108534
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150518000917"]]
108535
+  (126.1ms) commit transaction
108536
+ Migrating to CreatePaidUpFeaturesTable (20150518000918)
108537
+  (0.1ms) begin transaction
108538
+  (0.6ms) CREATE TABLE "paid_up_features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "title" varchar, "setting_type" varchar, "description" text)
108539
+  (0.4ms) CREATE UNIQUE INDEX "index_paid_up_features_on_name" ON "paid_up_features" ("name")
108540
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150518000918"]]
108541
+  (127.5ms) commit transaction
108542
+ Migrating to CreatePaidUpPlansTable (20150518000919)
108543
+  (0.1ms) begin transaction
108544
+ DEPRECATION WARNING: `#timestamp` 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 /home/work/Gems/paid_up/spec/dummy/db/migrate/20150518000919_create_paid_up_plans_table.paid_up.rb:10)
108545
+  (0.4ms) CREATE TABLE "paid_up_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar, "name" varchar, "description" text, "sort_order" integer, "created_at" datetime, "updated_at" datetime) 
108546
+  (0.3ms) CREATE UNIQUE INDEX "index_paid_up_plans_on_name" ON "paid_up_plans" ("name")
108547
+  (0.1ms)  SELECT sql
108548
+ FROM sqlite_master
108549
+ WHERE name='index_paid_up_plans_on_name' AND type='index'
108550
+ UNION ALL
108551
+ SELECT sql
108552
+ FROM sqlite_temp_master
108553
+ WHERE name='index_paid_up_plans_on_name' AND type='index'
108554
+ 
108555
+  (0.2ms) CREATE UNIQUE INDEX "index_paid_up_plans_on_stripe_id" ON "paid_up_plans" ("stripe_id")
108556
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150518000919"]]
108557
+  (102.0ms) commit transaction
108558
+ Migrating to AddStripeIdColumnToUsers (20150519164355)
108559
+  (0.1ms) begin transaction
108560
+  (0.4ms) ALTER TABLE "users" ADD "stripe_id" varchar
108561
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150519164355"]]
108562
+  (96.9ms) commit transaction
108563
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
108564
+  (0.1ms) SELECT sql
108565
+ FROM sqlite_master
108566
+ WHERE name='index_groups_on_user_id' AND type='index'
108567
+ UNION ALL
108568
+ SELECT sql
108569
+ FROM sqlite_temp_master
108570
+ WHERE name='index_groups_on_user_id' AND type='index'
108571
+
108572
+  (0.1ms)  SELECT sql
108573
+ FROM sqlite_master
108574
+ WHERE name='index_paid_up_features_on_name' AND type='index'
108575
+ UNION ALL
108576
+ SELECT sql
108577
+ FROM sqlite_temp_master
108578
+ WHERE name='index_paid_up_features_on_name' AND type='index'
108579
+ 
108580
+  (0.1ms) SELECT sql
108581
+ FROM sqlite_master
108582
+ WHERE name='index_paid_up_features_plans_on_plan_id' AND type='index'
108583
+ UNION ALL
108584
+ SELECT sql
108585
+ FROM sqlite_temp_master
108586
+ WHERE name='index_paid_up_features_plans_on_plan_id' AND type='index'
108587
+
108588
+  (0.1ms)  SELECT sql
108589
+ FROM sqlite_master
108590
+ WHERE name='index_paid_up_features_plans_on_feature_id' AND type='index'
108591
+ UNION ALL
108592
+ SELECT sql
108593
+ FROM sqlite_temp_master
108594
+ WHERE name='index_paid_up_features_plans_on_feature_id' AND type='index'
108595
+ 
108596
+  (0.1ms) SELECT sql
108597
+ FROM sqlite_master
108598
+ WHERE name='index_paid_up_plans_on_stripe_id' AND type='index'
108599
+ UNION ALL
108600
+ SELECT sql
108601
+ FROM sqlite_temp_master
108602
+ WHERE name='index_paid_up_plans_on_stripe_id' AND type='index'
108603
+
108604
+  (0.1ms)  SELECT sql
108605
+ FROM sqlite_master
108606
+ WHERE name='index_paid_up_plans_on_name' AND type='index'
108607
+ UNION ALL
108608
+ SELECT sql
108609
+ FROM sqlite_temp_master
108610
+ WHERE name='index_paid_up_plans_on_name' AND type='index'
108611
+ 
108612
+  (0.1ms) SELECT sql
108613
+ FROM sqlite_master
108614
+ WHERE name='index_users_on_reset_password_token' AND type='index'
108615
+ UNION ALL
108616
+ SELECT sql
108617
+ FROM sqlite_temp_master
108618
+ WHERE name='index_users_on_reset_password_token' AND type='index'
108619
+
108620
+  (0.1ms)  SELECT sql
108621
+ FROM sqlite_master
108622
+ WHERE name='index_users_on_email' AND type='index'
108623
+ UNION ALL
108624
+ SELECT sql
108625
+ FROM sqlite_temp_master
108626
+ WHERE name='index_users_on_email' AND type='index'
108627
+ 
108628
+  (111.0ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar, "name" varchar, "description" text, "created_at" datetime, "updated_at" datetime) 
108629
+  (0.1ms) select sqlite_version(*)
108630
+  (123.0ms) CREATE INDEX "index_groups_on_user_id" ON "groups" ("user_id")
108631
+  (123.0ms) CREATE TABLE "paid_up_features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "title" varchar, "setting_type" varchar, "description" text)
108632
+  (123.3ms) CREATE UNIQUE INDEX "index_paid_up_features_on_name" ON "paid_up_features" ("name")
108633
+  (123.3ms) CREATE TABLE "paid_up_features_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "plan_id" integer, "setting" integer)
108634
+  (131.7ms) CREATE INDEX "index_paid_up_features_plans_on_feature_id" ON "paid_up_features_plans" ("feature_id")
108635
+  (0.2ms) SELECT sql
108636
+ FROM sqlite_master
108637
+ WHERE name='index_paid_up_features_plans_on_feature_id' AND type='index'
108638
+ UNION ALL
108639
+ SELECT sql
108640
+ FROM sqlite_temp_master
108641
+ WHERE name='index_paid_up_features_plans_on_feature_id' AND type='index'
108642
+
108643
+  (130.7ms) CREATE INDEX "index_paid_up_features_plans_on_plan_id" ON "paid_up_features_plans" ("plan_id")
108644
+  (114.7ms) CREATE TABLE "paid_up_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar, "name" varchar, "description" text, "sort_order" integer, "created_at" datetime, "updated_at" datetime)
108645
+  (115.2ms) CREATE UNIQUE INDEX "index_paid_up_plans_on_name" ON "paid_up_plans" ("name")
108646
+  (0.2ms) SELECT sql
108647
+ FROM sqlite_master
108648
+ WHERE name='index_paid_up_plans_on_name' AND type='index'
108649
+ UNION ALL
108650
+ SELECT sql
108651
+ FROM sqlite_temp_master
108652
+ WHERE name='index_paid_up_plans_on_name' AND type='index'
108653
+
108654
+  (114.0ms) CREATE UNIQUE INDEX "index_paid_up_plans_on_stripe_id" ON "paid_up_plans" ("stripe_id")
108655
+  (112.5ms) 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)
108656
+  (98.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
108657
+  (0.1ms) SELECT sql
108658
+ FROM sqlite_master
108659
+ WHERE name='index_users_on_email' AND type='index'
108660
+ UNION ALL
108661
+ SELECT sql
108662
+ FROM sqlite_temp_master
108663
+ WHERE name='index_users_on_email' AND type='index'
108664
+
108665
+  (106.3ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
108666
+  (114.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
108667
+  (131.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
108668
+  (0.2ms) SELECT version FROM "schema_migrations"
108669
+  (98.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150519164355')
108670
+  (124.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150518000917')
108671
+  (123.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150518000919')
108672
+  (123.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150518000918')
108673
+  (115.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150517175135')
108674
+  (99.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150406154440')
108675
+  (99.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150518000915')
108676
+  (96.7ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar, "name" varchar, "description" text, "created_at" datetime, "updated_at" datetime)
108677
+  (0.1ms) select sqlite_version(*)
108678
+  (98.5ms) CREATE INDEX "index_groups_on_user_id" ON "groups" ("user_id")
108679
+  (98.6ms) CREATE TABLE "paid_up_features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "title" varchar, "setting_type" varchar, "description" text) 
108680
+  (106.6ms) CREATE UNIQUE INDEX "index_paid_up_features_on_name" ON "paid_up_features" ("name")
108681
+  (123.4ms) CREATE TABLE "paid_up_features_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "plan_id" integer, "setting" integer) 
108682
+  (124.9ms) CREATE INDEX "index_paid_up_features_plans_on_feature_id" ON "paid_up_features_plans" ("feature_id")
108683
+  (0.2ms)  SELECT sql
108684
+ FROM sqlite_master
108685
+ WHERE name='index_paid_up_features_plans_on_feature_id' AND type='index'
108686
+ UNION ALL
108687
+ SELECT sql
108688
+ FROM sqlite_temp_master
108689
+ WHERE name='index_paid_up_features_plans_on_feature_id' AND type='index'
108690
+ 
108691
+  (122.9ms) CREATE INDEX "index_paid_up_features_plans_on_plan_id" ON "paid_up_features_plans" ("plan_id")
108692
+  (123.0ms) CREATE TABLE "paid_up_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar, "name" varchar, "description" text, "sort_order" integer, "created_at" datetime, "updated_at" datetime) 
108693
+  (123.1ms) CREATE UNIQUE INDEX "index_paid_up_plans_on_name" ON "paid_up_plans" ("name")
108694
+  (0.2ms)  SELECT sql
108695
+ FROM sqlite_master
108696
+ WHERE name='index_paid_up_plans_on_name' AND type='index'
108697
+ UNION ALL
108698
+ SELECT sql
108699
+ FROM sqlite_temp_master
108700
+ WHERE name='index_paid_up_plans_on_name' AND type='index'
108701
+ 
108702
+  (105.8ms) CREATE UNIQUE INDEX "index_paid_up_plans_on_stripe_id" ON "paid_up_plans" ("stripe_id")
108703
+  (97.9ms) 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) 
108704
+  (98.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
108705
+  (0.1ms)  SELECT sql
108706
+ FROM sqlite_master
108707
+ WHERE name='index_users_on_email' AND type='index'
108708
+ UNION ALL
108709
+ SELECT sql
108710
+ FROM sqlite_temp_master
108711
+ WHERE name='index_users_on_email' AND type='index'
108712
+ 
108713
+  (98.4ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
108714
+  (98.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
108715
+  (123.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
108716
+  (0.1ms) SELECT version FROM "schema_migrations"
108717
+  (115.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150519164355')
108718
+  (123.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150518000917')
108719
+  (100.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150518000919')
108720
+  (90.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150518000918')
108721
+  (90.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150517175135')
108722
+  (82.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150406154440')
108723
+  (82.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150518000915')
108724
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
108725
+  (0.1ms) begin transaction
108726
+ SQL (0.2ms) INSERT INTO "paid_up_features" ("name", "title", "description", "setting_type") VALUES (?, ?, ?, ?) [["name", "ad_free"], ["title", "Ad Free"], ["description", "Are ads removed from the site with this plan?"], ["setting_type", "boolean"]]
108727
+  (112.9ms) commit transaction
108728
+  (0.2ms) begin transaction
108729
+ SQL (0.3ms) INSERT INTO "paid_up_features" ("name", "title", "description", "setting_type") VALUES (?, ?, ?, ?) [["name", "groups"], ["title", "Groups"], ["description", "How many groups are allowed with this plan?"], ["setting_type", "table_rows"]]
108730
+  (103.8ms) commit transaction
108731
+  (0.2ms) begin transaction
108732
+ SQL (0.3ms) INSERT INTO "paid_up_features" ("name", "title", "description", "setting_type") VALUES (?, ?, ?, ?) [["name", "calendar"], ["title", "Calendar"], ["description", "Is an event calendar included with this plan?"], ["setting_type", "boolean"]]
108733
+  (96.1ms) commit transaction
108734
+  (111.6ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar, "name" varchar, "description" text, "created_at" datetime, "updated_at" datetime) 
108735
+  (0.2ms) select sqlite_version(*)
108736
+  (72.8ms) CREATE INDEX "index_groups_on_user_id" ON "groups" ("user_id")
108737
+  (74.5ms) CREATE TABLE "paid_up_features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "title" varchar, "setting_type" varchar, "description" text)
108738
+  (73.2ms) CREATE UNIQUE INDEX "index_paid_up_features_on_name" ON "paid_up_features" ("name")
108739
+  (73.2ms) CREATE TABLE "paid_up_features_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "plan_id" integer, "setting" integer)
108740
+  (81.4ms) CREATE INDEX "index_paid_up_features_plans_on_feature_id" ON "paid_up_features_plans" ("feature_id")
108741
+  (0.1ms) SELECT sql
108742
+ FROM sqlite_master
108743
+ WHERE name='index_paid_up_features_plans_on_feature_id' AND type='index'
108744
+ UNION ALL
108745
+ SELECT sql
108746
+ FROM sqlite_temp_master
108747
+ WHERE name='index_paid_up_features_plans_on_feature_id' AND type='index'
108748
+
108749
+  (81.7ms) CREATE INDEX "index_paid_up_features_plans_on_plan_id" ON "paid_up_features_plans" ("plan_id")
108750
+  (73.8ms) CREATE TABLE "paid_up_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar, "name" varchar, "description" text, "sort_order" integer, "created_at" datetime, "updated_at" datetime)
108751
+  (73.7ms) CREATE UNIQUE INDEX "index_paid_up_plans_on_name" ON "paid_up_plans" ("name")
108752
+  (0.1ms) SELECT sql
108753
+ FROM sqlite_master
108754
+ WHERE name='index_paid_up_plans_on_name' AND type='index'
108755
+ UNION ALL
108756
+ SELECT sql
108757
+ FROM sqlite_temp_master
108758
+ WHERE name='index_paid_up_plans_on_name' AND type='index'
108759
+
108760
+  (73.6ms) CREATE UNIQUE INDEX "index_paid_up_plans_on_stripe_id" ON "paid_up_plans" ("stripe_id")
108761
+  (80.1ms) 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)
108762
+  (82.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
108763
+  (0.1ms) SELECT sql
108764
+ FROM sqlite_master
108765
+ WHERE name='index_users_on_email' AND type='index'
108766
+ UNION ALL
108767
+ SELECT sql
108768
+ FROM sqlite_temp_master
108769
+ WHERE name='index_users_on_email' AND type='index'
108770
+
108771
+  (81.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
108772
+  (80.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
108773
+  (82.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
108774
+  (0.1ms) SELECT version FROM "schema_migrations"
108775
+  (82.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150519164355')
108776
+  (101.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150518000917')
108777
+  (83.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150518000919')
108778
+  (82.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150518000918')
108779
+  (83.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150517175135')
108780
+  (82.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150406154440')
108781
+  (82.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150518000915')
108782
+  (72.8ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar, "name" varchar, "description" text, "created_at" datetime, "updated_at" datetime)
108783
+  (0.1ms) select sqlite_version(*)
108784
+  (73.3ms) CREATE INDEX "index_groups_on_user_id" ON "groups" ("user_id")
108785
+  (74.3ms) CREATE TABLE "paid_up_features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "title" varchar, "setting_type" varchar, "description" text) 
108786
+  (82.4ms) CREATE UNIQUE INDEX "index_paid_up_features_on_name" ON "paid_up_features" ("name")
108787
+  (82.2ms) CREATE TABLE "paid_up_features_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "plan_id" integer, "setting" integer) 
108788
+  (74.0ms) CREATE INDEX "index_paid_up_features_plans_on_feature_id" ON "paid_up_features_plans" ("feature_id")
108789
+  (0.1ms)  SELECT sql
108790
+ FROM sqlite_master
108791
+ WHERE name='index_paid_up_features_plans_on_feature_id' AND type='index'
108792
+ UNION ALL
108793
+ SELECT sql
108794
+ FROM sqlite_temp_master
108795
+ WHERE name='index_paid_up_features_plans_on_feature_id' AND type='index'
108796
+ 
108797
+  (133.9ms) CREATE INDEX "index_paid_up_features_plans_on_plan_id" ON "paid_up_features_plans" ("plan_id")
108798
+  (73.8ms) CREATE TABLE "paid_up_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar, "name" varchar, "description" text, "sort_order" integer, "created_at" datetime, "updated_at" datetime) 
108799
+  (82.2ms) CREATE UNIQUE INDEX "index_paid_up_plans_on_name" ON "paid_up_plans" ("name")
108800
+  (0.1ms)  SELECT sql
108801
+ FROM sqlite_master
108802
+ WHERE name='index_paid_up_plans_on_name' AND type='index'
108803
+ UNION ALL
108804
+ SELECT sql
108805
+ FROM sqlite_temp_master
108806
+ WHERE name='index_paid_up_plans_on_name' AND type='index'
108807
+ 
108808
+  (73.6ms) CREATE UNIQUE INDEX "index_paid_up_plans_on_stripe_id" ON "paid_up_plans" ("stripe_id")
108809
+  (81.7ms) 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) 
108810
+  (74.2ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
108811
+  (0.1ms)  SELECT sql
108812
+ FROM sqlite_master
108813
+ WHERE name='index_users_on_email' AND type='index'
108814
+ UNION ALL
108815
+ SELECT sql
108816
+ FROM sqlite_temp_master
108817
+ WHERE name='index_users_on_email' AND type='index'
108818
+ 
108819
+  (73.3ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
108820
+  (74.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
108821
+  (90.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
108822
+  (0.1ms) SELECT version FROM "schema_migrations"
108823
+  (90.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150519164355')
108824
+  (74.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150518000917')
108825
+  (82.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150518000919')
108826
+  (224.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150518000918')
108827
+  (74.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150517175135')
108828
+  (82.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150406154440')
108829
+  (82.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150518000915')
108830
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
108831
+  (0.0ms) begin transaction
108832
+ SQL (0.2ms) INSERT INTO "paid_up_features" ("name", "title", "description", "setting_type") VALUES (?, ?, ?, ?) [["name", "ad_free"], ["title", "Ad Free"], ["description", "Are ads removed from the site with this plan?"], ["setting_type", "boolean"]]
108833
+  (80.6ms) commit transaction
108834
+  (0.1ms) begin transaction
108835
+ SQL (0.2ms) INSERT INTO "paid_up_features" ("name", "title", "description", "setting_type") VALUES (?, ?, ?, ?) [["name", "groups"], ["title", "Groups"], ["description", "How many groups are allowed with this plan?"], ["setting_type", "table_rows"]]
108836
+  (80.8ms) commit transaction
108837
+  (0.1ms) begin transaction
108838
+ SQL (0.2ms) INSERT INTO "paid_up_features" ("name", "title", "description", "setting_type") VALUES (?, ?, ?, ?) [["name", "calendar"], ["title", "Calendar"], ["description", "Is an event calendar included with this plan?"], ["setting_type", "boolean"]]
108839
+  (89.6ms) commit transaction
108840
+  (0.2ms) begin transaction
108841
+ SQL (0.5ms) INSERT INTO "paid_up_plans" ("name", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Anonymous"], ["stripe_id", "anonymous-plan"], ["description", "What you can do without logging in."], ["sort_order", -1], ["created_at", "2015-05-19 16:47:27.191469"], ["updated_at", "2015-05-19 16:47:27.191469"]]
108842
+  (77.1ms) commit transaction
108843
+  (0.2ms) begin transaction
108844
+ SQL (0.4ms) INSERT INTO "paid_up_plans" ("name", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Free"], ["stripe_id", "free-plan"], ["description", "Can't beat the price!"], ["sort_order", 0], ["created_at", "2015-05-19 16:47:28.511284"], ["updated_at", "2015-05-19 16:47:28.511284"]]
108845
+  (109.1ms) commit transaction
108846
+  (0.2ms) begin transaction
108847
+ SQL (0.4ms) INSERT INTO "paid_up_plans" ("name", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "No Ads"], ["stripe_id", "no-ads-plan"], ["description", "No frills, just removes the ads."], ["sort_order", 1], ["created_at", "2015-05-19 16:47:30.388357"], ["updated_at", "2015-05-19 16:47:30.388357"]]
108848
+  (85.5ms) commit transaction
108849
+  (0.1ms) begin transaction
108850
+ SQL (0.4ms) INSERT INTO "paid_up_plans" ("name", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Group Leader"], ["stripe_id", "group-leader-plan"], ["description", "For leaders of single groups, with configuration."], ["sort_order", 2], ["created_at", "2015-05-19 16:47:31.637754"], ["updated_at", "2015-05-19 16:47:31.637754"]]
108851
+  (88.7ms) commit transaction
108852
+  (0.2ms) begin transaction
108853
+ SQL (0.4ms) INSERT INTO "paid_up_plans" ("name", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Professional"], ["stripe_id", "professional-plan"], ["description", "Designed for professionals with unlimited groups, a calendar and configuration."], ["sort_order", 3], ["created_at", "2015-05-19 16:47:33.027188"], ["updated_at", "2015-05-19 16:47:33.027188"]]
108854
+  (85.5ms) commit transaction
108855
+ PaidUp::Feature Load (0.2ms) SELECT "paid_up_features".* FROM "paid_up_features" WHERE "paid_up_features"."name" = ? LIMIT 1 [["name", "ad_free"]]
108856
+ PaidUp::Feature Load (0.1ms) SELECT "paid_up_features".* FROM "paid_up_features" WHERE "paid_up_features"."name" = ? LIMIT 1 [["name", "groups"]]
108857
+ PaidUp::Feature Load (0.0ms) SELECT "paid_up_features".* FROM "paid_up_features" WHERE "paid_up_features"."name" = ? LIMIT 1 [["name", "calendar"]]
108858
+ PaidUp::Plan Load (0.1ms) SELECT "paid_up_plans".* FROM "paid_up_plans" WHERE "paid_up_plans"."name" = ? ORDER BY sort_order ASC LIMIT 1 [["name", "Free"]]
108859
+ PaidUp::Plan Load (0.2ms) SELECT "paid_up_plans".* FROM "paid_up_plans" WHERE "paid_up_plans"."name" = ? ORDER BY sort_order ASC LIMIT 1 [["name", "No Ads"]]
108860
+ PaidUp::Plan Load (0.2ms) SELECT "paid_up_plans".* FROM "paid_up_plans" WHERE "paid_up_plans"."name" = ? ORDER BY sort_order ASC LIMIT 1 [["name", "Group Leader"]]
108861
+ PaidUp::Plan Load (0.2ms) SELECT "paid_up_plans".* FROM "paid_up_plans" WHERE "paid_up_plans"."name" = ? ORDER BY sort_order ASC LIMIT 1 [["name", "Professional"]]
108862
+  (0.0ms) begin transaction
108863
+ SQL (0.2ms) INSERT INTO "paid_up_features_plans" ("feature_id", "plan_id", "setting") VALUES (?, ?, ?) [["feature_id", 1], ["plan_id", 3], ["setting", 1]]
108864
+  (79.6ms) commit transaction
108865
+  (0.2ms) begin transaction
108866
+ SQL (0.4ms) INSERT INTO "paid_up_features_plans" ("feature_id", "plan_id", "setting") VALUES (?, ?, ?) [["feature_id", 1], ["plan_id", 4], ["setting", 1]]
108867
+  (87.8ms) commit transaction
108868
+  (0.2ms) begin transaction
108869
+ SQL (0.3ms) INSERT INTO "paid_up_features_plans" ("feature_id", "plan_id", "setting") VALUES (?, ?, ?) [["feature_id", 2], ["plan_id", 4], ["setting", 1]]
108870
+  (79.4ms) commit transaction
108871
+  (0.2ms) begin transaction
108872
+ SQL (0.3ms) INSERT INTO "paid_up_features_plans" ("feature_id", "plan_id", "setting") VALUES (?, ?, ?) [["feature_id", 3], ["plan_id", 5], ["setting", 1]]
108873
+  (87.9ms) commit transaction
108874
+  (0.1ms) begin transaction
108875
+ SQL (0.3ms) INSERT INTO "paid_up_features_plans" ("feature_id", "plan_id", "setting") VALUES (?, ?, ?) [["feature_id", 1], ["plan_id", 5], ["setting", 1]]
108876
+  (87.7ms) commit transaction
108877
+  (0.1ms) begin transaction
108878
+ SQL (0.3ms) INSERT INTO "paid_up_features_plans" ("feature_id", "plan_id", "setting") VALUES (?, ?, ?) [["feature_id", 2], ["plan_id", 5], ["setting", 999999999]]
108879
+  (104.3ms) commit transaction
108880
+  (0.2ms) begin transaction
108881
+ SQL (0.3ms) INSERT INTO "paid_up_features_plans" ("feature_id", "plan_id", "setting") VALUES (?, ?, ?) [["feature_id", 3], ["plan_id", 5], ["setting", 1]]
108882
+  (96.1ms) commit transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paid_up
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Lundgren
@@ -330,6 +330,7 @@ files:
330
330
  - db/migrate/20150407105900_create_paid_up_features_plans_table.rb
331
331
  - db/migrate/20150407110100_create_paid_up_features_table.rb
332
332
  - db/migrate/20150407110101_create_paid_up_plans_table.rb
333
+ - db/migrate/20150519164237_add_stripe_id_column_to_users.rb
333
334
  - lib/generators/paid_up/install/install_generator.rb
334
335
  - lib/generators/paid_up/install/templates/initializer.rb.erb
335
336
  - lib/generators/paid_up/utils.rb
@@ -390,7 +391,7 @@ files:
390
391
  - spec/dummy/db/migrate/20150518000917_create_paid_up_features_plans_table.paid_up.rb
391
392
  - spec/dummy/db/migrate/20150518000918_create_paid_up_features_table.paid_up.rb
392
393
  - spec/dummy/db/migrate/20150518000919_create_paid_up_plans_table.paid_up.rb
393
- - spec/dummy/db/migrate/20150518000920_add_stripe_id_column_to_user.rb
394
+ - spec/dummy/db/migrate/20150519164355_add_stripe_id_column_to_users.paid_up.rb
394
395
  - spec/dummy/db/schema.rb
395
396
  - spec/dummy/db/seeds.rb
396
397
  - spec/dummy/db/seeds/features.seeds.rb
@@ -1,6 +0,0 @@
1
- class AddStripeIdColumnToUser < ActiveRecord::Migration
2
- def change
3
- add_column :users, :stripe_id, :string
4
- add_index :users, :stripe_id
5
- end
6
- end