Added not bull on db structure update for tag_type

This commit is contained in:
johnnyq 2021-12-27 12:14:56 -05:00
parent 484d4fff82
commit c04353f284
1 changed files with 1 additions and 1 deletions

View File

@ -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!";