Skip to content

Commit 3f2cc61

Browse files
committed
Add wifi information
1 parent f817a10 commit 3f2cc61

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ALTER TABLE "Venue" ADD COLUMN "wifiSsid" TEXT NULL DEFAULT NULL;
2+
ALTER TABLE "Venue" ADD COLUMN "wifiPassword" TEXT NULL DEFAULT NULL;

prisma/schema.prisma

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ model Venue {
146146
contactEmail String?
147147
contactPhone String?
148148
149+
wifiSsid String?
150+
wifiPassword String?
151+
149152
// Relations
150153
events Event[]
151154
}
@@ -387,4 +390,4 @@ model EventRestriction {
387390
title String
388391
details String?
389392
Events Event[]
390-
}
393+
}

src/customModelsEnhanceMap/Venue.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ export const venueEnhanceConfig: ModelConfig<"Venue"> = {
2020
zipCode: [],
2121
country: [],
2222
countryAbbreviation: [],
23-
stateAbbreviation: []
23+
stateAbbreviation: [],
24+
wifiSsid: [],
25+
wifiPassword: [],
2426
}
2527
}

0 commit comments

Comments
 (0)