Revert "DB: drop active column from adminsitrateurs table"

This reverts commit 2cb8041560.
This commit is contained in:
simon lehericey 2019-10-28 14:59:58 +01:00
parent 0d8405d37e
commit c6513318b8
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