mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-29 11:12:01 +08:00
Merge pull request #729 from ZmagoD/zd_SCI_1418
fixes bug with devise_security_extension [fixes SCI-1418]
This commit is contained in:
commit
a423315800
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