Revert "Merge pull request #5576 from tchak/soft-delete-users"
This reverts commitbf0d3914ce
, reversing changes made to503527459e
.
This commit is contained in:
parent
e0834bf4f5
commit
0307beecd6
5 changed files with 5 additions and 67 deletions
|
@ -1,6 +0,0 @@
|
|||
class AddDiscardReasonAndDiscardedAtToUsers < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_column :users, :discard_reason, :string
|
||||
add_column :users, :discarded_at, :datetime
|
||||
end
|
||||
end
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2020_09_16_113507) do
|
||||
ActiveRecord::Schema.define(version: 2020_09_02_103047) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -650,8 +650,6 @@ ActiveRecord::Schema.define(version: 2020_09_16_113507) do
|
|||
t.datetime "locked_at"
|
||||
t.bigint "instructeur_id"
|
||||
t.bigint "administrateur_id"
|
||||
t.string "discard_reason"
|
||||
t.datetime "discarded_at"
|
||||
t.index ["administrateur_id"], name: "index_users_on_administrateur_id"
|
||||
t.index ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true
|
||||
t.index ["email"], name: "index_users_on_email", unique: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue