Remove workshop_expirations column (#20250)

This commit is contained in:
Anna Buianova 2023-10-18 13:21:45 +03:00 committed by GitHub
parent ade6bf5f1f
commit 2fa55e4b34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View file

@ -0,0 +1,7 @@
class RemoveWorkshopExpirationFromUsers < ActiveRecord::Migration[7.0]
def change
safety_assured do
remove_column :users, :workshop_expiration
end
end
end

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.0].define(version: 2023_10_05_040352) do
ActiveRecord::Schema[7.0].define(version: 2023_10_17_120855) do
# These are extensions that must be enabled in order to support this database
enable_extension "citext"
enable_extension "ltree"
@ -1304,7 +1304,6 @@ ActiveRecord::Schema[7.0].define(version: 2023_10_05_040352) do
t.integer "unspent_credits_count", default: 0, null: false
t.datetime "updated_at", precision: nil, null: false
t.string "username"
t.datetime "workshop_expiration", precision: nil
t.index "to_tsvector('simple'::regconfig, COALESCE((name)::text, ''::text))", name: "index_users_on_name_as_tsvector", using: :gin
t.index "to_tsvector('simple'::regconfig, COALESCE((username)::text, ''::text))", name: "index_users_on_username_as_tsvector", using: :gin
t.index ["apple_username"], name: "index_users_on_apple_username"