FlipFlop: enable for gestionnaire

This commit is contained in:
simon lehericey 2018-11-08 17:13:48 +01:00
parent 457bc13c75
commit 36621bffeb
7 changed files with 51 additions and 4 deletions

View file

@ -0,0 +1,5 @@
class AddFeaturesColumnToGestionnaires < ActiveRecord::Migration[5.2]
def change
add_column :gestionnaires, :features, :jsonb, null: false, default: {}
end
end

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2018_11_08_091339) do
ActiveRecord::Schema.define(version: 2018_11_08_151929) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -367,6 +367,7 @@ ActiveRecord::Schema.define(version: 2018_11_08_091339) do
t.datetime "updated_at"
t.text "encrypted_login_token"
t.datetime "login_token_created_at"
t.jsonb "features", default: {}, null: false
t.index ["email"], name: "index_gestionnaires_on_email", unique: true
t.index ["reset_password_token"], name: "index_gestionnaires_on_reset_password_token", unique: true
end