From 7a76214701cbab3e37579a1f5b6016d6782b3296 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Sat, 18 Dec 2021 19:09:59 +0530 Subject: [PATCH] mark avg_traffic and peak_sustainable_traffic in mcaptcha_sitekey_user_provided_avg_traffic as non-nullable --- ...218133703_change_user_provided_avg_traffic_col_datatype.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 migrations/20211218133703_change_user_provided_avg_traffic_col_datatype.sql diff --git a/migrations/20211218133703_change_user_provided_avg_traffic_col_datatype.sql b/migrations/20211218133703_change_user_provided_avg_traffic_col_datatype.sql new file mode 100644 index 00000000..4d2aa195 --- /dev/null +++ b/migrations/20211218133703_change_user_provided_avg_traffic_col_datatype.sql @@ -0,0 +1,3 @@ +ALTER TABLE mcaptcha_sitekey_user_provided_avg_traffic + ALTER COLUMN avg_traffic SET NOT NULL, + ALTER COLUMN peak_sustainable_traffic SET NOT NULL;