Chatwoot/db/migrate/20191024062958_add_website_token_to_web_widget.rb
Pranav Raj S 16fe912fbd
[Feature] Website live chat (#187)
Co-authored-by: Nithin David Thomas <webofnithin@gmail.com>
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2019-10-29 12:50:54 +05:30

6 lines
213 B
Ruby

class AddWebsiteTokenToWebWidget < ActiveRecord::Migration[6.1]
def change
add_column :channel_web_widgets, :website_token, :string
add_index :channel_web_widgets, :website_token, unique: true
end
end