koudoku 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. data/README.md +19 -3
  2. data/Rakefile +6 -13
  3. data/app/concerns/koudoku/plan.rb +2 -6
  4. data/app/concerns/koudoku/subscription.rb +73 -76
  5. data/app/controllers/koudoku/webhooks_controller.rb +2 -3
  6. data/app/helpers/koudoku/application_helper.rb +22 -0
  7. data/app/views/koudoku/subscriptions/_pricing_table.html.erb +1 -1
  8. data/{test/dummy/public/favicon.ico → config/environment.rb} +0 -0
  9. data/lib/generators/koudoku/install_generator.rb +1 -1
  10. data/lib/koudoku.rb +2 -2
  11. data/lib/koudoku/engine.rb +6 -0
  12. data/lib/koudoku/version.rb +1 -1
  13. data/spec/concerns/koudoku/plan_spec.rb +39 -0
  14. data/spec/concerns/koudoku/subscription_spec.rb +0 -0
  15. data/spec/controllers/koudoku/subscriptions_controller.rb +21 -0
  16. data/spec/controllers/koudoku/webhooks_controller_spec.rb +76 -0
  17. data/{test → spec}/dummy/README.rdoc +0 -0
  18. data/{test → spec}/dummy/Rakefile +0 -0
  19. data/{test → spec}/dummy/app/assets/javascripts/application.js +0 -0
  20. data/{test → spec}/dummy/app/assets/stylesheets/application.css +0 -0
  21. data/{test → spec}/dummy/app/controllers/application_controller.rb +0 -0
  22. data/{test → spec}/dummy/app/helpers/application_helper.rb +0 -0
  23. data/spec/dummy/app/models/coupon.rb +3 -0
  24. data/spec/dummy/app/models/customer.rb +7 -0
  25. data/spec/dummy/app/models/plan.rb +10 -0
  26. data/spec/dummy/app/models/subscription.rb +8 -0
  27. data/spec/dummy/app/views/koudoku/subscriptions/_social_proof.html.erb +11 -0
  28. data/{test → spec}/dummy/app/views/layouts/application.html.erb +0 -0
  29. data/{test → spec}/dummy/config.ru +0 -0
  30. data/{test → spec}/dummy/config/application.rb +2 -0
  31. data/{test → spec}/dummy/config/boot.rb +0 -0
  32. data/{test → spec}/dummy/config/database.yml +0 -0
  33. data/{test → spec}/dummy/config/environment.rb +0 -0
  34. data/{test → spec}/dummy/config/environments/development.rb +0 -0
  35. data/{test → spec}/dummy/config/environments/production.rb +0 -0
  36. data/{test → spec}/dummy/config/environments/test.rb +0 -0
  37. data/{test → spec}/dummy/config/initializers/backtrace_silencers.rb +0 -0
  38. data/spec/dummy/config/initializers/devise.rb +0 -0
  39. data/{test → spec}/dummy/config/initializers/inflections.rb +0 -0
  40. data/spec/dummy/config/initializers/koudoku.rb +7 -0
  41. data/{test → spec}/dummy/config/initializers/mime_types.rb +0 -0
  42. data/{test → spec}/dummy/config/initializers/secret_token.rb +0 -0
  43. data/{test → spec}/dummy/config/initializers/session_store.rb +0 -0
  44. data/{test → spec}/dummy/config/initializers/wrap_parameters.rb +0 -0
  45. data/spec/dummy/config/locales/devise.en.yml +59 -0
  46. data/{test → spec}/dummy/config/locales/en.yml +0 -0
  47. data/spec/dummy/config/routes.rb +4 -0
  48. data/spec/dummy/db/development.sqlite3 +0 -0
  49. data/spec/dummy/db/migrate/20130318201927_create_customers.rb +8 -0
  50. data/spec/dummy/db/migrate/20130318204455_create_subscriptions.rb +16 -0
  51. data/spec/dummy/db/migrate/20130318204458_create_plans.rb +14 -0
  52. data/spec/dummy/db/migrate/20130318204502_create_coupons.rb +10 -0
  53. data/spec/dummy/db/migrate/20130520163946_add_interval_to_plan.rb +5 -0
  54. data/spec/dummy/db/schema.rb +53 -0
  55. data/spec/dummy/db/test.sqlite3 +0 -0
  56. data/spec/dummy/log/development.log +931 -0
  57. data/spec/dummy/log/test.log +2728 -0
  58. data/{test → spec}/dummy/public/404.html +0 -0
  59. data/{test → spec}/dummy/public/422.html +0 -0
  60. data/{test → spec}/dummy/public/500.html +0 -0
  61. data/spec/dummy/public/favicon.ico +0 -0
  62. data/{test → spec}/dummy/script/rails +0 -0
  63. data/spec/dummy/spec/factories/coupons.rb +8 -0
  64. data/spec/dummy/spec/factories/plans.rb +12 -0
  65. data/spec/dummy/spec/factories/subscriptions.rb +14 -0
  66. data/spec/dummy/spec/models/coupon_spec.rb +5 -0
  67. data/spec/dummy/spec/models/plan_spec.rb +5 -0
  68. data/spec/dummy/spec/models/subscription_spec.rb +5 -0
  69. data/spec/dummy/test/fixtures/customers.yml +7 -0
  70. data/{test/integration/navigation_test.rb → spec/dummy/test/unit/customer_test.rb} +1 -4
  71. data/spec/helpers/koudoku/application_helper_spec.rb +29 -0
  72. data/spec/spec_helper.rb +31 -0
  73. metadata +218 -67
  74. data/test/dummy/config/routes.rb +0 -4
  75. data/test/koudoku_test.rb +0 -7
  76. data/test/test_helper.rb +0 -15
