Wichige änderung an DB
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user