Merge pull request #729 from ZmagoD/zd_SCI_1418

fixes bug with devise_security_extension [fixes SCI-1418]
This commit is contained in:
Zmago Devetak 2017-07-25 14:36:05 +02:00 committed by GitHub
commit a423315800

View file

@ -2,7 +2,7 @@ class CreateSettingsTable < ActiveRecord::Migration[4.2]
def change
create_table :settings do |t|
t.text :type, null: false
t.jsonb :values, null: false, default: '{}'
t.jsonb :values, null: false, default: {}
end
add_index(:settings, :type, unique: true)
end