mirror of
https://github.com/MichaByte/OnBoard-Live.git
synced 2025-12-06 10:43:41 -05:00
50% done with submission flow i think
This commit is contained in:
parent
f57c38250a
commit
25dbca5c56
7 changed files with 218 additions and 44 deletions
|
|
@ -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