Refactor requests, refactor users, add home dashboard
This commit is contained in:
9
prisma/migrations/20260101220549_com_5/migration.sql
Normal file
9
prisma/migrations/20260101220549_com_5/migration.sql
Normal file
@ -0,0 +1,9 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `sortIndex` on the `CommissionRequest` table. All the data in the column will be lost.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "CommissionRequest" DROP COLUMN "sortIndex",
|
||||
ADD COLUMN "index" SERIAL NOT NULL;
|
||||
@ -353,14 +353,14 @@ model CommissionTypeCustomInput {
|
||||
|
||||
model CommissionRequest {
|
||||
id String @id @default(cuid())
|
||||
index Int @default(autoincrement())
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
sortIndex Int @default(0)
|
||||
|
||||
customerName String
|
||||
customerEmail String
|
||||
message String
|
||||
status String @default("NEW") // NEW | REVIEWING | ACCEPTED | REJECTED | SPAM
|
||||
status String @default("NEW")
|
||||
|
||||
customerSocials String?
|
||||
ipAddress String?
|
||||
|
||||
Reference in New Issue
Block a user