Sha256: 121f72c937d2bed5ee2f2aba15eba7c0aa2ef3e21239e0a4fc3f7b503aae472d

Contents?: true

Size: 445 Bytes

Versions: 11

Compression:

Stored size: 445 Bytes

Contents

class CreateSubscriptions < ActiveRecord::Migration[4.2]
  def change
    create_table :pay_subscriptions do |t|
      t.references :owner
      t.string :name, null: false
      t.string :processor, null: false
      t.string :processor_id, null: false
      t.string :processor_plan, null: false
      t.integer :quantity, default: 1, null: false
      t.datetime :trial_ends_at
      t.datetime :ends_at

      t.timestamps
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pay-2.0.0 db/migrate/20170205020145_create_subscriptions.rb
pay-1.0.2 db/migrate/20170205020145_create_subscriptions.rb
pay-1.0.1 db/migrate/20170205020145_create_subscriptions.rb
pay-1.0.0 db/migrate/20170205020145_create_subscriptions.rb
pay-1.0.0.rc3 db/migrate/20170205020145_create_subscriptions.rb
pay-1.0.0.rc2 db/migrate/20170205020145_create_subscriptions.rb
pay-1.0.0.rc1 db/migrate/20170205020145_create_subscriptions.rb
pay-1.0.0.beta5 db/migrate/20170205020145_create_subscriptions.rb
pay-1.0.0.beta4 db/migrate/20170205020145_create_subscriptions.rb
pay-1.0.0.beta3 db/migrate/20170205020145_create_subscriptions.rb
pay-1.0.0.beta2 db/migrate/20170205020145_create_subscriptions.rb