mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
fix: reduce size of terraform modules archive (#17749)
This commit is contained in:
Generated
+5
-1
@@ -1440,7 +1440,8 @@ CREATE TABLE template_version_presets (
|
||||
CREATE TABLE template_version_terraform_values (
|
||||
template_version_id uuid NOT NULL,
|
||||
updated_at timestamp with time zone DEFAULT now() NOT NULL,
|
||||
cached_plan jsonb NOT NULL
|
||||
cached_plan jsonb NOT NULL,
|
||||
cached_module_files uuid
|
||||
);
|
||||
|
||||
CREATE TABLE template_version_variables (
|
||||
@@ -2850,6 +2851,9 @@ ALTER TABLE ONLY template_version_preset_parameters
|
||||
ALTER TABLE ONLY template_version_presets
|
||||
ADD CONSTRAINT template_version_presets_template_version_id_fkey FOREIGN KEY (template_version_id) REFERENCES template_versions(id) ON DELETE CASCADE;
|
||||
|
||||
ALTER TABLE ONLY template_version_terraform_values
|
||||
ADD CONSTRAINT template_version_terraform_values_cached_module_files_fkey FOREIGN KEY (cached_module_files) REFERENCES files(id);
|
||||
|
||||
ALTER TABLE ONLY template_version_terraform_values
|
||||
ADD CONSTRAINT template_version_terraform_values_template_version_id_fkey FOREIGN KEY (template_version_id) REFERENCES template_versions(id) ON DELETE CASCADE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user