This commit is contained in:
headlessdev
2025-04-11 16:51:50 +02:00
parent 638adac706
commit 3d4a8a05b3
28 changed files with 8367 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
-- CreateTable
CREATE TABLE "application" (
"id" SERIAL NOT NULL,
"name" TEXT NOT NULL,
"description" TEXT,
"icon" TEXT NOT NULL,
"publicURL" TEXT NOT NULL,
"localURL" TEXT,
CONSTRAINT "application_pkey" PRIMARY KEY ("id")
);

View File

@@ -0,0 +1,3 @@
# Please do not edit this file manually
# It should be added in your version-control system (e.g., Git)
provider = "postgresql"

24
prisma/schema.prisma Normal file
View File

@@ -0,0 +1,24 @@
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?
// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init
generator client {
provider = "prisma-client-js"
output = "../lib/generated/prisma"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
model application {
id Int @id @default(autoincrement())
name String
description String?
icon String
publicURL String
localURL String?
}