Sha256: c3f8e53f282bb5c8ebbf7afdd4f9a1d1a7c1c8e169ec1d4ada8d717c5e42db8d

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

class CreateTangCoupons < ActiveRecord::Migration
  def change
    create_table :tang_coupons do |t|
      t.string :stripe_id
      t.string :duration
      t.integer :amount_off
      t.string :currency
      t.integer :duration_in_months
      t.integer :max_redemptions
      t.integer :percent_off
      t.timestamp :redeem_by

      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/20160929171450_create_tang_coupons.rb