]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
radusergroup needs a primary key too, else PgAdmin (rightly) refuses to work with it
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 1 Dec 2013 21:37:50 +0000 (16:37 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 1 Dec 2013 21:38:56 +0000 (21:38 +0000)
raddb/mods-config/sql/main/postgresql/schema.sql

index 1f5b86ac4294267ded56dbd7441bba71ad0bdd89..e9bab965b1b9ee7505793bf151a6993a7fb1dbe1 100644 (file)
@@ -132,6 +132,7 @@ create index radreply_UserName on radreply (UserName,Attribute);
  * Table structure for table 'radusergroup'
  */
 CREATE TABLE radusergroup (
+       id              SERIAL PRIMARY KEY,
        UserName        VARCHAR(64) NOT NULL DEFAULT '',
        GroupName       VARCHAR(64) NOT NULL DEFAULT '',
        priority        INTEGER NOT NULL DEFAULT 0