Skip to content

Commit

Permalink
Merge pull request #19 from ctrliq/devel
Browse files Browse the repository at this point in the history
Fix error with setting up db
  • Loading branch information
cigamit authored Apr 18, 2024
2 parents 18cbe69 + bb2f02a commit 6975f7e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/includes/db_upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
if ($new_db_version != $db_version) {
try {
switch ($db_version) {
case 0:
case 1:
case 2:
if (!db_column_exists('users', 'super')) {
db_execute("ALTER TABLE `users` ADD `super` tinyint(1) NOT NULL DEFAULT '0';");
Expand Down

0 comments on commit 6975f7e

Please sign in to comment.