feat: add PostgreSQL schema initialization and FreeRADIUS SQL module configuration
Build and Push Docker Image to Gitea Container Registry / build-and-push (push) Successful in 3m51s

This commit is contained in:
Tygozwolle
2026-07-24 14:10:25 +02:00
parent fd133bf9f3
commit f7663a284e
2 changed files with 25 additions and 1 deletions
+9
View File
@@ -86,6 +86,15 @@ CREATE TABLE IF NOT EXISTS nas (
description VARCHAR(200) DEFAULT 'RADIUS Client'
);
CREATE TABLE IF NOT EXISTS radpostauth (
id BIGSERIAL PRIMARY KEY,
username VARCHAR(64) NOT NULL DEFAULT '',
pass VARCHAR(64) NOT NULL DEFAULT '',
reply VARCHAR(32) NOT NULL DEFAULT '',
authdate TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP
);
CREATE INDEX IF NOT EXISTS radpostauth_username ON radpostauth (username);
-- Application Management Tables
CREATE TABLE IF NOT EXISTS guest_profiles (
id SERIAL PRIMARY KEY,