Wichige änderung an DB

This commit is contained in:
Timo Knuth
2025-11-05 12:02:59 +01:00
parent 2f0208ebf9
commit f31992b952
37 changed files with 2774 additions and 2596 deletions

View File

@@ -2,7 +2,8 @@
// learn more about it in the docs: https://pris.ly/d/prisma-schema
generator client {
provider = "prisma-client-js"
provider = "prisma-client-js"
binaryTargets = ["native", "debian-openssl-3.0.x"]
}
datasource db {
@@ -101,10 +102,9 @@ enum QRType {
enum ContentType {
URL
WIFI
VCARD
GEO
PHONE
EMAIL
SMS
TEXT
WHATSAPP

View File

@@ -50,11 +50,18 @@ async function main() {
slug: 'company-website-qr',
},
{
title: 'Contact Email',
contentType: 'EMAIL' as const,
content: { email: 'contact@company.com', subject: 'Inquiry' },
tags: ['contact', 'email'],
slug: 'contact-email-qr',
title: 'Contact Card',
contentType: 'VCARD' as const,
content: {
firstName: 'John',
lastName: 'Doe',
email: 'john@company.com',
phone: '+1234567890',
organization: 'Example Corp',
title: 'CEO'
},
tags: ['contact', 'vcard'],
slug: 'contact-card-qr',
},
{
title: 'Event Details',