mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
7 lines
197 B
Ruby
7 lines
197 B
Ruby
class ChangeTenantCustomUrlColumn < ActiveRecord::Migration[6.1]
|
|
def change
|
|
rename_column :tenants, :custom_url, :custom_domain
|
|
add_index :tenants, :custom_domain, unique: true
|
|
end
|
|
end
|