fixes bug with devise_security_extension [fixes SCI-1418]

This commit is contained in:
zmagod 2017-07-04 11:14:25 +02:00
parent 75c887ce7d
commit de78a1681a

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