feat(permissions): Adds server permissions

This commit is contained in:
Michel Fedde 2025-06-24 20:58:46 +02:00
parent d46bbd84c5
commit cf9c88a2d6
24 changed files with 415 additions and 69 deletions

View file

@ -0,0 +1,37 @@
import {DatabaseDefinition} from "../DatabaseDefinition";
export type DBServerConfiguration = {
id: number;
serverid: string;
key: string,
value: string
}
const dbDefinition: DatabaseDefinition = {
name: "serverConfiguration",
columns: [
{
name: "id",
type: "INTEGER",
autoIncrement: true,
primaryKey: true,
},
{
name: "serverid",
type: "VARCHAR",
size: 32
},
{
name: "key",
type: "VARCHAR",
size: 32
},
{
name: "value",
type: "VARCHAR",
size: 2 ^ 11
}
]
}
export default dbDefinition;