docker-ftps/rootfs/app/init.sql

15 lines
319 B
MySQL
Raw Permalink Normal View History

2024-02-11 20:09:40 +00:00
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)
);