mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 11:47:56 +01:00
15 lines
345 B
Ruby
15 lines
345 B
Ruby
class CreateTenantSettings < ActiveRecord::Migration[6.0]
|
|
def change
|
|
create_table :tenant_settings do |t|
|
|
t.integer :brand_display, null: false, default: 0
|
|
t.references :tenant, null: false, foreign_key: true
|
|
|
|
t.timestamps
|
|
end
|
|
|
|
change_table :tenants do |t|
|
|
t.remove :brand_display_setting
|
|
end
|
|
end
|
|
end
|