From c78de25652c7b4b313079ff26800050133a19ec9 Mon Sep 17 00:00:00 2001 From: Nutomic Date: Tue, 14 Jun 2022 05:20:01 +0000 Subject: [PATCH] Fix length of post_report.original_post_name db field (fixes #2311) (#2315) --- migrations/2022-06-13-124806_post_report_name_length/down.sql | 1 + migrations/2022-06-13-124806_post_report_name_length/up.sql | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 migrations/2022-06-13-124806_post_report_name_length/down.sql create mode 100644 migrations/2022-06-13-124806_post_report_name_length/up.sql diff --git a/migrations/2022-06-13-124806_post_report_name_length/down.sql b/migrations/2022-06-13-124806_post_report_name_length/down.sql new file mode 100644 index 00000000..f7b3a95e --- /dev/null +++ b/migrations/2022-06-13-124806_post_report_name_length/down.sql @@ -0,0 +1 @@ +alter table post_report alter column original_post_name type varchar(100); diff --git a/migrations/2022-06-13-124806_post_report_name_length/up.sql b/migrations/2022-06-13-124806_post_report_name_length/up.sql new file mode 100644 index 00000000..76631151 --- /dev/null +++ b/migrations/2022-06-13-124806_post_report_name_length/up.sql @@ -0,0 +1,2 @@ +-- adjust length limit to match post.name +alter table post_report alter column original_post_name type varchar(200); -- 2.44.1