@@ -0,0 +1,76 @@
1
+ require 'spec_helper'
2
+
3
+ describe Koudoku::WebhooksController do
4
+
5
+ before do
6
+
7
+ # disable any interaction with stripe for these tests.
8
+ Subscription.any_instance.stub(:processing!).and_return(true)
9
+
10
+ end
11
+
12
+ describe 'when a valid subscription exists' do
13
+ before do
14
+ # here is the corresponding customer in our database.
15
+ @customer = Customer.create(email: 'andrew.culver@gmail.com')
16
+ @subscription = Subscription.create(customer_id: @customer.id, stripe_id: 'customer-id')
17
+ # make sure they get this exact instance.
18
+ Subscription.stub('find_by_stripe_id').and_return(@subscription)
19
+ end
20
+ describe "invoice.payment_succeeded" do
21
+ describe "POST create" do
22
+ it 'calls payment_succeeded for the subscription' do
23
+ @subscription.should_receive(:payment_succeeded).once
24
+ raw_post :create, {use_route: 'koudoku', api_key: Koudoku.webhooks_api_key}, webhooks_json('invoice.payment_succeeded', total: '1234', customer: @subscription.stripe_id)
25
+ end
26
+ it 'returns 200' do
27
+ raw_post :create, {use_route: 'koudoku', api_key: Koudoku.webhooks_api_key}, webhooks_json('invoice.payment_succeeded', total: '1234', customer: @subscription.stripe_id)
28
+ response.code.should eq("200")
29
+ end
30
+ end
31
+ end
32
+ describe "charge.failed" do
33
+ describe "POST create" do
34
+ it 'calls charge_failed for the subscription' do
35
+ @subscription.should_receive(:charge_failed).once
36
+ raw_post :create, {use_route: 'koudoku', api_key: Koudoku.webhooks_api_key}, webhooks_json('charge.failed', customer: @subscription.stripe_id)
37
+ end
38
+ it 'returns 200' do
39
+ raw_post :create, {use_route: 'koudoku', api_key: Koudoku.webhooks_api_key}, webhooks_json('charge.failed', customer: @subscription.stripe_id)
40
+ response.code.should eq("200")
41
+ end
42
+ end
43
+ end
44
+ describe "charge.dispute.created" do
45
+ describe "POST create" do
46
+ it 'calls charge_disputed for the subscription' do
47
+ @subscription.should_receive(:charge_disputed).once
48
+ raw_post :create, {use_route: 'koudoku', api_key: Koudoku.webhooks_api_key}, webhooks_json('charge.dispute.created', customer: @subscription.stripe_id)
49
+ end
50
+ it 'returns 200' do
51
+ raw_post :create, {use_route: 'koudoku', api_key: Koudoku.webhooks_api_key}, webhooks_json('charge.dispute.created', customer: @subscription.stripe_id)
52
+ response.code.should eq("200")
53
+ end
54
+ end
55
+ end
56
+ end
57
+ it 'returns an error if the subscription can not be found' do
58
+ expect {
59
+ raw_post :create, {use_route: 'koudoku', api_key: Koudoku.webhooks_api_key}, webhooks_json('invoice.payment_succeeded', total: '1234', customer: 'some-random-id')
60
+ }.to raise_error
61
+ end
62
+ describe "everything else" do
63
+ describe "POST create" do
64
+ it "should raise an error for invalid api keys" do
65
+ expect {
66
+ raw_post :create, {use_route: 'koudoku', api_key: 'not-the-api-key'}, webhooks_json('resource.something_else', total: '1234')
67
+ }.to raise_error
68
+ end
69
+ it "should not raise an error for valid api keys" do
70
+ expect {
71
+ raw_post :create, {use_route: 'koudoku', api_key: Koudoku.webhooks_api_key}, webhooks_json('resource.something_else', total: '1234')
72
+ }.to_not raise_error
73
+ end
74
+ end
75
+ end
76
+ end
File without changes
File without changes
@@ -0,0 +1,3 @@
1
+ class Coupon < ActiveRecord::Base
2
+ attr_accessible :code, :free_trial_length
3
+ end
@@ -0,0 +1,7 @@
1
+ class Customer < ActiveRecord::Base
2
+
3
+ # Added by Koudoku.
4
+ has_one :subscription
5
+
6
+ attr_accessible :email
7
+ end
@@ -0,0 +1,10 @@
1
+ class Plan < ActiveRecord::Base
2
+ has_many :subscriptions
3
+
4
+ include Koudoku::Plan
5
+ belongs_to :customer
6
+ belongs_to :coupon
7
+ has_many :subscriptions
8
+
9
+ attr_accessible :display_order, :features, :highlight, :name, :price, :interval, :stripe_id
10
+ end
@@ -0,0 +1,8 @@
1
+ class Subscription < ActiveRecord::Base
2
+ include Koudoku::Subscription
3
+
4
+ belongs_to :customer
5
+ belongs_to :coupon
6
+
7
+ attr_accessible :card_type, :coupon_id, :current_price, :customer_id, :last_four, :last_four, :plan_id, :stripe_id
8
+ end
@@ -0,0 +1,11 @@
1
+ <blockquote>
2
+ <h4>"Some Great Quote"</h4> &mdash; Person at Place
3
+ </blockquote>
4
+
5
+ <blockquote>
6
+ <h4>"This is a great service and you've been the best ever! Thanks!"</h4> &mdash; Person at Place
7
+ </blockquote>
8
+
9
+ <blockquote>
10
+ <h4>"I love you guys and you're the best! You're the best!"</h4> &mdash; Person at Place
11
+ </blockquote>
File without changes
@@ -2,6 +2,8 @@ require File.expand_path('../boot', __FILE__)
2
2
 
3
3
  require 'rails/all'
4
4
 
5
+ Bundler.require(:default, Rails.env) if defined?(Bundler)
6
+
5
7
  Bundler.require
6
8
  require "koudoku"
