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
Build and Push Docker Image to Gitea Container Registry / build-and-push (push) Successful in 3m51s
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user