order number support
This commit is contained in:
@@ -8,7 +8,7 @@ datasource db {
|
||||
}
|
||||
|
||||
model BlogPost {
|
||||
id String @id @default(uuid()) @map("_id")
|
||||
id Int @id @default(autoincrement())
|
||||
name String
|
||||
image String
|
||||
contents String
|
||||
@@ -23,7 +23,7 @@ model BlogPost {
|
||||
}
|
||||
|
||||
model Post {
|
||||
id String @id @default(uuid()) @map("_id")
|
||||
id Int @id @default(autoincrement())
|
||||
type String
|
||||
name String
|
||||
reviewContents String
|
||||
@@ -38,9 +38,10 @@ model Post {
|
||||
}
|
||||
|
||||
model SocialLink {
|
||||
id String @id @default(uuid()) @map("_id")
|
||||
id Int @id @default(autoincrement())
|
||||
name String
|
||||
url String
|
||||
orderNumber Int @default(0)
|
||||
|
||||
@@index([name])
|
||||
}
|
||||
@@ -85,7 +86,7 @@ model User {
|
||||
}
|
||||
|
||||
model VerificationToken {
|
||||
identifier String @id @map("_id")
|
||||
identifier String
|
||||
token String @unique
|
||||
expires DateTime
|
||||
|
||||
|
||||
Reference in New Issue
Block a user