Sha256: e95351ac406708f8c2b4eabbe174fb763799818eecf32a959941ae5497a77848

Contents?: true

Size: 451 Bytes

Versions: 1

Compression:

Stored size: 451 Bytes

Contents

class CreateTangPlans < ActiveRecord::Migration
  def change
    create_table :tang_plans do |t|
      t.string :stripe_id
      t.integer :amount
      t.string :currency
      t.string :interval
      t.integer :interval_count
      t.string :name
      t.string :statement_descriptor
      t.integer :trial_period_days
      t.integer :order
      t.boolean :highlight, null: false, default: false

      t.timestamps null: false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tang-0.0.1 db/migrate/20160928173328_create_tang_plans.rb