SQL
CREATE TABLE "git_connection_project" (
"projectId" varchar(36) PRIMARY KEY NOT NULL,
"gitConnectionId" varchar(36) NOT NULL,
"createdAt" datetime(3) NOT NULL DEFAULT (STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW')),
"updatedAt" datetime(3) NOT NULL DEFAULT (STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW')),
CONSTRAINT "FK_5affe1c6075bd7ac20297b7947c" FOREIGN KEY ("projectId") REFERENCES "project" ("id") ON DELETE CASCADE,
CONSTRAINT "FK_12a7fe192a1ee1d933e712e6b1c" FOREIGN KEY ("gitConnectionId") REFERENCES "git_connection" ("id") ON DELETE CASCADE
)
Columns
| Column | Data type | Allow null | Primary key | Actions |
|---|---|---|---|---|
projectId |
varchar(36) |
✓ | Rename | Drop | |
gitConnectionId |
varchar(36) |
Rename | Drop | ||
createdAt |
datetime(3) |
Rename | Drop | ||
updatedAt |
datetime(3) |
Rename | Drop |
Foreign Keys
| Column | Destination |
|---|---|
gitConnectionId |
git_connection.id |
projectId |
project.id |
Indexes
| Name | Columns | Unique | SQL | Drop? |
|---|---|---|---|---|
| IDX_12a7fe192a1ee1d933e712e6b1 |
gitConnectionId
|
SQL | Drop | |
| sqlite_autoindex_git_connection_project_1 |
projectId
|
✓ | SQL | Drop |