Chatwoot/db/migrate/20170424171708_create_subscriptions.rb

13 lines
313 B
Ruby
Raw Normal View History

class CreateSubscriptions < ActiveRecord::Migration[5.0]
def change
create_table :subscriptions do |t|
t.string :pricing_version
t.integer :account_id
t.datetime :expiry
t.string :billing_plan, default: 'trial'
t.string :stripe_customer_id
t.timestamps
end
end
end