Chatwoot/db/migrate/20220919225556_make_help_center_custom_domain_unique.rb
Sojan Jose 99de8f4500
chore: Improve Helpcenter custom domains (#5456)
- Support rendering articles over frontend URL
- Support rendering articles over help center URL
- Support rendering help center home page in the custom domain root
2022-09-19 17:36:01 -07:00

5 lines
146 B
Ruby

class MakeHelpCenterCustomDomainUnique < ActiveRecord::Migration[6.1]
def change
add_index :portals, :custom_domain, unique: true
end
end