Start reworking join_project
to use the database
This commit is contained in:
parent
6cbf197226
commit
be523617c9
3 changed files with 164 additions and 34 deletions
|
@ -62,6 +62,9 @@ CREATE TABLE "worktrees" (
|
|||
"id" INTEGER NOT NULL,
|
||||
"project_id" INTEGER NOT NULL REFERENCES projects (id) ON DELETE CASCADE,
|
||||
"root_name" VARCHAR NOT NULL,
|
||||
"visible" BOOL NOT NULL,
|
||||
"scan_id" INTEGER NOT NULL,
|
||||
"is_complete" BOOL NOT NULL,
|
||||
PRIMARY KEY(project_id, id)
|
||||
);
|
||||
CREATE INDEX "index_worktrees_on_project_id" ON "worktrees" ("project_id");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue