mirror of
https://github.com/hempyhemp/hh-auto-reply.git
synced 2026-06-08 18:04:57 +00:00
init
This commit is contained in:
8
prisma/migrations/20260506144645_settings/migration.sql
Normal file
8
prisma/migrations/20260506144645_settings/migration.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
-- CreateTable
|
||||
CREATE TABLE "Settings" (
|
||||
"id" TEXT NOT NULL PRIMARY KEY,
|
||||
"telegramId" BIGINT NOT NULL,
|
||||
"searchQuery" TEXT NOT NULL DEFAULT 'Vue',
|
||||
"maxApplies" INTEGER NOT NULL DEFAULT 1,
|
||||
CONSTRAINT "Settings_telegramId_fkey" FOREIGN KEY ("telegramId") REFERENCES "User" ("telegramId") ON DELETE CASCADE ON UPDATE CASCADE
|
||||
);
|
||||
Reference in New Issue
Block a user