mirror of
https://github.com/MichaByte/OnBoard-Live.git
synced 2025-12-06 12:03:40 -05:00
major refactoring + docker progress
This commit is contained in:
parent
ecb8a80f8b
commit
e75f8c944a
35 changed files with 227 additions and 104 deletions
10
backend/migrations/20240816163601_add_pr_model/migration.sql
Normal file
10
backend/migrations/20240816163601_add_pr_model/migration.sql
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
-- CreateTable
|
||||
CREATE TABLE "PullRequest" (
|
||||
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
|
||||
"userId" TEXT NOT NULL,
|
||||
"token" TEXT NOT NULL,
|
||||
CONSTRAINT "PullRequest_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User" ("id") ON DELETE RESTRICT ON UPDATE CASCADE
|
||||
);
|
||||
|
||||
-- CreateIndex
|
||||
CREATE UNIQUE INDEX "PullRequest_token_key" ON "PullRequest"("token");
|
||||
Loading…
Add table
Add a link
Reference in a new issue