Fix typo in column name

This commit is contained in:
Kalle (Sendou)
2021-10-25 16:41:51 +03:00
parent c564acd35b
commit 0d58117a85
5 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
export interface GetTournamentByOrganizationAndName {
name: string;
desription: string | null;
description: string | null;
startTime: Date;
checkInTime: Date;
bannerBackground: string;

View File

@@ -33,7 +33,7 @@ CREATE TABLE "Tournament" (
"id" SERIAL NOT NULL,
"name" TEXT NOT NULL,
"nameForUrl" TEXT NOT NULL,
"desription" TEXT,
"description" TEXT,
"startTime" TIMESTAMP(3) NOT NULL,
"checkInTime" TIMESTAMP(3) NOT NULL,
"bannerBackground" TEXT NOT NULL,

View File

@@ -43,7 +43,7 @@ model Tournament {
name String
/// Name in lower case to show in URL
nameForUrl String
desription String?
description String?
startTime DateTime
checkInTime DateTime
/// CSS for tournament banner's background value

View File

@@ -46,7 +46,7 @@ async function tournaments(organizationId: number) {
name: "In The Zone X",
nameForUrl: "in-the-zone-x",
organizerId: organizationId,
desription: "In The Zone eXtreme",
description: "In The Zone eXtreme",
},
});
}

View File

@@ -13,7 +13,7 @@ export async function findTournamentByNameForUrl({
},
select: {
name: true,
desription: true,
description: true,
startTime: true,
checkInTime: true,
bannerBackground: true,