docker-ftps/rootfs/app/init.sql
Paolo Asperti 8289114ee6
All checks were successful
continuous-integration/drone/push Build is passing
sql auth and healthcheck
2024-02-11 21:09:40 +01:00

15 lines
319 B
SQL

CREATE TABLE `users` (
userid VARCHAR(30) NOT NULL UNIQUE,
passwd VARCHAR(80) NOT NULL,
uid INTEGER UNIQUE,
gid INTEGER,
homedir VARCHAR(255),
shell VARCHAR(255),
last_accessed DATETIME
);
CREATE TABLE `groups` (
groupname VARCHAR(30) NOT NULL UNIQUE,
gid INTEGER NOT NULL,
members VARCHAR(255)
);