CREATE TABLE rs_user (
	uid	SERIAL PRIMARY KEY,
	nom	VARCHAR(64),
	pass	VARCHAR(64));

CREATE TABLE rs_msg (
	mid	SERIAL PRIMARY KEY,
	uid	INTEGER,
	ts	INTEGER,
	msg	VARCHAR(150));

CREATE TABLE rs_sub (
	uid	INTEGER,
	subuid	INTEGER);
