Chatwoot/db/migrate/20170424171708_create_subscriptions.rb
Pranav Raj Sreepuram 2a34255e0b Initial Commit
Co-authored-by: Subin <subinthattaparambil@gmail.com>
Co-authored-by: Manoj <manojmj92@gmail.com>
Co-authored-by: Nithin <webofnithin@gmail.com>
2019-08-14 15:18:44 +05:30

12 lines
313 B
Ruby

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