From de78a1681a8a12e0a2fa7b5de289173578ebb048 Mon Sep 17 00:00:00 2001 From: zmagod Date: Tue, 4 Jul 2017 11:14:25 +0200 Subject: [PATCH] fixes bug with devise_security_extension [fixes SCI-1418] --- db/migrate/20170217141402_create_settings_table.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20170217141402_create_settings_table.rb b/db/migrate/20170217141402_create_settings_table.rb index 111349360..49ff21a4d 100644 --- a/db/migrate/20170217141402_create_settings_table.rb +++ b/db/migrate/20170217141402_create_settings_table.rb @@ -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