Sha256: a93f5ecd228b11675e9345e086cd71f70ddf7d5558c0176e97f9790225337257

Contents?: true

Size: 422 Bytes

Versions: 15

Compression:

Stored size: 422 Bytes

Contents

# This migration comes from paid_up (originally 20150407110101)
class CreatePaidUpPlansTable < ActiveRecord::Migration[5.2]
  def change
    create_table :paid_up_plans do |t|
      t.string :stripe_id
      t.string :title
      t.text :description
      t.integer :sort_order

      t.timestamps
    end
    add_index :paid_up_plans, :title, unique: true
    add_index :paid_up_plans, :stripe_id, unique: true
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
paid_up-0.13.22 spec/dummy/db/migrate/20160207184112_create_paid_up_plans_table.paid_up.rb
paid_up-0.13.21 spec/dummy/db/migrate/20160207184112_create_paid_up_plans_table.paid_up.rb
paid_up-0.13.17 spec/dummy/db/migrate/20160207184112_create_paid_up_plans_table.paid_up.rb
paid_up-0.13.16 spec/dummy/db/migrate/20160207184112_create_paid_up_plans_table.paid_up.rb
paid_up-0.13.14 spec/dummy/db/migrate/20160207184112_create_paid_up_plans_table.paid_up.rb
paid_up-0.13.13 spec/dummy/db/migrate/20160207184112_create_paid_up_plans_table.paid_up.rb
paid_up-0.13.12 spec/dummy/db/migrate/20160207184112_create_paid_up_plans_table.paid_up.rb
paid_up-0.13.11 spec/dummy/db/migrate/20160207184112_create_paid_up_plans_table.paid_up.rb
paid_up-0.13.10 spec/dummy/db/migrate/20160207184112_create_paid_up_plans_table.paid_up.rb
paid_up-0.13.9 spec/dummy/db/migrate/20160207184112_create_paid_up_plans_table.paid_up.rb
paid_up-0.13.8 spec/dummy/db/migrate/20160207184112_create_paid_up_plans_table.paid_up.rb
paid_up-0.13.7 spec/dummy/db/migrate/20160207184112_create_paid_up_plans_table.paid_up.rb
paid_up-0.13.6 spec/dummy/db/migrate/20160207184112_create_paid_up_plans_table.paid_up.rb
paid_up-0.13.5 spec/dummy/db/migrate/20160207184112_create_paid_up_plans_table.paid_up.rb
paid_up-0.13.4 spec/dummy/db/migrate/20160207184112_create_paid_up_plans_table.paid_up.rb