blob: 37b0c79ae134bcfa8e88c8d63fc171fe009d2201 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
CREATE TABLE motd (
username text NOT NULL,
server_host text NOT NULL,
xml text,
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);
CREATE UNIQUE INDEX i_motd_sh_username ON motd (server_host, username);
|