mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 11:47:56 +01:00
14 lines
318 B
Ruby
14 lines
318 B
Ruby
class CreateTenants < ActiveRecord::Migration[6.0]
|
|
def change
|
|
create_table :tenants do |t|
|
|
t.string :site_name, null: false
|
|
t.string :site_logo
|
|
t.string :subdomain, null: false, unique: true
|
|
t.string :locale, default: "en"
|
|
t.string :custom_url
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|