CREATE TABLE users (
    id SERIAL PRIMARY KEY,
    username TEXT NOT NULL,
    password TEXT NOT NULL
);
CREATE UNIQUE INDEX users_uindex ON users(id);
CREATE TABLE user_usage(
    user_id INT REFERENCES users(id),
    recv INT8 NOT NULL DEFAULT 0,
    sent INT8 NOT NULL DEFAULT 0
);