From 2f0758e35171720b06fcf3f77eb1b56c5efcae73 Mon Sep 17 00:00:00 2001 From: slawkens Date: Sat, 26 Apr 2025 06:17:58 +0200 Subject: [PATCH] Update schema.sql --- install/includes/schema.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/includes/schema.sql b/install/includes/schema.sql index 36f5eb31..00a50f50 100644 --- a/install/includes/schema.sql +++ b/install/includes/schema.sql @@ -2,12 +2,12 @@ SET @myaac_database_version = 43; CREATE TABLE `myaac_account_actions` ( + `id` int NOT NULL AUTO_INCREMENT, `account_id` int NOT NULL, - `ip` int unsigned NOT NULL DEFAULT 0, - `ipv6` binary(16) NOT NULL DEFAULT 0, + `ip` varchar(45) NOT NULL DEFAULT '', `date` int NOT NULL DEFAULT 0, `action` varchar(255) NOT NULL DEFAULT '', - KEY (`account_id`) + PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8mb4; CREATE TABLE `myaac_admin_menu`