aboutsummaryrefslogtreecommitdiff
path: root/backend/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'backend/index.php')
-rw-r--r--backend/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/index.php b/backend/index.php
index 844e0f8..7de8d0a 100644
--- a/backend/index.php
+++ b/backend/index.php
@@ -15,11 +15,11 @@ try {
};
/*
-*/
$query = $pdo->prepare("DROP TABLE `hitlerclicker`.`stats`");
$query->execute();
$query = $pdo->prepare("DROP TABLE `hitlerclicker`.`users`");
$query->execute();
+*/
$query = $pdo->prepare("CREATE TABLE IF NOT EXISTS `hitlerclicker`.`stats` ( `team` VARCHAR(256) NOT NULL DEFAULT uuid() , `clicks` INT(128) unsigned NOT NULL DEFAULT '0' , `fromanon` INT(128) unsigned NOT NULL DEFAULT '0' , PRIMARY KEY (`team`) ) ENGINE = InnoDB;");
$query->execute();