Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Remove obsolete environment_id to fix project creation

天舟379747718329
diff --git a/backend/store/project.go b/backend/store/project.go
index 05aa7949a4..64e6d5ed62 100644
--- a/backend/store/project.go
+++ b/backend/store/project.go
@@ -117,12 +117,11 @@ func createProject(ctx context.Context, tx *Tx, create *api.ProjectCreate) (*api
INSERT INTO project (
creator_id,
updater_id,
- environment_id,
name,
key,
workflow_type
)
- VALUES (?, ?, ?, ?, ?, 'UI')
+ VALUES (?, ?, ?, ?, 'UI')
RETURNING id, row_status, creator_id, created_ts, updater_id, updated_ts, name, `+"`key`, workflow_type"+`
`,
create.CreatorId,