7
9
 
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,7 @@
1
+ Koudoku.setup do |config|
2
+ config.webhooks_api_key = "2f1a9b40-abe4-4bbc-86c8-8e7bd000c8b3"
3
+ config.subscriptions_owned_by = :customer
4
+ config.stripe_publishable_key = 'not_stripe_publishable_key'
5
+ config.stripe_secret_key = 'not_stripe_secret_key'
6
+ config.free_trial_length = 30
7
+ end
@@ -0,0 +1,59 @@
1
+ # Additional translations at https://github.com/plataformatec/devise/wiki/I18n
2
+
3
+ en:
4
+ devise:
5
+ confirmations:
6
+ confirmed: "Your account was successfully confirmed. You are now signed in."
7
+ send_instructions: "You will receive an email with instructions about how to confirm your account in a few minutes."
8
+ send_paranoid_instructions: "If your email address exists in our database, you will receive an email with instructions about how to confirm your account in a few minutes."
9
+ failure:
10
+ already_authenticated: "You are already signed in."
11
+ inactive: "Your account was not activated yet."
12
+ invalid: "Invalid email or password."
13
+ invalid_token: "Invalid authentication token."
14
+ locked: "Your account is locked."
15
+ not_found_in_database: "Invalid email or password."
16
+ timeout: "Your session expired, please sign in again to continue."
17
+ unauthenticated: "You need to sign in or sign up before continuing."
18
+ unconfirmed: "You have to confirm your account before continuing."
19
+ mailer:
20
+ confirmation_instructions:
21
+ subject: "Confirmation instructions"
22
+ reset_password_instructions:
23
+ subject: "Reset password instructions"
24
+ unlock_instructions:
25
+ subject: "Unlock Instructions"
26
+ omniauth_callbacks:
27
+ failure: "Could not authenticate you from %{kind} because \"%{reason}\"."
28
+ success: "Successfully authenticated from %{kind} account."
29
+ passwords:
30
+ no_token: "You can't access this page without coming from a password reset email. If you do come from a password reset email, please make sure you used the full URL provided."
31
+ send_instructions: "You will receive an email with instructions about how to reset your password in a few minutes."
32
+ send_paranoid_instructions: "If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes."
33
+ updated: "Your password was changed successfully. You are now signed in."
34
+ updated_not_active: "Your password was changed successfully."
35
+ registrations:
36
+ destroyed: "Bye! Your account was successfully cancelled. We hope to see you again soon."
37
+ signed_up: "Welcome! You have signed up successfully."
38
+ signed_up_but_inactive: "You have signed up successfully. However, we could not sign you in because your account is not yet activated."
39
+ signed_up_but_locked: "You have signed up successfully. However, we could not sign you in because your account is locked."
40
+ signed_up_but_unconfirmed: "A message with a confirmation link has been sent to your email address. Please open the link to activate your account."
41
+ update_needs_confirmation: "You updated your account successfully, but we need to verify your new email address. Please check your email and click on the confirm link to finalize confirming your new email address."
42
+ updated: "You updated your account successfully."
43
+ sessions:
44
+ signed_in: "Signed in successfully."
45
+ signed_out: "Signed out successfully."
46
+ unlocks:
47
+ send_instructions: "You will receive an email with instructions about how to unlock your account in a few minutes."
48
+ send_paranoid_instructions: "If your account exists, you will receive an email with instructions about how to unlock it in a few minutes."
49
+ unlocked: "Your account has been unlocked successfully. Please sign in to continue."
50
+ errors:
51
+ messages:
52
+ already_confirmed: "was already confirmed, please try signing in"
53
+ confirmation_period_expired: "needs to be confirmed within %{period}, please request a new one"
54
+ expired: "has expired, please request a new one"
55
+ not_found: "not found"
56
+ not_locked: "was not locked"
57
+ not_saved:
58
+ one: "1 error prohibited this %{resource} from being saved:"
59
+ other: "%{count} errors prohibited this %{resource} from being saved:"
File without changes
@@ -0,0 +1,4 @@
1
+ Rails.application.routes.draw do
2
+ mount Koudoku::Engine, at: "koudoku"
3
+ match 'pricing' => 'koudoku::subscriptions#index', as: 'pricing'
4
+ end
Binary file
@@ -0,0 +1,8 @@
1
+ class CreateCustomers < ActiveRecord::Migration
2
+ def change
3
+ create_table :customers do |t|
4
+ t.string :email
5
+ t.timestamps
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,16 @@
1
+ class CreateSubscriptions < ActiveRecord::Migration
2
+ def change
3
+ create_table :subscriptions do |t|
4
+ t.string :stripe_id
5
+ t.integer :plan_id
6
+ t.string :last_four
7
+ t.integer :coupon_id
8
+ t.string :last_four
9
+ t.string :card_type
10
+ t.float :current_price
11
+ t.integer :customer_id
12
+
13
+ t.timestamps
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,14 @@
1
+ class CreatePlans < ActiveRecord::Migration
2
+ def change
3
+ create_table :plans do |t|
4
+ t.string :name
5
+ t.string :stripe_id
6
+ t.float :price
7
+ t.text :features
8
+ t.boolean :highlight
9
+ t.integer :display_order
10
+
11
+ t.timestamps
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,10 @@
1
+ class CreateCoupons < ActiveRecord::Migration
2
+ def change
3
+ create_table :coupons do |t|
4
+ t.string :code
5
+ t.string :free_trial_length
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,5 @@
1
+ class AddIntervalToPlan < ActiveRecord::Migration
2
+ def change
3
+ add_column :plans, :interval, :string
4
+ end
5
+ end
@@ -0,0 +1,53 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 20130520163946) do
15
+
16
+ create_table "coupons", :force => true do |t|
17
+ t.string "code"
18
+ t.string "free_trial_length"
19
+ t.datetime "created_at", :null => false
20
+ t.datetime "updated_at", :null => false
21
+ end
22
+
23
+ create_table "customers", :force => true do |t|
24
+ t.string "email"
25
+ t.datetime "created_at", :null => false
26
+ t.datetime "updated_at", :null => false
27
+ end
28
+
29
+ create_table "plans", :force => true do |t|
30
+ t.string "name"
31
+ t.string "stripe_id"
32
+ t.float "price"
33
+ t.text "features"
34
+ t.boolean "highlight"
35
+ t.integer "display_order"
36
+ t.datetime "created_at", :null => false
37
+ t.datetime "updated_at", :null => false
38
+ t.string "interval"
39
+ end
40
+
41
+ create_table "subscriptions", :force => true do |t|
42
+ t.string "stripe_id"
43
+ t.integer "plan_id"
44
+ t.string "last_four"
45
+ t.integer "coupon_id"
46
+ t.string "card_type"
47
+ t.float "current_price"
48
+ t.integer "customer_id"
49
+ t.datetime "created_at", :null => false
50
+ t.datetime "updated_at", :null => false
51
+ end
52
+
53
+ end
Binary file
@@ -0,0 +1,931 @@
1
+ Connecting to database specified by database.yml
2
+  (0.1ms) select sqlite_version(*)
3
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
4
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
6
+ Connecting to database specified by database.yml
7
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
8
+  (0.1ms) select sqlite_version(*)
9
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
10
+  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
11
+  (0.1ms) SELECT version FROM "schema_migrations"
12
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
13
+ Connecting to database specified by database.yml
14
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
15
+  (0.1ms) SELECT version FROM "schema_migrations"
16
+ Connecting to database specified by database.yml
17
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
18
+  (0.1ms) SELECT version FROM "schema_migrations"
19
+ Connecting to database specified by database.yml
20
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
21
+  (0.1ms) SELECT version FROM "schema_migrations"
22
+ Connecting to database specified by database.yml
23
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
24
+  (0.1ms) SELECT version FROM "schema_migrations"
25
+ Connecting to database specified by database.yml
26
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
27
+  (0.1ms) SELECT version FROM "schema_migrations"
28
+ Connecting to database specified by database.yml
29
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
30
+  (0.1ms) SELECT version FROM "schema_migrations"
31
+ Connecting to database specified by database.yml
32
+ Connecting to database specified by database.yml
33
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
34
+ Connecting to database specified by database.yml
35
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
36
+ Connecting to database specified by database.yml
37
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
38
+ Migrating to CreateCustomers (20130318201927)
39
+  (0.0ms) select sqlite_version(*)
40
+  (0.0ms) begin transaction
41
+  (0.6ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
42
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130318201927')
43
+  (3.3ms) commit transaction
44
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
45
+ Connecting to database specified by database.yml
46
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
47
+  (0.3ms) select sqlite_version(*)
48
+  (2.6ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
49
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
50
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
51
+  (0.1ms) SELECT version FROM "schema_migrations"
52
+  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130318201927')
53
+ Connecting to database specified by database.yml
54
+ Connecting to database specified by database.yml
55
+ Connecting to database specified by database.yml
56
+ Connecting to database specified by database.yml
57
+ Connecting to database specified by database.yml
58
+ Connecting to database specified by database.yml
59
+ Connecting to database specified by database.yml
60
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
61
+ Migrating to CreateCustomers (20130318201927)
62
+ Migrating to AddDeviseToCustomers (20130318203103)
63
+  (0.0ms) select sqlite_version(*)
64
+  (0.0ms) begin transaction
65
+  (3.3ms) ALTER TABLE "customers" ADD "email" varchar(255) DEFAULT '' NOT NULL
66
+ SQLite3::SQLException: duplicate column name: email: ALTER TABLE "customers" ADD "email" varchar(255) DEFAULT '' NOT NULL
67
+  (0.1ms) rollback transaction
68
+ Connecting to database specified by database.yml
69
+  (0.1ms) select sqlite_version(*)
70
+  (2.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
71
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
72
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
73
+ Migrating to CreateCustomers (20130318201927)
74
+  (0.0ms) begin transaction
75
+  (0.5ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
76
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130318201927')
77
+  (1.5ms) commit transaction
78
+ Migrating to AddDeviseToCustomers (20130318203103)
79
+  (0.0ms) begin transaction
80
+  (0.6ms) ALTER TABLE "customers" ADD "email" varchar(255) DEFAULT '' NOT NULL
81
+  (0.2ms) ALTER TABLE "customers" ADD "encrypted_password" varchar(255) DEFAULT '' NOT NULL
82
+  (0.1ms) ALTER TABLE "customers" ADD "reset_password_token" varchar(255)
83
+  (0.1ms) ALTER TABLE "customers" ADD "reset_password_sent_at" datetime
84
+  (0.1ms) ALTER TABLE "customers" ADD "remember_created_at" datetime
85
+  (0.3ms) ALTER TABLE "customers" ADD "sign_in_count" integer DEFAULT 0
86
+  (0.2ms) ALTER TABLE "customers" ADD "current_sign_in_at" datetime
87
+  (0.2ms) ALTER TABLE "customers" ADD "last_sign_in_at" datetime
88
+  (0.1ms) ALTER TABLE "customers" ADD "current_sign_in_ip" varchar(255)
89
+  (0.2ms) ALTER TABLE "customers" ADD "last_sign_in_ip" varchar(255)
90
+  (0.4ms) CREATE UNIQUE INDEX "index_customers_on_email" ON "customers" ("email")
91
+  (0.1ms) CREATE UNIQUE INDEX "index_customers_on_reset_password_token" ON "customers" ("reset_password_token")
92
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130318203103')
93
+  (0.9ms) commit transaction
94
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
95
+ Connecting to database specified by database.yml
96
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
97
+  (0.3ms) select sqlite_version(*)
98
+  (1.9ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255)) 
99
+  (1.7ms) CREATE UNIQUE INDEX "index_customers_on_email" ON "customers" ("email")
100
+  (1.3ms) CREATE UNIQUE INDEX "index_customers_on_reset_password_token" ON "customers" ("reset_password_token")
101
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
102
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
103
+  (0.1ms) SELECT version FROM "schema_migrations"
104
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130318203103')
105
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130318201927')
106
+ Connecting to database specified by database.yml
107
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
108
+  (0.3ms) select sqlite_version(*)
109
+  (4.3ms) DROP TABLE "customers"
110
+  (1.5ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255))
111
+  (1.2ms) CREATE UNIQUE INDEX "index_customers_on_email" ON "customers" ("email")
112
+  (1.4ms) CREATE UNIQUE INDEX "index_customers_on_reset_password_token" ON "customers" ("reset_password_token")
113
+  (0.1ms) SELECT version FROM "schema_migrations"
114
+ Connecting to database specified by database.yml
115
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
116
+  (0.3ms) select sqlite_version(*)
117
+  (3.3ms) DROP TABLE "customers"
118
+  (1.6ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255))
119
+  (1.5ms) CREATE UNIQUE INDEX "index_customers_on_email" ON "customers" ("email")
120
+  (1.1ms) CREATE UNIQUE INDEX "index_customers_on_reset_password_token" ON "customers" ("reset_password_token")
121
+  (0.1ms) SELECT version FROM "schema_migrations"
122
+ Connecting to database specified by database.yml
123
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
124
+  (0.3ms) select sqlite_version(*)
125
+  (2.4ms) DROP TABLE "customers"
126
+  (1.7ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255))
127
+  (1.5ms) CREATE UNIQUE INDEX "index_customers_on_email" ON "customers" ("email")
128
+  (1.1ms) CREATE UNIQUE INDEX "index_customers_on_reset_password_token" ON "customers" ("reset_password_token")
129
+  (0.1ms) SELECT version FROM "schema_migrations"
130
+ Connecting to database specified by database.yml
131
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
132
+  (0.3ms) select sqlite_version(*)
133
+  (2.7ms) DROP TABLE "customers"
134
+  (1.6ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255))
135
+  (1.5ms) CREATE UNIQUE INDEX "index_customers_on_email" ON "customers" ("email")
136
+  (1.2ms) CREATE UNIQUE INDEX "index_customers_on_reset_password_token" ON "customers" ("reset_password_token")
137
+  (0.2ms) SELECT version FROM "schema_migrations"
138
+ Connecting to database specified by database.yml
139
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
140
+  (0.3ms) select sqlite_version(*)
141
+  (1.5ms) DROP TABLE "customers"
142
+  (1.5ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255))
143
+  (1.2ms) CREATE UNIQUE INDEX "index_customers_on_email" ON "customers" ("email")
144
+  (1.2ms) CREATE UNIQUE INDEX "index_customers_on_reset_password_token" ON "customers" ("reset_password_token")
145
+  (0.2ms) SELECT version FROM "schema_migrations"
146
+ Connecting to database specified by database.yml
147
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
148
+  (0.3ms) select sqlite_version(*)
149
+  (3.7ms) DROP TABLE "customers"
150
+  (1.5ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255))
151
+  (1.4ms) CREATE UNIQUE INDEX "index_customers_on_email" ON "customers" ("email")
152
+  (1.4ms) CREATE UNIQUE INDEX "index_customers_on_reset_password_token" ON "customers" ("reset_password_token")
153
+  (0.1ms) SELECT version FROM "schema_migrations"
154
+ Connecting to database specified by database.yml
155
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
156
+  (0.3ms) select sqlite_version(*)
157
+  (2.7ms) DROP TABLE "customers"
158
+  (1.5ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255))
159
+  (1.0ms) CREATE UNIQUE INDEX "index_customers_on_email" ON "customers" ("email")
160
+  (1.3ms) CREATE UNIQUE INDEX "index_customers_on_reset_password_token" ON "customers" ("reset_password_token")
161
+  (0.1ms) SELECT version FROM "schema_migrations"
162
+ Connecting to database specified by database.yml
163
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
164
+  (0.3ms) select sqlite_version(*)
165
+  (2.7ms) DROP TABLE "customers"
166
+  (1.8ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255))
167
+  (1.7ms) CREATE UNIQUE INDEX "index_customers_on_email" ON "customers" ("email")
168
+  (1.7ms) CREATE UNIQUE INDEX "index_customers_on_reset_password_token" ON "customers" ("reset_password_token")
169
+  (0.2ms) SELECT version FROM "schema_migrations"
170
+ Connecting to database specified by database.yml
171
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
172
+  (0.3ms) select sqlite_version(*)
173
+  (2.9ms) DROP TABLE "customers"
174
+  (1.6ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255))
175
+  (1.5ms) CREATE UNIQUE INDEX "index_customers_on_email" ON "customers" ("email")
176
+  (1.7ms) CREATE UNIQUE INDEX "index_customers_on_reset_password_token" ON "customers" ("reset_password_token")
177
+  (0.1ms) SELECT version FROM "schema_migrations"
178
+ Connecting to database specified by database.yml
179
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
180
+  (0.3ms) select sqlite_version(*)
181
+  (2.9ms) DROP TABLE "customers"
182
+  (1.7ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255))
183
+  (1.5ms) CREATE UNIQUE INDEX "index_customers_on_email" ON "customers" ("email")
184
+  (1.2ms) CREATE UNIQUE INDEX "index_customers_on_reset_password_token" ON "customers" ("reset_password_token")
185
+  (0.1ms) SELECT version FROM "schema_migrations"
186
+ Connecting to database specified by database.yml
187
+  (0.1ms) select sqlite_version(*)
188
+  (2.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
189
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
190
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
191
+ Migrating to CreateCustomers (20130318201927)
192
+  (0.0ms) begin transaction
193
+  (0.5ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
194
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130318201927')
195
+  (1.2ms) commit transaction
196
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
197
+ Connecting to database specified by database.yml
198
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
199
+  (0.2ms) select sqlite_version(*)
200
+  (2.6ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
201
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
202
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
203
+  (0.1ms) SELECT version FROM "schema_migrations"
204
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130318201927')
205
+ Connecting to database specified by database.yml
206
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
207
+  (0.3ms) select sqlite_version(*)
208
+  (2.6ms) DROP TABLE "customers"
209
+  (1.4ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
210
+  (0.1ms) SELECT version FROM "schema_migrations"
211
+ Connecting to database specified by database.yml
212
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
213
+  (0.3ms) select sqlite_version(*)
214
+  (2.6ms) DROP TABLE "customers"
215
+  (1.4ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
216
+  (0.1ms) SELECT version FROM "schema_migrations"
217
+ Connecting to database specified by database.yml
218
+ Connecting to database specified by database.yml
219
+ Connecting to database specified by database.yml
220
+ Connecting to database specified by database.yml
221
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
222
+ Migrating to CreateCustomers (20130318201927)
223
+ Migrating to CreateSubscriptions (20130318204455)
224
+  (0.0ms) select sqlite_version(*)
225
+  (0.0ms) begin transaction
226
+  (0.5ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
227
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130318204455')
228
+  (2.4ms) commit transaction
229
+ Migrating to CreatePlans (20130318204458)
230
+  (0.0ms) begin transaction
231
+  (0.4ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
232
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130318204458')
233
+  (1.2ms) commit transaction
234
+ Migrating to CreateCoupons (20130318204502)
235
+  (0.0ms) begin transaction
236
+  (0.4ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
237
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130318204502')
238
+  (0.9ms) commit transaction
239
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
240
+ Connecting to database specified by database.yml
241
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
242
+  (0.2ms) select sqlite_version(*)
243
+  (2.3ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
244
+  (1.2ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
245
+  (1.2ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
246
+  (1.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
247
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
248
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
249
+  (0.1ms) SELECT version FROM "schema_migrations"
250
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130318204502')
251
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130318201927')
252
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130318204455')
253
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130318204458')
254
+ Connecting to database specified by database.yml
255
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
256
+  (0.3ms) select sqlite_version(*)
257
+  (3.4ms) DROP TABLE "coupons"
258
+  (1.2ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
259
+  (1.4ms) DROP TABLE "customers"
260
+  (1.2ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
261
+  (0.9ms) DROP TABLE "plans"
262
+  (1.2ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
263
+  (1.5ms) DROP TABLE "subscriptions"
264
+  (1.4ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
265
+  (0.1ms) SELECT version FROM "schema_migrations"
266
+ Connecting to database specified by database.yml
267
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
268
+  (0.3ms) select sqlite_version(*)
269
+  (2.6ms) DROP TABLE "coupons"
270
+  (1.4ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
271
+  (1.3ms) DROP TABLE "customers"
272
+  (1.2ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
273
+  (1.0ms) DROP TABLE "plans"
274
+  (1.2ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
275
+  (1.3ms) DROP TABLE "subscriptions"
276
+  (1.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
277
+  (0.1ms) SELECT version FROM "schema_migrations"
278
+ Connecting to database specified by database.yml
279
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
280
+  (0.3ms) select sqlite_version(*)
281
+  (2.4ms) DROP TABLE "coupons"
282
+  (1.1ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
283
+  (1.1ms) DROP TABLE "customers"
284
+  (1.3ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
285
+  (1.5ms) DROP TABLE "plans"
286
+  (1.2ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
287
+  (1.3ms) DROP TABLE "subscriptions"
288
+  (1.4ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
289
+  (0.1ms) SELECT version FROM "schema_migrations"
290
+ Connecting to database specified by database.yml
291
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
292
+  (0.3ms) select sqlite_version(*)
293
+  (3.4ms) DROP TABLE "coupons"
294
+  (1.2ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
295
+  (1.4ms) DROP TABLE "customers"
296
+  (1.3ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
297
+  (0.9ms) DROP TABLE "plans"
298
+  (1.3ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
299
+  (1.3ms) DROP TABLE "subscriptions"
300
+  (1.5ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
301
+  (0.1ms) SELECT version FROM "schema_migrations"
302
+ Connecting to database specified by database.yml
303
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
304
+  (0.5ms) select sqlite_version(*)
305
+  (3.0ms) DROP TABLE "coupons"
306
+  (1.5ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
307
+  (1.4ms) DROP TABLE "customers"
308
+  (1.0ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
309
+  (1.2ms) DROP TABLE "plans"
310
+  (1.4ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
311
+  (1.4ms) DROP TABLE "subscriptions"
312
+  (1.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
313
+  (0.1ms) SELECT version FROM "schema_migrations"
314
+ Connecting to database specified by database.yml
315
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
316
+  (0.3ms) select sqlite_version(*)
317
+  (2.6ms) DROP TABLE "coupons"
318
+  (1.3ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
319
+  (1.0ms) DROP TABLE "customers"
320
+  (1.3ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
321
+  (0.9ms) DROP TABLE "plans"
322
+  (1.1ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
323
+  (1.4ms) DROP TABLE "subscriptions"
324
+  (1.5ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
325
+  (0.1ms) SELECT version FROM "schema_migrations"
326
+ Connecting to database specified by database.yml
327
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
328
+  (0.3ms) select sqlite_version(*)
329
+  (2.6ms) DROP TABLE "coupons"
330
+  (1.3ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
331
+  (1.4ms) DROP TABLE "customers"
332
+  (1.1ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
333
+  (1.0ms) DROP TABLE "plans"
334
+  (1.2ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
335
+  (1.1ms) DROP TABLE "subscriptions"
336
+  (1.6ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
337
+  (0.1ms) SELECT version FROM "schema_migrations"
338
+ Connecting to database specified by database.yml
339
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
340
+  (0.3ms) select sqlite_version(*)
341
+  (2.9ms) DROP TABLE "coupons"
342
+  (1.8ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
343
+  (1.4ms) DROP TABLE "customers"
344
+  (1.1ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
345
+  (0.9ms) DROP TABLE "plans"
346
+  (1.3ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
347
+  (1.4ms) DROP TABLE "subscriptions"
348
+  (1.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
349
+  (0.1ms) SELECT version FROM "schema_migrations"
350
+ Connecting to database specified by database.yml
351
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
352
+  (0.3ms) select sqlite_version(*)
353
+  (3.3ms) DROP TABLE "coupons"
354
+  (1.0ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
355
+  (1.2ms) DROP TABLE "customers"
356
+  (1.3ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
357
+  (1.0ms) DROP TABLE "plans"
358
+  (1.1ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
359
+  (1.3ms) DROP TABLE "subscriptions"
360
+  (1.2ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
361
+  (0.2ms) SELECT version FROM "schema_migrations"
362
+ Connecting to database specified by database.yml
363
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
364
+  (0.3ms) select sqlite_version(*)
365
+  (3.4ms) DROP TABLE "coupons"
366
+  (1.3ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
367
+  (1.5ms) DROP TABLE "customers"
368
+  (1.0ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
369
+  (1.1ms) DROP TABLE "plans"
370
+  (1.1ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
371
+  (1.3ms) DROP TABLE "subscriptions"
372
+  (1.1ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
373
+  (0.1ms) SELECT version FROM "schema_migrations"
374
+ Connecting to database specified by database.yml
375
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
376
+  (0.3ms) select sqlite_version(*)
377
+  (3.8ms) DROP TABLE "coupons"
378
+  (1.4ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
379
+  (1.4ms) DROP TABLE "customers"
380
+  (1.0ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
381
+  (1.2ms) DROP TABLE "plans"
382
+  (1.5ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
383
+  (1.4ms) DROP TABLE "subscriptions"
384
+  (1.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
385
+  (0.1ms) SELECT version FROM "schema_migrations"
386
+ Connecting to database specified by database.yml
387
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
388
+  (0.4ms) select sqlite_version(*)
389
+  (3.1ms) DROP TABLE "coupons"
390
+  (1.1ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
391
+  (1.5ms) DROP TABLE "customers"
392
+  (1.3ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
393
+  (1.0ms) DROP TABLE "plans"
394
+  (1.3ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
395
+  (1.3ms) DROP TABLE "subscriptions"
396
+  (1.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
397
+  (0.1ms) SELECT version FROM "schema_migrations"
398
+ Connecting to database specified by database.yml
399
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
400
+  (0.3ms) select sqlite_version(*)
401
+  (3.7ms) DROP TABLE "coupons"
402
+  (1.2ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
403
+  (1.4ms) DROP TABLE "customers"
404
+  (1.3ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
405
+  (1.1ms) DROP TABLE "plans"
406
+  (1.7ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
407
+  (1.3ms) DROP TABLE "subscriptions"
408
+  (1.4ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
409
+  (0.1ms) SELECT version FROM "schema_migrations"
410
+ Connecting to database specified by database.yml
411
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
412
+  (0.3ms) select sqlite_version(*)
413
+  (2.4ms) DROP TABLE "coupons"
414
+  (1.2ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
415
+  (1.4ms) DROP TABLE "customers"
416
+  (1.1ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
417
+  (0.9ms) DROP TABLE "plans"
418
+  (1.1ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
419
+  (1.5ms) DROP TABLE "subscriptions"
420
+  (1.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
421
+  (0.1ms) SELECT version FROM "schema_migrations"
422
+ Connecting to database specified by database.yml
423
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
424
+  (0.3ms) select sqlite_version(*)
425
+  (2.7ms) DROP TABLE "coupons"
426
+  (1.4ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
427
+  (1.4ms) DROP TABLE "customers"
428
+  (1.4ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
429
+  (1.0ms) DROP TABLE "plans"
430
+  (1.4ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
431
+  (1.4ms) DROP TABLE "subscriptions"
432
+  (1.4ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
433
+  (0.1ms) SELECT version FROM "schema_migrations"
434
+ Connecting to database specified by database.yml
435
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
436
+  (0.3ms) select sqlite_version(*)
437
+  (2.7ms) DROP TABLE "coupons"
438
+  (1.2ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
439
+  (1.3ms) DROP TABLE "customers"
440
+  (1.2ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
441
+  (1.0ms) DROP TABLE "plans"
442
+  (1.2ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
443
+  (1.3ms) DROP TABLE "subscriptions"
444
+  (1.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
445
+  (0.1ms) SELECT version FROM "schema_migrations"
446
+ Connecting to database specified by database.yml
447
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
448
+  (0.3ms) select sqlite_version(*)
449
+  (3.7ms) DROP TABLE "coupons"
450
+  (1.3ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
451
+  (1.3ms) DROP TABLE "customers"
452
+  (1.2ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
453
+  (1.3ms) DROP TABLE "plans"
454
+  (1.3ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
455
+  (1.4ms) DROP TABLE "subscriptions"
456
+  (1.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
457
+  (0.1ms) SELECT version FROM "schema_migrations"
458
+ Connecting to database specified by database.yml
459
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
460
+  (0.3ms) select sqlite_version(*)
461
+  (2.7ms) DROP TABLE "coupons"
462
+  (1.3ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
463
+  (1.4ms) DROP TABLE "customers"
464
+  (1.2ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
465
+  (1.0ms) DROP TABLE "plans"
466
+  (1.1ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
467
+  (1.4ms) DROP TABLE "subscriptions"
468
+  (1.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
469
+  (0.1ms) SELECT version FROM "schema_migrations"
470
+ Connecting to database specified by database.yml
471
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
472
+  (0.3ms) select sqlite_version(*)
473
+  (2.0ms) DROP TABLE "coupons"
474
+  (0.9ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
475
+  (1.1ms) DROP TABLE "customers"
476
+  (1.1ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
477
+  (1.7ms) DROP TABLE "plans"
478
+  (1.4ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
479
+  (0.9ms) DROP TABLE "subscriptions"
480
+  (1.0ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
481
+  (0.1ms) SELECT version FROM "schema_migrations"
482
+ Connecting to database specified by database.yml
483
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
484
+  (0.3ms) select sqlite_version(*)
485
+  (2.6ms) DROP TABLE "coupons"
486
+  (1.2ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
487
+  (1.1ms) DROP TABLE "customers"
488
+  (1.3ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
489
+  (1.2ms) DROP TABLE "plans"
490
+  (1.1ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
491
+  (1.5ms) DROP TABLE "subscriptions"
492
+  (1.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
493
+  (0.1ms) SELECT version FROM "schema_migrations"
494
+ Connecting to database specified by database.yml
495
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
496
+  (0.4ms) select sqlite_version(*)
497
+  (2.4ms) DROP TABLE "coupons"
498
+  (1.2ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
499
+  (1.4ms) DROP TABLE "customers"
500
+  (1.3ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
501
+  (1.2ms) DROP TABLE "plans"
502
+  (1.3ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
503
+  (1.5ms) DROP TABLE "subscriptions"
504
+  (1.4ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
505
+  (0.1ms) SELECT version FROM "schema_migrations"
506
+ Connecting to database specified by database.yml
507
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
508
+  (0.4ms) select sqlite_version(*)
509
+  (1.4ms) DROP TABLE "coupons"
510
+  (1.1ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
511
+  (1.2ms) DROP TABLE "customers"
512
+  (1.2ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
513
+  (0.9ms) DROP TABLE "plans"
514
+  (1.0ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
515
+  (1.3ms) DROP TABLE "subscriptions"
516
+  (1.1ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
517
+  (0.1ms) SELECT version FROM "schema_migrations"
518
+ Connecting to database specified by database.yml
519
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
520
+  (0.3ms) select sqlite_version(*)
521
+  (2.4ms) DROP TABLE "coupons"
522
+  (1.1ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
523
+  (1.4ms) DROP TABLE "customers"
524
+  (1.2ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
525
+  (1.1ms) DROP TABLE "plans"
526
+  (1.3ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
527
+  (1.4ms) DROP TABLE "subscriptions"
528
+  (1.1ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
529
+  (0.1ms) SELECT version FROM "schema_migrations"
530
+ Connecting to database specified by database.yml
531
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
532
+  (0.3ms) select sqlite_version(*)
533
+  (20.6ms) DROP TABLE "coupons"
534
+  (7.1ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
535
+  (4.2ms) DROP TABLE "customers"
536
+  (1.3ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
537
+  (1.5ms) DROP TABLE "plans"
538
+  (1.3ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
539
+  (1.3ms) DROP TABLE "subscriptions"
540
+  (1.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
541
+  (0.1ms) SELECT version FROM "schema_migrations"
542
+ Connecting to database specified by database.yml
543
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
544
+  (0.3ms) select sqlite_version(*)
545
+  (2.4ms) DROP TABLE "coupons"
546
+  (1.2ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
547
+  (1.3ms) DROP TABLE "customers"
548
+  (1.3ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
549
+  (1.0ms) DROP TABLE "plans"
550
+  (1.0ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
551
+  (1.5ms) DROP TABLE "subscriptions"
552
+  (1.2ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
553
+  (0.1ms) SELECT version FROM "schema_migrations"
554
+ Connecting to database specified by database.yml
555
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
556
+  (0.3ms) select sqlite_version(*)
557
+  (3.8ms) DROP TABLE "coupons"
558
+  (1.7ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
559
+  (1.4ms) DROP TABLE "customers"
560
+  (1.1ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
561
+  (1.1ms) DROP TABLE "plans"
562
+  (1.2ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
563
+  (1.4ms) DROP TABLE "subscriptions"
564
+  (1.1ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
565
+  (0.1ms) SELECT version FROM "schema_migrations"
566
+ Connecting to database specified by database.yml
567
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
568
+  (0.3ms) select sqlite_version(*)
569
+  (1.4ms) DROP TABLE "coupons"
570
+  (1.1ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
571
+  (1.3ms) DROP TABLE "customers"
572
+  (1.3ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
573
+  (0.9ms) DROP TABLE "plans"
574
+  (1.0ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
575
+  (1.4ms) DROP TABLE "subscriptions"
576
+  (1.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
577
+  (0.1ms) SELECT version FROM "schema_migrations"
578
+ Connecting to database specified by database.yml
579
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
580
+  (0.3ms) select sqlite_version(*)
581
+  (2.5ms) DROP TABLE "coupons"
582
+  (1.0ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
583
+  (0.9ms) DROP TABLE "customers"
584
+  (1.0ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
585
+  (1.2ms) DROP TABLE "plans"
586
+  (1.2ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
587
+  (1.1ms) DROP TABLE "subscriptions"
588
+  (1.1ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
589
+  (0.1ms) SELECT version FROM "schema_migrations"
590
+ Connecting to database specified by database.yml
591
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
592
+  (0.3ms) select sqlite_version(*)
593
+  (2.5ms) DROP TABLE "coupons"
594
+  (0.9ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
595
+  (1.3ms) DROP TABLE "customers"
596
+  (1.3ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
597
+  (0.9ms) DROP TABLE "plans"
598
+  (0.9ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
599
+  (1.1ms) DROP TABLE "subscriptions"
600
+  (1.1ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
601
+  (0.2ms) SELECT version FROM "schema_migrations"
602
+ Connecting to database specified by database.yml
603
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
604
+  (0.3ms) select sqlite_version(*)
605
+  (3.4ms) DROP TABLE "coupons"
606
+  (1.3ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
607
+  (1.3ms) DROP TABLE "customers"
608
+  (1.4ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
609
+  (0.9ms) DROP TABLE "plans"
610
+  (1.1ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
611
+  (1.4ms) DROP TABLE "subscriptions"
612
+  (1.1ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
613
+  (0.1ms) SELECT version FROM "schema_migrations"
614
+ Connecting to database specified by database.yml
615
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
616
+  (0.3ms) select sqlite_version(*)
617
+  (2.6ms) DROP TABLE "coupons"
618
+  (1.1ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
619
+  (1.3ms) DROP TABLE "customers"
620
+  (1.1ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
621
+  (1.4ms) DROP TABLE "plans"
622
+  (1.4ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
623
+  (1.5ms) DROP TABLE "subscriptions"
624
+  (1.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
625
+  (0.1ms) SELECT version FROM "schema_migrations"
626
+ Connecting to database specified by database.yml
627
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
628
+  (0.3ms) select sqlite_version(*)
629
+  (2.6ms) DROP TABLE "coupons"
630
+  (1.4ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
631
+  (1.4ms) DROP TABLE "customers"
632
+  (1.2ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
633
+  (1.0ms) DROP TABLE "plans"
634
+  (1.2ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
635
+  (1.3ms) DROP TABLE "subscriptions"
636
+  (1.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
637
+  (0.1ms) SELECT version FROM "schema_migrations"
638
+ Connecting to database specified by database.yml
639
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
640
+  (0.3ms) select sqlite_version(*)
641
+  (2.7ms) DROP TABLE "coupons"
642
+  (1.0ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
643
+  (1.5ms) DROP TABLE "customers"
644
+  (1.3ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
645
+  (1.4ms) DROP TABLE "plans"
646
+  (1.3ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
647
+  (0.9ms) DROP TABLE "subscriptions"
648
+  (0.9ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
649
+  (0.1ms) SELECT version FROM "schema_migrations"
650
+ Connecting to database specified by database.yml
651
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
652
+  (0.3ms) select sqlite_version(*)
653
+  (3.5ms) DROP TABLE "coupons"
654
+  (1.0ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
655
+  (1.5ms) DROP TABLE "customers"
656
+  (1.1ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
657
+  (1.0ms) DROP TABLE "plans"
658
+  (1.1ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
659
+  (1.4ms) DROP TABLE "subscriptions"
660
+  (1.4ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
661
+  (0.1ms) SELECT version FROM "schema_migrations"
662
+ Connecting to database specified by database.yml
663
+ Connecting to database specified by database.yml
664
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
665
+  (0.3ms) select sqlite_version(*)
666
+  (2.9ms) DROP TABLE "coupons"
667
+  (1.1ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
668
+  (1.8ms) DROP TABLE "customers"
669
+  (1.3ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
670
+  (1.3ms) DROP TABLE "plans"
671
+  (1.3ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
672
+  (1.8ms) DROP TABLE "subscriptions"
673
+  (1.2ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
674
+  (0.3ms) SELECT version FROM "schema_migrations"
675
+ Connecting to database specified by database.yml
676
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
677
+  (0.3ms) select sqlite_version(*)
678
+  (1.9ms) DROP TABLE "coupons"
679
+  (1.0ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
680
+  (1.3ms) DROP TABLE "customers"
681
+  (1.1ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
682
+  (1.1ms) DROP TABLE "plans"
683
+  (1.4ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
684
+  (1.4ms) DROP TABLE "subscriptions"
685
+  (1.2ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
686
+  (0.1ms) SELECT version FROM "schema_migrations"
687
+ Connecting to database specified by database.yml
688
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
689
+  (0.3ms) select sqlite_version(*)
690
+  (2.5ms) DROP TABLE "coupons"
691
+  (1.2ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
692
+  (1.4ms) DROP TABLE "customers"
693
+  (1.3ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
694
+  (0.9ms) DROP TABLE "plans"
695
+  (1.3ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
696
+  (1.4ms) DROP TABLE "subscriptions"
697
+  (1.2ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
698
+  (0.1ms) SELECT version FROM "schema_migrations"
699
+ Connecting to database specified by database.yml
700
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
701
+  (0.3ms) select sqlite_version(*)
702
+  (3.5ms) DROP TABLE "coupons"
703
+  (1.2ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
704
+  (1.3ms) DROP TABLE "customers"
705
+  (1.1ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
706
+  (0.9ms) DROP TABLE "plans"
707
+  (1.4ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
708
+  (1.4ms) DROP TABLE "subscriptions"
709
+  (1.1ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
710
+  (0.1ms) SELECT version FROM "schema_migrations"
711
+ Connecting to database specified by database.yml
712
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
713
+  (0.3ms) select sqlite_version(*)
714
+  (2.4ms) DROP TABLE "coupons"
715
+  (1.3ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
716
+  (1.3ms) DROP TABLE "customers"
717
+  (1.2ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
718
+  (0.9ms) DROP TABLE "plans"
719
+  (1.4ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
720
+  (1.3ms) DROP TABLE "subscriptions"
721
+  (1.2ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
722
+  (0.1ms) SELECT version FROM "schema_migrations"
723
+ Connecting to database specified by database.yml
724
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
725
+  (0.3ms) select sqlite_version(*)
726
+  (3.1ms) DROP TABLE "coupons"
727
+  (1.3ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
728
+  (1.4ms) DROP TABLE "customers"
729
+  (1.3ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
730
+  (0.9ms) DROP TABLE "plans"
731
+  (1.1ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
732
+  (1.2ms) DROP TABLE "subscriptions"
733
+  (1.1ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
734
+  (0.1ms) SELECT version FROM "schema_migrations"
735
+ Connecting to database specified by database.yml
736
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
737
+  (0.3ms) select sqlite_version(*)
738
+  (1.7ms) DROP TABLE "coupons"
739
+  (1.1ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
740
+  (1.3ms) DROP TABLE "customers"
741
+  (1.2ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
742
+  (0.9ms) DROP TABLE "plans"
743
+  (1.2ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
744
+  (1.2ms) DROP TABLE "subscriptions"
745
+  (1.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
746
+  (0.1ms) SELECT version FROM "schema_migrations"
747
+ Connecting to database specified by database.yml
748
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
749
+  (0.3ms) select sqlite_version(*)
750
+  (3.7ms) DROP TABLE "coupons"
751
+  (1.3ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
752
+  (1.2ms) DROP TABLE "customers"
753
+  (1.1ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
754
+  (0.9ms) DROP TABLE "plans"
755
+  (1.4ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
756
+  (1.3ms) DROP TABLE "subscriptions"
757
+  (1.0ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
758
+  (0.1ms) SELECT version FROM "schema_migrations"
759
+ Connecting to database specified by database.yml
760
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
761
+  (0.3ms) select sqlite_version(*)
762
+  (2.5ms) DROP TABLE "coupons"
763
+  (1.2ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
764
+  (1.0ms) DROP TABLE "customers"
765
+  (1.0ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
766
+  (1.1ms) DROP TABLE "plans"
767
+  (1.3ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
768
+  (1.5ms) DROP TABLE "subscriptions"
769
+  (1.4ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
770
+  (0.1ms) SELECT version FROM "schema_migrations"
771
+ Connecting to database specified by database.yml
772
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
773
+  (0.3ms) select sqlite_version(*)
774
+  (2.5ms) DROP TABLE "coupons"
775
+  (1.2ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
776
+  (1.3ms) DROP TABLE "customers"
777
+  (1.3ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
778
+  (0.9ms) DROP TABLE "plans"
779
+  (1.0ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
780
+  (1.3ms) DROP TABLE "subscriptions"
781
+  (1.2ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
782
+  (0.1ms) SELECT version FROM "schema_migrations"
783
+ Connecting to database specified by database.yml
784
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
785
+  (0.3ms) select sqlite_version(*)
786
+  (4.9ms) DROP TABLE "coupons"
787
+  (0.9ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
788
+  (1.2ms) DROP TABLE "customers"
789
+  (1.3ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
790
+  (1.2ms) DROP TABLE "plans"
791
+  (1.3ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
792
+  (1.5ms) DROP TABLE "subscriptions"
793
+  (1.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
794
+  (0.3ms) SELECT version FROM "schema_migrations"
795
+ Connecting to database specified by database.yml
796
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
797
+  (0.4ms) select sqlite_version(*)
798
+  (1.3ms) DROP TABLE "coupons"
799
+  (1.0ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
800
+  (1.2ms) DROP TABLE "customers"
801
+  (1.0ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
802
+  (1.3ms) DROP TABLE "plans"
803
+  (1.1ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
804
+  (1.2ms) DROP TABLE "subscriptions"
805
+  (1.1ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
806
+  (0.1ms) SELECT version FROM "schema_migrations"
807
+ Connecting to database specified by database.yml
808
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
809
+  (1.2ms) select sqlite_version(*)
810
+  (3.7ms) DROP TABLE "coupons"
811
+  (2.1ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
812
+  (2.6ms) DROP TABLE "customers"
813
+  (3.0ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
814
+  (1.9ms) DROP TABLE "plans"
815
+  (2.7ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
816
+  (2.2ms) DROP TABLE "subscriptions"
817
+  (2.2ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
818
+  (0.4ms) SELECT version FROM "schema_migrations"
819
+ Connecting to database specified by database.yml
820
+ Connecting to database specified by database.yml
821
+  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
822
+ Migrating to CreateCustomers (20130318201927)
823
+ Migrating to CreateSubscriptions (20130318204455)
824
+ Migrating to CreatePlans (20130318204458)
825
+ Migrating to CreateCoupons (20130318204502)
826
+ Migrating to AddIntervalToPlan (20130520163946)
827
+  (0.2ms) select sqlite_version(*)
828
+  (0.2ms) begin transaction
829
+  (2.3ms) ALTER TABLE "plans" ADD "interval" varchar(255)
830
+  (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130520163946')
831
+  (15.4ms) commit transaction
832
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
833
+ Connecting to database specified by database.yml
834
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
835
+  (0.7ms) select sqlite_version(*)
836
+  (3.1ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
837
+  (2.4ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
838
+  (2.3ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "interval" varchar(255)) 
839
+  (2.1ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
840
+  (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
841
+  (2.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
842
+  (0.2ms) SELECT version FROM "schema_migrations"
843
+  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130520163946')
844
+  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130318201927')
845
+  (2.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130318204455')
846
+  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130318204458')
847
+  (2.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130318204502')
848
+ Connecting to database specified by database.yml
849
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
850
+  (0.9ms) select sqlite_version(*)
851
+  (3.6ms) DROP TABLE "coupons"
852
+  (2.1ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
853
+  (2.3ms) DROP TABLE "customers"
854
+  (2.6ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
855
+  (2.2ms) DROP TABLE "plans"
856
+  (2.3ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "interval" varchar(255))
857
+  (2.1ms) DROP TABLE "subscriptions"
858
+  (2.6ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
859
+  (0.3ms) SELECT version FROM "schema_migrations"
860
+ Connecting to database specified by database.yml
861
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
862
+  (1.4ms) select sqlite_version(*)
863
+  (3.6ms) DROP TABLE "coupons"
864
+  (2.4ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
865
+  (3.0ms) DROP TABLE "customers"
866
+  (2.7ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
867
+  (1.9ms) DROP TABLE "plans"
868
+  (2.7ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "interval" varchar(255))
869
+  (2.3ms) DROP TABLE "subscriptions"
870
+  (2.7ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
871
+  (0.3ms) SELECT version FROM "schema_migrations"
872
+ Connecting to database specified by database.yml
873
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
874
+  (0.9ms) select sqlite_version(*)
875
+  (2.3ms) DROP TABLE "coupons"
876
+  (2.1ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
877
+  (2.1ms) DROP TABLE "customers"
878
+  (2.9ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
879
+  (2.5ms) DROP TABLE "plans"
880
+  (2.7ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "interval" varchar(255))
881
+  (2.1ms) DROP TABLE "subscriptions"
882
+  (2.9ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
883
+  (0.5ms) SELECT version FROM "schema_migrations"
884
+ Connecting to database specified by database.yml
885
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
886
+  (1.2ms) select sqlite_version(*)
887
+  (3.4ms) DROP TABLE "coupons"
888
+  (4.4ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
889
+  (2.5ms) DROP TABLE "customers"
890
+  (2.6ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
891
+  (3.1ms) DROP TABLE "plans"
892
+  (2.6ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "interval" varchar(255))
893
+  (3.0ms) DROP TABLE "subscriptions"
894
+  (2.5ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
895
+  (0.5ms) SELECT version FROM "schema_migrations"
896
+ Connecting to database specified by database.yml
897
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
898
+  (1.0ms) select sqlite_version(*)
899
+  (3.6ms) DROP TABLE "coupons"
900
+  (2.2ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
901
+  (2.1ms) DROP TABLE "customers"
902
+  (2.9ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
903
+  (2.2ms) DROP TABLE "plans"
904
+  (2.3ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "interval" varchar(255))
905
+  (2.2ms) DROP TABLE "subscriptions"
906
+  (2.7ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
907
+  (0.5ms) SELECT version FROM "schema_migrations"
908
+ Connecting to database specified by database.yml
909
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
910
+  (1.1ms) select sqlite_version(*)
911
+  (3.6ms) DROP TABLE "coupons"
912
+  (2.2ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
913
+  (2.5ms) DROP TABLE "customers"
914
+  (2.8ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
915
+  (2.2ms) DROP TABLE "plans"
916
+  (2.2ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "interval" varchar(255))
917
+  (2.2ms) DROP TABLE "subscriptions"
918
+  (2.2ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
919
+  (0.5ms) SELECT version FROM "schema_migrations"
920
+ Connecting to database specified by database.yml
921
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
922
+  (0.5ms) select sqlite_version(*)
923
+  (6.4ms) DROP TABLE "coupons"
924
+  (1.9ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "free_trial_length" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
925
+  (3.1ms) DROP TABLE "customers"
926
+  (3.4ms) CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
927
+  (2.8ms) DROP TABLE "plans"
928
+  (2.8ms) CREATE TABLE "plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "stripe_id" varchar(255), "price" float, "features" text, "highlight" boolean, "display_order" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "interval" varchar(255))
929
+  (2.7ms) DROP TABLE "subscriptions"
930
+  (1.4ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "plan_id" integer, "last_four" varchar(255), "coupon_id" integer, "card_type" varchar(255), "current_price" float, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
931
+  (0.2ms) SELECT version FROM "schema_migrations"