0
0
Fork 0

Remove obsolete admin and moderator columns from users table (#29718)

This commit is contained in:
Claire 2024-03-22 17:22:36 +01:00 committed by GitHub
parent d71d26a3c9
commit 58376eedda
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 5 deletions

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.1].define(version: 2024_03_22_130318) do
ActiveRecord::Schema[7.1].define(version: 2024_03_22_161611) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -1170,7 +1170,6 @@ ActiveRecord::Schema[7.1].define(version: 2024_03_22_130318) do
t.integer "sign_in_count", default: 0, null: false
t.datetime "current_sign_in_at", precision: nil
t.datetime "last_sign_in_at", precision: nil
t.boolean "admin", default: false, null: false
t.string "confirmation_token"
t.datetime "confirmed_at", precision: nil
t.datetime "confirmation_sent_at", precision: nil
@ -1185,7 +1184,6 @@ ActiveRecord::Schema[7.1].define(version: 2024_03_22_130318) do
t.string "otp_backup_codes", array: true
t.bigint "account_id", null: false
t.boolean "disabled", default: false, null: false
t.boolean "moderator", default: false, null: false
t.bigint "invite_id"
t.string "chosen_languages", array: true
t.bigint "created_by_application_id"