Added not bull on db structure update for tag_type
This commit is contained in:
2
post.php
2
post.php
@@ -894,7 +894,7 @@ if(isset($_GET['update_db'])){
|
|||||||
mysqli_query($mysqli,"ALTER TABLE tags DROP tag_archived_at");
|
mysqli_query($mysqli,"ALTER TABLE tags DROP tag_archived_at");
|
||||||
|
|
||||||
//Update 2
|
//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!";
|
$_SESSION['alert_message'] = "Update Successful Database Structure Update Successful!";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user