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 +4 -4
- data/VERSION +1 -1
- data/db/migrate/20150519164237_add_stripe_id_column_to_users.rb +5 -0
- data/paid_up.gemspec +4 -3
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20150519164355_add_stripe_id_column_to_users.paid_up.rb +6 -0
- data/spec/dummy/db/schema.rb +1 -2
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +489 -0
- metadata +3 -2
- data/spec/dummy/db/migrate/20150518000920_add_stripe_id_column_to_user.rb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc19cec82753e644eb57d65bb8361a614b3962f7
|
4
|
+
data.tar.gz: c7b6304fcee0bae964686f8aea7f10ad7afa6afc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0adccf96034045186611960e713e5fea01fb7577556cdc4b20394502f4ba661605fd410e93352b136d78d29c209fa94228fa939c52f05ede0b8514d9930063aa
|
7
|
+
data.tar.gz: bd3a51f60205cdac40e0798f6ee885917c8bc7e9bbde96ed937c0914c5e036149b41723fadc4e5bb8ac0eb5276e0ba7354157132d4181b02e8d8c214f9e8d0eb
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
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.
|
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.
|
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/
|
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
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -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:
|
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
|
data/spec/dummy/db/test.sqlite3
CHANGED
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
|
+
[1m[36m (95.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
108395
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
108396
|
+
[1m[36m (97.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
108397
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
108398
|
+
Migrating to CreateUsersTable (20150406154440)
|
108399
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
108400
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)
|
108401
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150406154440"]]
|
108402
|
+
[1m[35m (99.2ms)[0m commit transaction
|
108403
|
+
Migrating to CreateGroupsTable (20150517175135)
|
108404
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar, "name" varchar, "description" text, "created_at" datetime, "updated_at" datetime)
|
108407
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_groups_on_user_id" ON "groups" ("user_id")[0m
|
108408
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150517175135"]]
|
108409
|
+
[1m[36m (128.2ms)[0m [1mcommit transaction[0m
|
108410
|
+
Migrating to AddDeviseToUsers (20150518000915)
|
108411
|
+
[1m[35m (0.1ms)[0m begin transaction
|
108412
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "users" ADD "email" varchar DEFAULT '' NOT NULL[0m
|
108413
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "users" ADD "encrypted_password" varchar DEFAULT '' NOT NULL
|
108414
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "users" ADD "reset_password_token" varchar[0m
|
108415
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "users" ADD "reset_password_sent_at" datetime
|
108416
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "users" ADD "remember_created_at" datetime[0m
|
108417
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
|
108418
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_at" datetime[0m
|
108419
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "users" ADD "last_sign_in_at" datetime
|
108420
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_ip" varchar[0m
|
108421
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "users" ADD "last_sign_in_ip" varchar
|
108422
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
108423
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
108432
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150518000915"]]
|
108433
|
+
[1m[36m (120.2ms)[0m [1mcommit transaction[0m
|
108434
|
+
Migrating to CreatePaidUpFeaturesPlansTable (20150518000917)
|
108435
|
+
[1m[35m (0.1ms)[0m begin transaction
|
108436
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "paid_up_features_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "plan_id" integer, "setting" integer) [0m
|
108437
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "index_paid_up_features_plans_on_feature_id" ON "paid_up_features_plans" ("feature_id")
|
108438
|
+
[1m[36m (0.2ms)[0m [1m 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
|
+
[0m
|
108446
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "index_paid_up_features_plans_on_plan_id" ON "paid_up_features_plans" ("plan_id")
|
108447
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150518000917"]]
|
108448
|
+
[1m[35m (109.2ms)[0m commit transaction
|
108449
|
+
Migrating to CreatePaidUpFeaturesTable (20150518000918)
|
108450
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
108451
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "paid_up_features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "title" varchar, "setting_type" varchar, "description" text)
|
108452
|
+
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_paid_up_features_on_name" ON "paid_up_features" ("name")[0m
|
108453
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150518000918"]]
|
108454
|
+
[1m[36m (114.5ms)[0m [1mcommit transaction[0m
|
108455
|
+
Migrating to CreatePaidUpPlansTable (20150518000919)
|
108456
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
108459
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "index_paid_up_plans_on_name" ON "paid_up_plans" ("name")
|
108460
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
108468
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "index_paid_up_plans_on_stripe_id" ON "paid_up_plans" ("stripe_id")
|
108469
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150518000919"]]
|
108470
|
+
[1m[35m (119.0ms)[0m commit transaction
|
108471
|
+
Migrating to AddStripeIdColumnToUsers (20150519164355)
|
108472
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
108473
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "users" ADD "stripe_id" varchar
|
108474
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150519164355"]]
|
108475
|
+
[1m[35m (129.1ms)[0m commit transaction
|
108476
|
+
Migrating to AddStripeIdColumnToUser (20150519164530)
|
108477
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
108478
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "users" ADD "stripe_id" varchar
|
108479
|
+
SQLite3::SQLException: duplicate column name: stripe_id: ALTER TABLE "users" ADD "stripe_id" varchar
|
108480
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
108481
|
+
[1m[36m (124.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
108482
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
108483
|
+
[1m[36m (138.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
108484
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
108485
|
+
Migrating to CreateUsersTable (20150406154440)
|
108486
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
108487
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)
|
108488
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150406154440"]]
|
108489
|
+
[1m[35m (120.0ms)[0m commit transaction
|
108490
|
+
Migrating to CreateGroupsTable (20150517175135)
|
108491
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar, "name" varchar, "description" text, "created_at" datetime, "updated_at" datetime)
|
108494
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_groups_on_user_id" ON "groups" ("user_id")[0m
|
108495
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150517175135"]]
|
108496
|
+
[1m[36m (126.9ms)[0m [1mcommit transaction[0m
|
108497
|
+
Migrating to AddDeviseToUsers (20150518000915)
|
108498
|
+
[1m[35m (0.1ms)[0m begin transaction
|
108499
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "users" ADD "email" varchar DEFAULT '' NOT NULL[0m
|
108500
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "encrypted_password" varchar DEFAULT '' NOT NULL
|
108501
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "reset_password_token" varchar[0m
|
108502
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "reset_password_sent_at" datetime
|
108503
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "remember_created_at" datetime[0m
|
108504
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
|
108505
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_at" datetime[0m
|
108506
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "last_sign_in_at" datetime
|
108507
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_ip" varchar[0m
|
108508
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "last_sign_in_ip" varchar
|
108509
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
108510
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
108519
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150518000915"]]
|
108520
|
+
[1m[36m (125.7ms)[0m [1mcommit transaction[0m
|
108521
|
+
Migrating to CreatePaidUpFeaturesPlansTable (20150518000917)
|
108522
|
+
[1m[35m (0.1ms)[0m begin transaction
|
108523
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "paid_up_features_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "plan_id" integer, "setting" integer) [0m
|
108524
|
+
[1m[35m (0.4ms)[0m CREATE INDEX "index_paid_up_features_plans_on_feature_id" ON "paid_up_features_plans" ("feature_id")
|
108525
|
+
[1m[36m (0.2ms)[0m [1m 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
|
+
[0m
|
108533
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "index_paid_up_features_plans_on_plan_id" ON "paid_up_features_plans" ("plan_id")
|
108534
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150518000917"]]
|
108535
|
+
[1m[35m (126.1ms)[0m commit transaction
|
108536
|
+
Migrating to CreatePaidUpFeaturesTable (20150518000918)
|
108537
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
108538
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "paid_up_features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "title" varchar, "setting_type" varchar, "description" text)
|
108539
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_paid_up_features_on_name" ON "paid_up_features" ("name")[0m
|
108540
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150518000918"]]
|
108541
|
+
[1m[36m (127.5ms)[0m [1mcommit transaction[0m
|
108542
|
+
Migrating to CreatePaidUpPlansTable (20150518000919)
|
108543
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
108546
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "index_paid_up_plans_on_name" ON "paid_up_plans" ("name")
|
108547
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
108555
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "index_paid_up_plans_on_stripe_id" ON "paid_up_plans" ("stripe_id")
|
108556
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150518000919"]]
|
108557
|
+
[1m[35m (102.0ms)[0m commit transaction
|
108558
|
+
Migrating to AddStripeIdColumnToUsers (20150519164355)
|
108559
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
108560
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "users" ADD "stripe_id" varchar
|
108561
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150519164355"]]
|
108562
|
+
[1m[35m (96.9ms)[0m commit transaction
|
108563
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
108564
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
108580
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
108596
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
108612
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
108628
|
+
[1m[36m (111.0ms)[0m [1mCREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar, "name" varchar, "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
108629
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
108630
|
+
[1m[36m (123.0ms)[0m [1mCREATE INDEX "index_groups_on_user_id" ON "groups" ("user_id")[0m
|
108631
|
+
[1m[35m (123.0ms)[0m CREATE TABLE "paid_up_features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "title" varchar, "setting_type" varchar, "description" text)
|
108632
|
+
[1m[36m (123.3ms)[0m [1mCREATE UNIQUE INDEX "index_paid_up_features_on_name" ON "paid_up_features" ("name")[0m
|
108633
|
+
[1m[35m (123.3ms)[0m CREATE TABLE "paid_up_features_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "plan_id" integer, "setting" integer)
|
108634
|
+
[1m[36m (131.7ms)[0m [1mCREATE INDEX "index_paid_up_features_plans_on_feature_id" ON "paid_up_features_plans" ("feature_id")[0m
|
108635
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (130.7ms)[0m [1mCREATE INDEX "index_paid_up_features_plans_on_plan_id" ON "paid_up_features_plans" ("plan_id")[0m
|
108644
|
+
[1m[35m (114.7ms)[0m 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
|
+
[1m[36m (115.2ms)[0m [1mCREATE UNIQUE INDEX "index_paid_up_plans_on_name" ON "paid_up_plans" ("name")[0m
|
108646
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (114.0ms)[0m [1mCREATE UNIQUE INDEX "index_paid_up_plans_on_stripe_id" ON "paid_up_plans" ("stripe_id")[0m
|
108655
|
+
[1m[35m (112.5ms)[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)
|
108656
|
+
[1m[36m (98.4ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
108657
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (106.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
108666
|
+
[1m[35m (114.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
108667
|
+
[1m[36m (131.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
108668
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
108669
|
+
[1m[36m (98.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150519164355')[0m
|
108670
|
+
[1m[35m (124.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150518000917')
|
108671
|
+
[1m[36m (123.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150518000919')[0m
|
108672
|
+
[1m[35m (123.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150518000918')
|
108673
|
+
[1m[36m (115.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150517175135')[0m
|
108674
|
+
[1m[35m (99.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150406154440')
|
108675
|
+
[1m[36m (99.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150518000915')[0m
|
108676
|
+
[1m[35m (96.7ms)[0m CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar, "name" varchar, "description" text, "created_at" datetime, "updated_at" datetime)
|
108677
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
108678
|
+
[1m[35m (98.5ms)[0m CREATE INDEX "index_groups_on_user_id" ON "groups" ("user_id")
|
108679
|
+
[1m[36m (98.6ms)[0m [1mCREATE TABLE "paid_up_features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "title" varchar, "setting_type" varchar, "description" text) [0m
|
108680
|
+
[1m[35m (106.6ms)[0m CREATE UNIQUE INDEX "index_paid_up_features_on_name" ON "paid_up_features" ("name")
|
108681
|
+
[1m[36m (123.4ms)[0m [1mCREATE TABLE "paid_up_features_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "plan_id" integer, "setting" integer) [0m
|
108682
|
+
[1m[35m (124.9ms)[0m CREATE INDEX "index_paid_up_features_plans_on_feature_id" ON "paid_up_features_plans" ("feature_id")
|
108683
|
+
[1m[36m (0.2ms)[0m [1m 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
|
+
[0m
|
108691
|
+
[1m[35m (122.9ms)[0m CREATE INDEX "index_paid_up_features_plans_on_plan_id" ON "paid_up_features_plans" ("plan_id")
|
108692
|
+
[1m[36m (123.0ms)[0m [1mCREATE 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) [0m
|
108693
|
+
[1m[35m (123.1ms)[0m CREATE UNIQUE INDEX "index_paid_up_plans_on_name" ON "paid_up_plans" ("name")
|
108694
|
+
[1m[36m (0.2ms)[0m [1m 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
|
+
[0m
|
108702
|
+
[1m[35m (105.8ms)[0m CREATE UNIQUE INDEX "index_paid_up_plans_on_stripe_id" ON "paid_up_plans" ("stripe_id")
|
108703
|
+
[1m[36m (97.9ms)[0m [1mCREATE 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) [0m
|
108704
|
+
[1m[35m (98.6ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
108705
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
108713
|
+
[1m[35m (98.4ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
108714
|
+
[1m[36m (98.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
108715
|
+
[1m[35m (123.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
108716
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
108717
|
+
[1m[35m (115.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150519164355')
|
108718
|
+
[1m[36m (123.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150518000917')[0m
|
108719
|
+
[1m[35m (100.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150518000919')
|
108720
|
+
[1m[36m (90.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150518000918')[0m
|
108721
|
+
[1m[35m (90.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150517175135')
|
108722
|
+
[1m[36m (82.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150406154440')[0m
|
108723
|
+
[1m[35m (82.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150518000915')
|
108724
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
108725
|
+
[1m[35m (0.1ms)[0m begin transaction
|
108726
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "paid_up_features" ("name", "title", "description", "setting_type") VALUES (?, ?, ?, ?)[0m [["name", "ad_free"], ["title", "Ad Free"], ["description", "Are ads removed from the site with this plan?"], ["setting_type", "boolean"]]
|
108727
|
+
[1m[35m (112.9ms)[0m commit transaction
|
108728
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
108729
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (103.8ms)[0m [1mcommit transaction[0m
|
108731
|
+
[1m[35m (0.2ms)[0m begin transaction
|
108732
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "paid_up_features" ("name", "title", "description", "setting_type") VALUES (?, ?, ?, ?)[0m [["name", "calendar"], ["title", "Calendar"], ["description", "Is an event calendar included with this plan?"], ["setting_type", "boolean"]]
|
108733
|
+
[1m[35m (96.1ms)[0m commit transaction
|
108734
|
+
[1m[36m (111.6ms)[0m [1mCREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar, "name" varchar, "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
108735
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
108736
|
+
[1m[36m (72.8ms)[0m [1mCREATE INDEX "index_groups_on_user_id" ON "groups" ("user_id")[0m
|
108737
|
+
[1m[35m (74.5ms)[0m CREATE TABLE "paid_up_features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "title" varchar, "setting_type" varchar, "description" text)
|
108738
|
+
[1m[36m (73.2ms)[0m [1mCREATE UNIQUE INDEX "index_paid_up_features_on_name" ON "paid_up_features" ("name")[0m
|
108739
|
+
[1m[35m (73.2ms)[0m CREATE TABLE "paid_up_features_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "plan_id" integer, "setting" integer)
|
108740
|
+
[1m[36m (81.4ms)[0m [1mCREATE INDEX "index_paid_up_features_plans_on_feature_id" ON "paid_up_features_plans" ("feature_id")[0m
|
108741
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (81.7ms)[0m [1mCREATE INDEX "index_paid_up_features_plans_on_plan_id" ON "paid_up_features_plans" ("plan_id")[0m
|
108750
|
+
[1m[35m (73.8ms)[0m 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
|
+
[1m[36m (73.7ms)[0m [1mCREATE UNIQUE INDEX "index_paid_up_plans_on_name" ON "paid_up_plans" ("name")[0m
|
108752
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (73.6ms)[0m [1mCREATE UNIQUE INDEX "index_paid_up_plans_on_stripe_id" ON "paid_up_plans" ("stripe_id")[0m
|
108761
|
+
[1m[35m (80.1ms)[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)
|
108762
|
+
[1m[36m (82.6ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
108763
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (81.7ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
108772
|
+
[1m[35m (80.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
108773
|
+
[1m[36m (82.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
108774
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
108775
|
+
[1m[36m (82.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150519164355')[0m
|
108776
|
+
[1m[35m (101.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150518000917')
|
108777
|
+
[1m[36m (83.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150518000919')[0m
|
108778
|
+
[1m[35m (82.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150518000918')
|
108779
|
+
[1m[36m (83.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150517175135')[0m
|
108780
|
+
[1m[35m (82.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150406154440')
|
108781
|
+
[1m[36m (82.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150518000915')[0m
|
108782
|
+
[1m[35m (72.8ms)[0m CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar, "name" varchar, "description" text, "created_at" datetime, "updated_at" datetime)
|
108783
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
108784
|
+
[1m[35m (73.3ms)[0m CREATE INDEX "index_groups_on_user_id" ON "groups" ("user_id")
|
108785
|
+
[1m[36m (74.3ms)[0m [1mCREATE TABLE "paid_up_features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "title" varchar, "setting_type" varchar, "description" text) [0m
|
108786
|
+
[1m[35m (82.4ms)[0m CREATE UNIQUE INDEX "index_paid_up_features_on_name" ON "paid_up_features" ("name")
|
108787
|
+
[1m[36m (82.2ms)[0m [1mCREATE TABLE "paid_up_features_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "plan_id" integer, "setting" integer) [0m
|
108788
|
+
[1m[35m (74.0ms)[0m CREATE INDEX "index_paid_up_features_plans_on_feature_id" ON "paid_up_features_plans" ("feature_id")
|
108789
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
108797
|
+
[1m[35m (133.9ms)[0m CREATE INDEX "index_paid_up_features_plans_on_plan_id" ON "paid_up_features_plans" ("plan_id")
|
108798
|
+
[1m[36m (73.8ms)[0m [1mCREATE 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) [0m
|
108799
|
+
[1m[35m (82.2ms)[0m CREATE UNIQUE INDEX "index_paid_up_plans_on_name" ON "paid_up_plans" ("name")
|
108800
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
108808
|
+
[1m[35m (73.6ms)[0m CREATE UNIQUE INDEX "index_paid_up_plans_on_stripe_id" ON "paid_up_plans" ("stripe_id")
|
108809
|
+
[1m[36m (81.7ms)[0m [1mCREATE 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) [0m
|
108810
|
+
[1m[35m (74.2ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
108811
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
108819
|
+
[1m[35m (73.3ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
108820
|
+
[1m[36m (74.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
108821
|
+
[1m[35m (90.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
108822
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
108823
|
+
[1m[35m (90.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150519164355')
|
108824
|
+
[1m[36m (74.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150518000917')[0m
|
108825
|
+
[1m[35m (82.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150518000919')
|
108826
|
+
[1m[36m (224.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150518000918')[0m
|
108827
|
+
[1m[35m (74.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150517175135')
|
108828
|
+
[1m[36m (82.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150406154440')[0m
|
108829
|
+
[1m[35m (82.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150518000915')
|
108830
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
108831
|
+
[1m[35m (0.0ms)[0m begin transaction
|
108832
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "paid_up_features" ("name", "title", "description", "setting_type") VALUES (?, ?, ?, ?)[0m [["name", "ad_free"], ["title", "Ad Free"], ["description", "Are ads removed from the site with this plan?"], ["setting_type", "boolean"]]
|
108833
|
+
[1m[35m (80.6ms)[0m commit transaction
|
108834
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
108835
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (80.8ms)[0m [1mcommit transaction[0m
|
108837
|
+
[1m[35m (0.1ms)[0m begin transaction
|
108838
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "paid_up_features" ("name", "title", "description", "setting_type") VALUES (?, ?, ?, ?)[0m [["name", "calendar"], ["title", "Calendar"], ["description", "Is an event calendar included with this plan?"], ["setting_type", "boolean"]]
|
108839
|
+
[1m[35m (89.6ms)[0m commit transaction
|
108840
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
108841
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (77.1ms)[0m [1mcommit transaction[0m
|
108843
|
+
[1m[35m (0.2ms)[0m begin transaction
|
108844
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "paid_up_plans" ("name", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (109.1ms)[0m commit transaction
|
108846
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
108847
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (85.5ms)[0m [1mcommit transaction[0m
|
108849
|
+
[1m[35m (0.1ms)[0m begin transaction
|
108850
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "paid_up_plans" ("name", "stripe_id", "description", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (88.7ms)[0m commit transaction
|
108852
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
108853
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (85.5ms)[0m [1mcommit transaction[0m
|
108855
|
+
[1m[35mPaidUp::Feature Load (0.2ms)[0m SELECT "paid_up_features".* FROM "paid_up_features" WHERE "paid_up_features"."name" = ? LIMIT 1 [["name", "ad_free"]]
|
108856
|
+
[1m[36mPaidUp::Feature Load (0.1ms)[0m [1mSELECT "paid_up_features".* FROM "paid_up_features" WHERE "paid_up_features"."name" = ? LIMIT 1[0m [["name", "groups"]]
|
108857
|
+
[1m[35mPaidUp::Feature Load (0.0ms)[0m SELECT "paid_up_features".* FROM "paid_up_features" WHERE "paid_up_features"."name" = ? LIMIT 1 [["name", "calendar"]]
|
108858
|
+
[1m[36mPaidUp::Plan Load (0.1ms)[0m [1mSELECT "paid_up_plans".* FROM "paid_up_plans" WHERE "paid_up_plans"."name" = ? ORDER BY sort_order ASC LIMIT 1[0m [["name", "Free"]]
|
108859
|
+
[1m[35mPaidUp::Plan Load (0.2ms)[0m SELECT "paid_up_plans".* FROM "paid_up_plans" WHERE "paid_up_plans"."name" = ? ORDER BY sort_order ASC LIMIT 1 [["name", "No Ads"]]
|
108860
|
+
[1m[36mPaidUp::Plan Load (0.2ms)[0m [1mSELECT "paid_up_plans".* FROM "paid_up_plans" WHERE "paid_up_plans"."name" = ? ORDER BY sort_order ASC LIMIT 1[0m [["name", "Group Leader"]]
|
108861
|
+
[1m[35mPaidUp::Plan Load (0.2ms)[0m SELECT "paid_up_plans".* FROM "paid_up_plans" WHERE "paid_up_plans"."name" = ? ORDER BY sort_order ASC LIMIT 1 [["name", "Professional"]]
|
108862
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
108863
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "paid_up_features_plans" ("feature_id", "plan_id", "setting") VALUES (?, ?, ?) [["feature_id", 1], ["plan_id", 3], ["setting", 1]]
|
108864
|
+
[1m[36m (79.6ms)[0m [1mcommit transaction[0m
|
108865
|
+
[1m[35m (0.2ms)[0m begin transaction
|
108866
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "paid_up_features_plans" ("feature_id", "plan_id", "setting") VALUES (?, ?, ?)[0m [["feature_id", 1], ["plan_id", 4], ["setting", 1]]
|
108867
|
+
[1m[35m (87.8ms)[0m commit transaction
|
108868
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
108869
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "paid_up_features_plans" ("feature_id", "plan_id", "setting") VALUES (?, ?, ?) [["feature_id", 2], ["plan_id", 4], ["setting", 1]]
|
108870
|
+
[1m[36m (79.4ms)[0m [1mcommit transaction[0m
|
108871
|
+
[1m[35m (0.2ms)[0m begin transaction
|
108872
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "paid_up_features_plans" ("feature_id", "plan_id", "setting") VALUES (?, ?, ?)[0m [["feature_id", 3], ["plan_id", 5], ["setting", 1]]
|
108873
|
+
[1m[35m (87.9ms)[0m commit transaction
|
108874
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
108875
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "paid_up_features_plans" ("feature_id", "plan_id", "setting") VALUES (?, ?, ?) [["feature_id", 1], ["plan_id", 5], ["setting", 1]]
|
108876
|
+
[1m[36m (87.7ms)[0m [1mcommit transaction[0m
|
108877
|
+
[1m[35m (0.1ms)[0m begin transaction
|
108878
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "paid_up_features_plans" ("feature_id", "plan_id", "setting") VALUES (?, ?, ?)[0m [["feature_id", 2], ["plan_id", 5], ["setting", 999999999]]
|
108879
|
+
[1m[35m (104.3ms)[0m commit transaction
|
108880
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
108881
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "paid_up_features_plans" ("feature_id", "plan_id", "setting") VALUES (?, ?, ?) [["feature_id", 3], ["plan_id", 5], ["setting", 1]]
|
108882
|
+
[1m[36m (96.1ms)[0m [1mcommit transaction[0m
|
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
|
+
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/
|
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
|