[fix #2449] Migration: remove administrateur api_token column
This commit is contained in:
parent
88f7e888c3
commit
4300d7abf8
2 changed files with 6 additions and 2 deletions
|
@ -0,0 +1,5 @@
|
|||
class DeleteAPITokenColumnFromAdministrateur < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
remove_column :administrateurs, :api_token, :string
|
||||
end
|
||||
end
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue