[fix #2449] Migration: remove administrateur api_token column

This commit is contained in:
simon lehericey 2018-09-26 17:16:44 +02:00
parent 88f7e888c3
commit 4300d7abf8
2 changed files with 6 additions and 2 deletions

View file

@ -0,0 +1,5 @@
class DeleteAPITokenColumnFromAdministrateur < ActiveRecord::Migration[5.2]
def change
remove_column :administrateurs, :api_token, :string
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_09_25_084403) do
ActiveRecord::Schema.define(version: 2018_09_26_145604) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -50,7 +50,6 @@ ActiveRecord::Schema.define(version: 2018_09_25_084403) do
t.string "last_sign_in_ip"
t.datetime "created_at"
t.datetime "updated_at"
t.string "api_token"
t.boolean "active", default: false
t.jsonb "features", default: {}, null: false
t.string "encrypted_token"