mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-27 10:08:11 +08:00
fixes bug with devise_security_extension [fixes SCI-1418]
This commit is contained in:
parent
75c887ce7d
commit
de78a1681a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue