chore: db migration add new table
This commit is contained in:
parent
e38e4c71d0
commit
6b8aa241eb
2 changed files with 15 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
||||||
|
-- CreateTable
|
||||||
|
CREATE TABLE "RunningNo" (
|
||||||
|
"key" TEXT NOT NULL,
|
||||||
|
"value" INTEGER NOT NULL,
|
||||||
|
|
||||||
|
CONSTRAINT "RunningNo_pkey" PRIMARY KEY ("key")
|
||||||
|
);
|
||||||
|
|
||||||
|
-- CreateIndex
|
||||||
|
CREATE UNIQUE INDEX "RunningNo_key_key" ON "RunningNo"("key");
|
||||||
|
|
@ -93,6 +93,11 @@ model RoleMenuComponentPermission {
|
||||||
updatedAt DateTime @updatedAt
|
updatedAt DateTime @updatedAt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
model RunningNo {
|
||||||
|
key String @id @unique
|
||||||
|
value Int
|
||||||
|
}
|
||||||
|
|
||||||
model UserMenuComponentPermission {
|
model UserMenuComponentPermission {
|
||||||
id String @id @default(uuid())
|
id String @id @default(uuid())
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue