From c04353f2847606f24744bf62147c08351f348314 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Mon, 27 Dec 2021 12:14:56 -0500 Subject: [PATCH] Added not bull on db structure update for tag_type --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post.php b/post.php index d900d882..67f8cac4 100644 --- a/post.php +++ b/post.php @@ -894,7 +894,7 @@ if(isset($_GET['update_db'])){ mysqli_query($mysqli,"ALTER TABLE tags DROP tag_archived_at"); //Update 2 - mysqli_query($mysqli,"ALTER TABLE tags ADD tag_type INT(11) AFTER tag_name"); + mysqli_query($mysqli,"ALTER TABLE tags ADD tag_type INT(11) NOT NULL AFTER tag_name"); $_SESSION['alert_message'] = "Update Successful Database Structure Update Successful!";