mirror of
https://github.com/harness/drone.git
synced 2025-05-31 11:43:15 +00:00
fix: [CDE-62]: Fixing foreign key constraint in gitspaces table, making gits_infra_provisioned_id nullable (#2079)
This commit is contained in:
parent
2f8900e463
commit
7c2431c652
@ -142,7 +142,7 @@ CREATE TABLE gitspaces
|
||||
gits_updated BIGINT NOT NULL,
|
||||
gits_last_used BIGINT NOT NULL,
|
||||
gits_total_time_used BIGINT NOT NULL,
|
||||
gits_infra_provisioned_id INTEGER NOT NULL,
|
||||
gits_infra_provisioned_id INTEGER,
|
||||
gits_tracked_changes TEXT,
|
||||
UNIQUE (gits_gitspace_config_id, gits_space_id),
|
||||
CONSTRAINT fk_gits_gitspace_config_id FOREIGN KEY (gits_gitspace_config_id)
|
||||
|
@ -142,7 +142,7 @@ CREATE TABLE gitspaces
|
||||
gits_updated BIGINT NOT NULL,
|
||||
gits_last_used BIGINT NOT NULL,
|
||||
gits_total_time_used BIGINT NOT NULL,
|
||||
gits_infra_provisioned_id INTEGER NOT NULL,
|
||||
gits_infra_provisioned_id INTEGER,
|
||||
gits_tracked_changes TEXT,
|
||||
UNIQUE (gits_gitspace_config_id, gits_space_id),
|
||||
CONSTRAINT fk_gits_gitspace_config_id FOREIGN KEY (gits_gitspace_config_id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user