Sha256: 0dde1d4df667c4dc9432c75687369bdda096d68bfd9b20c51ec66096ca78a38a

Contents?: true

Size: 414 Bytes

Versions: 1

Compression:

Stored size: 414 Bytes

Contents

class CreateTangSubscriptions < ActiveRecord::Migration
  def change
    create_table :tang_subscriptions do |t|
      t.string :stripe_id
      t.integer :customer_id, index: true
      t.integer :plan_id, index: true, foreign_key: true

      t.decimal :application_fee_percent
      t.integer :quantity
      t.decimal :tax_percent
      t.timestamp :trial_end

      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/20160929171640_create_tang_subscriptions.rb