From 67c3af8f8c9bd363f78fcce0c9d08958503918af Mon Sep 17 00:00:00 2001 From: hitlerrip Date: Sat, 2 Aug 2025 22:29:54 +0200 Subject: anon clicks added api for anonymous clicks --- backend/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/index.php') 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(); -- cgit v1.2.3