DB: drop active column from adminsitrateurs table

This commit is contained in:
simon lehericey 2019-10-24 11:24:42 +02:00
parent 8ae592fe25
commit 2cb8041560
2 changed files with 6 additions and 2 deletions

View file

@ -0,0 +1,5 @@
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_23_183120) do
ActiveRecord::Schema.define(version: 2019_10_24_092136) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -51,7 +51,6 @@ ActiveRecord::Schema.define(version: 2019_10_23_183120) 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