From 1fd67fe588157a9883da0afd325c3bba57bdef13 Mon Sep 17 00:00:00 2001 From: evlekht Date: Wed, 27 Nov 2024 21:42:50 +0400 Subject: [PATCH] Increase proposal options column size to fit max len general proposal options (#69) --- .gitignore | 3 +++ .../db/migrations/055_increase_proposals_options_len.down.sql | 2 ++ .../db/migrations/055_increase_proposals_options_len.up.sql | 2 ++ 3 files changed, 7 insertions(+) create mode 100644 services/db/migrations/055_increase_proposals_options_len.down.sql create mode 100644 services/db/migrations/055_increase_proposals_options_len.up.sql diff --git a/.gitignore b/.gitignore index c7937bc04..35e809422 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,6 @@ vendor .secrets config.json .pre-commit-config.yaml + + +build \ No newline at end of file diff --git a/services/db/migrations/055_increase_proposals_options_len.down.sql b/services/db/migrations/055_increase_proposals_options_len.down.sql new file mode 100644 index 000000000..9b6cf15d3 --- /dev/null +++ b/services/db/migrations/055_increase_proposals_options_len.down.sql @@ -0,0 +1,2 @@ +ALTER TABLE `dac_proposals` +MODIFY `options` VARBINARY(1024) NOT NULL; \ No newline at end of file diff --git a/services/db/migrations/055_increase_proposals_options_len.up.sql b/services/db/migrations/055_increase_proposals_options_len.up.sql new file mode 100644 index 000000000..9be7919aa --- /dev/null +++ b/services/db/migrations/055_increase_proposals_options_len.up.sql @@ -0,0 +1,2 @@ +ALTER TABLE `dac_proposals` +MODIFY `options` VARBINARY(2048) NOT NULL; \ No newline at end of file