mirror of
https://github.com/astuto/astuto.git
synced 2025-12-14 18:57:51 +01:00
12 lines
290 B
Ruby
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
|