Chatwoot/db/migrate/20210109211805_add_ui_settings_to_users.rb

10 lines
199 B
Ruby
Raw Normal View History

class AddUiSettingsToUsers < ActiveRecord::Migration[6.0]
def up
add_column :users, :ui_settings, :jsonb, default: {}
end
def down
remove_column :users, :ui_settings, :jsonb
end
end