mirror of
https://github.com/hempyhemp/hh-auto-reply.git
synced 2026-06-08 18:04:57 +00:00
🎨 Изменение(bot-commands): Обновлено отображение списка пропущенных вакансий
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
-- CreateTable
|
||||
CREATE TABLE "SkippedVacancy" (
|
||||
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
|
||||
"telegramId" BIGINT NOT NULL,
|
||||
"href" TEXT NOT NULL,
|
||||
"title" TEXT NOT NULL,
|
||||
"createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
|
||||
-- CreateIndex
|
||||
CREATE UNIQUE INDEX "SkippedVacancy_telegramId_href_key" ON "SkippedVacancy"("telegramId", "href");
|
||||
@@ -42,3 +42,13 @@ model Settings {
|
||||
maxApplies Int @default(1)
|
||||
selectedResumeId String?
|
||||
}
|
||||
|
||||
model SkippedVacancy {
|
||||
id Int @id @default(autoincrement())
|
||||
telegramId BigInt
|
||||
href String
|
||||
title String
|
||||
createdAt DateTime @default(now())
|
||||
|
||||
@@unique([telegramId, href])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user