greenlight/db/migrate/20190122210632_add_room_settings_to_room.rb
farhatahmad 2e8670a8ab GRN-11: Ability to configure room specific settings (#348)
* Added the ability to set room settings on create or update

* Added room settings alerts and made fixes to other alerts

* Small bug fixes related to rubocop and the create room modal

* Update test case and fixed issue with small edge case

* Update room.js
2019-02-06 11:08:18 -05:00

8 lines
176 B
Ruby

# frozen_string_literal: true
class AddRoomSettingsToRoom < ActiveRecord::Migration[5.0]
def change
add_column :rooms, :room_settings, :string, default: "{ }"
end
end