--up
CREATE TABLE service_quotas (
    id integer GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
    user_id integer NOT NULL REFERENCES users(id) ON DELETE CASCADE ON UPDATE RESTRICT,
    service text NOT NULL,
    "timestamp" timestamp NOT NULL DEFAULT NOW(),
    meta jsonb
);

--down
DROP TABLE service_quotas;
