- Redesigned Footer.tsx with comprehensive layout including brand section, navigation links, social media icons, and contact info to improve user engagement and brand visibility - Updated DATABASE_URL in .env to correct Prisma database path for proper configuration and connectivity - Updated dependencies to support new UI components and ensure compatibility with enhanced features
28 lines
641 B
Plaintext
28 lines
641 B
Plaintext
generator client {
|
|
provider = "prisma-client-js"
|
|
}
|
|
|
|
datasource db {
|
|
provider = "sqlite"
|
|
url = env("DATABASE_URL")
|
|
}
|
|
|
|
model Lista {
|
|
id String @id
|
|
createdAt DateTime @default(now())
|
|
updatedAt DateTime @default(now()) @updatedAt
|
|
produtos Produtos[]
|
|
}
|
|
|
|
model Produtos {
|
|
id Int @id @default(autoincrement())
|
|
nome String
|
|
qtd Float
|
|
tipoUN String
|
|
comprado Boolean @default(false)
|
|
listaId String @default("default")
|
|
createdAt DateTime @default(now())
|
|
updatedAt DateTime @default(now()) @updatedAt
|
|
lista Lista @relation(fields: [listaId], references: [id])
|
|
}
|