Remove unused small download album column

This commit is contained in:
Jorge Vargas 2025-04-03 22:48:50 -06:00
parent 628e4cee5f
commit 13a7f99a5d
4 changed files with 11 additions and 6 deletions

View file

@ -0,0 +1,8 @@
/*
Warnings:
- You are about to drop the column `small` on the `downloads` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE `downloads` DROP COLUMN `small`;

View file

@ -219,11 +219,10 @@ model discs {
}
model downloads {
id Int @id @default(autoincrement())
title String? @db.VarChar(255)
small Boolean?
id Int @id @default(autoincrement())
title String? @db.VarChar(255)
albumId Int
album albums? @relation(fields: [albumId], references: [id], onDelete: Cascade, map: "downloads_ibfk_1")
album albums? @relation(fields: [albumId], references: [id], onDelete: Cascade, map: "downloads_ibfk_1")
links links[]
}