Files
astuto/db/migrate/20220701090736_create_tenants.rb
2022-07-18 10:47:54 +02:00

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