From 3cfccd433b7d3cf37bc0c2783b18934ffcc69349 Mon Sep 17 00:00:00 2001 From: hwatson Date: Fri, 21 Oct 2022 11:23:36 +0100 Subject: [PATCH] Rename add_cve_column up/down migrations and remove field type in down migration --- .../configs/sql/migrations/003_add_cve_column.down.sql | 1 + .../{003_add_cve_column_up.sql => 003_add_cve_column.up.sql} | 0 .../configs/sql/migrations/003_add_cve_column_down.sql | 1 - 3 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 enrichment_service/configs/sql/migrations/003_add_cve_column.down.sql rename enrichment_service/configs/sql/migrations/{003_add_cve_column_up.sql => 003_add_cve_column.up.sql} (100%) delete mode 100644 enrichment_service/configs/sql/migrations/003_add_cve_column_down.sql diff --git a/enrichment_service/configs/sql/migrations/003_add_cve_column.down.sql b/enrichment_service/configs/sql/migrations/003_add_cve_column.down.sql new file mode 100644 index 0000000..76f20dd --- /dev/null +++ b/enrichment_service/configs/sql/migrations/003_add_cve_column.down.sql @@ -0,0 +1 @@ +ALTER TABLE issues DROP COLUMN cve; \ No newline at end of file diff --git a/enrichment_service/configs/sql/migrations/003_add_cve_column_up.sql b/enrichment_service/configs/sql/migrations/003_add_cve_column.up.sql similarity index 100% rename from enrichment_service/configs/sql/migrations/003_add_cve_column_up.sql rename to enrichment_service/configs/sql/migrations/003_add_cve_column.up.sql diff --git a/enrichment_service/configs/sql/migrations/003_add_cve_column_down.sql b/enrichment_service/configs/sql/migrations/003_add_cve_column_down.sql deleted file mode 100644 index d85ccef..0000000 --- a/enrichment_service/configs/sql/migrations/003_add_cve_column_down.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE issues DROP COLUMN cve text; \ No newline at end of file