mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-26 20:43:36 -05:00
Remove unused
This commit is contained in:
@@ -769,7 +769,6 @@ export interface TournamentTeam {
|
||||
avatarImgId: number | null;
|
||||
isLooking: Generated<DBBoolean>;
|
||||
isPlaceholder: Generated<DBBoolean>;
|
||||
lfgVisibility: JSONColumnTypeNullable<AssociationIdentifier>;
|
||||
lfgNote: string | null;
|
||||
chatCode: Generated<string | null>;
|
||||
}
|
||||
|
||||
@@ -85,7 +85,6 @@ export async function findLookingTeamsByTournamentId(tournamentId: number) {
|
||||
.select(({ fn, eb }) => [
|
||||
"TournamentTeam.id",
|
||||
"TournamentTeam.isPlaceholder",
|
||||
"TournamentTeam.lfgVisibility as visibility",
|
||||
"TournamentTeam.lfgNote as note",
|
||||
"TournamentTeam.name as teamName",
|
||||
concatUserSubmittedImagePrefix(eb.ref("UserSubmittedImage.url")).as(
|
||||
|
||||
@@ -6,9 +6,6 @@ export function up(db) {
|
||||
db.prepare(
|
||||
/*sql*/ `alter table "TournamentTeam" add column "isPlaceholder" integer not null default 0`,
|
||||
).run();
|
||||
db.prepare(
|
||||
/*sql*/ `alter table "TournamentTeam" add column "lfgVisibility" text`,
|
||||
).run();
|
||||
db.prepare(
|
||||
/*sql*/ `alter table "TournamentTeam" add column "lfgNote" text`,
|
||||
).run();
|
||||
|
||||
Reference in New Issue
Block a user