Merge pull request #4449 from betagouv/do_not_break_the_prod
Corrige la pr d'activation des admins
This commit is contained in:
commit
db8ba304e6
2 changed files with 2 additions and 6 deletions
|
@ -1,5 +0,0 @@
|
||||||
class DropActiveColumnFromAdministrateurs < ActiveRecord::Migration[5.2]
|
|
||||||
def change
|
|
||||||
remove_column :administrateurs, :active
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -10,7 +10,7 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# 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
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
|
@ -51,6 +51,7 @@ ActiveRecord::Schema.define(version: 2019_10_24_092136) do
|
||||||
t.string "email", default: "", null: false
|
t.string "email", default: "", null: false
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
|
t.boolean "active", default: false
|
||||||
t.string "encrypted_token"
|
t.string "encrypted_token"
|
||||||
t.index ["email"], name: "index_administrateurs_on_email", unique: true
|
t.index ["email"], name: "index_administrateurs_on_email", unique: true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue