Merge pull request #4449 from betagouv/do_not_break_the_prod

Corrige la pr d'activation des admins
This commit is contained in:
LeSim 2019-10-28 15:08:10 +01:00 committed by GitHub
commit db8ba304e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View file

@ -1,5 +0,0 @@
class DropActiveColumnFromAdministrateurs < ActiveRecord::Migration[5.2]
def change
remove_column :administrateurs, :active
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: 2019_10_24_092136) do
ActiveRecord::Schema.define(version: 2019_10_23_183120) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -51,6 +51,7 @@ ActiveRecord::Schema.define(version: 2019_10_24_092136) do
t.string "email", default: "", null: false
t.datetime "created_at"
t.datetime "updated_at"
t.boolean "active", default: false
t.string "encrypted_token"
t.index ["email"], name: "index_administrateurs_on_email", unique: true
end