much cleaner sorting logic
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ CREATE TABLE "Link" (
|
||||
"id" SERIAL NOT NULL,
|
||||
"name" TEXT NOT NULL,
|
||||
"url" TEXT NOT NULL,
|
||||
"title" TEXT NOT NULL,
|
||||
"description" TEXT NOT NULL DEFAULT '',
|
||||
"collectionId" INTEGER NOT NULL,
|
||||
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
|
||||
@@ -58,7 +58,7 @@ model Link {
|
||||
id Int @id @default(autoincrement())
|
||||
name String
|
||||
url String
|
||||
title String
|
||||
description String @default("")
|
||||
|
||||
pinnedBy User[]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user