From 650f7246b49cec4cee68b1699567a2a8f171b6e0 Mon Sep 17 00:00:00 2001 From: Matt <42537402+0xACCE55@users.noreply.github.com> Date: Sat, 27 Jul 2024 11:06:39 +0800 Subject: [PATCH] Update ndb schema.sql Fix radusergroup table structure - add missing id primary key column --- raddb/mods-config/sql/main/ndb/schema.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/raddb/mods-config/sql/main/ndb/schema.sql b/raddb/mods-config/sql/main/ndb/schema.sql index 22b95f7d99eb..0648c5d47b95 100644 --- a/raddb/mods-config/sql/main/ndb/schema.sql +++ b/raddb/mods-config/sql/main/ndb/schema.sql @@ -125,9 +125,11 @@ CREATE TABLE radreply ( -- Table structure for table 'radusergroup' -- CREATE TABLE radusergroup ( + id int(11) unsigned NOT NULL auto_increment, username varchar(64) NOT NULL default '', groupname varchar(64) NOT NULL default '', priority int(11) NOT NULL default '1', + PRIMARY KEY (id), KEY username (username(32)) ) ENGINE=ndbcluster;