chore: remove unused virus_scans table

This commit is contained in:
simon lehericey 2024-04-15 21:29:04 +02:00
parent e3dbbf2009
commit b6a4f62184
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5
2 changed files with 6 additions and 11 deletions

View file

@ -0,0 +1,5 @@
class DropVirusScanTable < ActiveRecord::Migration[7.0]
def up
drop_table :virus_scans
end
end

View file

@ -10,7 +10,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.0].define(version: 2024_04_11_164502) do ActiveRecord::Schema[7.0].define(version: 2024_04_15_192417) do
# These are extensions that must be enabled in order to support this database # These are extensions that must be enabled in order to support this database
enable_extension "pg_buffercache" enable_extension "pg_buffercache"
enable_extension "pg_stat_statements" enable_extension "pg_stat_statements"
@ -1148,16 +1148,6 @@ ActiveRecord::Schema[7.0].define(version: 2024_04_11_164502) do
t.index ["unlock_token"], name: "index_users_on_unlock_token", unique: true t.index ["unlock_token"], name: "index_users_on_unlock_token", unique: true
end end
create_table "virus_scans", force: :cascade do |t|
t.string "blob_key"
t.bigint "champ_id"
t.datetime "created_at", precision: nil, null: false
t.datetime "scanned_at", precision: nil
t.string "status"
t.datetime "updated_at", precision: nil, null: false
t.index ["champ_id"], name: "index_virus_scans_on_champ_id"
end
create_table "without_continuation_mails", id: :serial, force: :cascade do |t| create_table "without_continuation_mails", id: :serial, force: :cascade do |t|
t.text "body" t.text "body"
t.datetime "created_at", precision: nil, null: false t.datetime "created_at", precision: nil, null: false