Files
astuto/db/migrate/20240419160353_create_tenant_billings.rb
Riccardo Graziosi bea146e612 Add billing (#329)
2024-05-03 18:11:07 +02:00

12 lines
290 B
Ruby

class CreateTenantBillings < ActiveRecord::Migration[6.1]
def change
create_table :tenant_billings do |t|
t.references :tenant, null: false, foreign_key: true
t.integer :status, null: false, default: 0
t.datetime :trial_ends_at
t.timestamps
end
end
end