Removed columns that were ignored earlier (#20253)

This commit is contained in:
Anna Buianova 2023-10-19 19:22:40 +03:00 committed by GitHub
parent 20e242af0d
commit b84a871187
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 29 additions and 5 deletions

View file

@ -0,0 +1,7 @@
class RemoveTagsModChatChannelId < ActiveRecord::Migration[7.0]
def change
safety_assured do
remove_column :tags, :mod_chat_channel_id
end
end
end

View file

@ -0,0 +1,7 @@
class RemoveHtmlVariantsSuccessRate < ActiveRecord::Migration[7.0]
def change
safety_assured do
remove_column :html_variants, :success_rate
end
end
end

View file

@ -0,0 +1,7 @@
class RemoveListingsContactViaConnect < ActiveRecord::Migration[7.0]
def change
safety_assured do
remove_column :classified_listings, :contact_via_connect
end
end
end

View file

@ -0,0 +1,7 @@
class RemoveNotificationSettingsEmailConnectMessages < ActiveRecord::Migration[7.0]
def change
safety_assured do
remove_column :users_notification_settings, :email_connect_messages
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_17_120855) do
ActiveRecord::Schema[7.0].define(version: 2023_10_18_104337) do
# These are extensions that must be enabled in order to support this database
enable_extension "citext"
enable_extension "ltree"
@ -317,7 +317,6 @@ ActiveRecord::Schema[7.0].define(version: 2023_10_17_120855) do
t.datetime "bumped_at", precision: nil
t.string "cached_tag_list"
t.bigint "classified_listing_category_id"
t.boolean "contact_via_connect", default: false
t.datetime "created_at", precision: nil, null: false
t.datetime "expires_at", precision: nil
t.string "location"
@ -627,7 +626,6 @@ ActiveRecord::Schema[7.0].define(version: 2023_10_17_120855) do
t.text "html"
t.string "name"
t.boolean "published", default: false
t.float "success_rate", default: 0.0
t.string "target_tag"
t.datetime "updated_at", precision: nil, null: false
t.bigint "user_id"
@ -1123,7 +1121,6 @@ ActiveRecord::Schema[7.0].define(version: 2023_10_17_120855) do
t.datetime "created_at", precision: nil, null: false
t.integer "hotness_score", default: 0
t.string "keywords_for_search"
t.bigint "mod_chat_channel_id"
t.string "name"
t.string "pretty_name"
t.string "profile_image"
@ -1340,7 +1337,6 @@ ActiveRecord::Schema[7.0].define(version: 2023_10_17_120855) do
t.boolean "email_badge_notifications", default: true, null: false
t.boolean "email_comment_notifications", default: true, null: false
t.boolean "email_community_mod_newsletter", default: false, null: false
t.boolean "email_connect_messages", default: true, null: false
t.boolean "email_digest_periodic", default: false, null: false
t.boolean "email_follower_notifications", default: true, null: false
t.boolean "email_membership_newsletter", default: false, null: false