CREATE TABLE repositories (
    id SERIAL NOT NULL PRIMARY KEY,
    name varchar(255) NOT NULL,
    description varchar(255) NOT NULL,
    owner bigint UNSIGNED NOT NULL,
    created timestamp NOT NULL DEFAULT current_timestamp(),
    CONSTRAINT fk_owner_id FOREIGN KEY (owner) REFERENCES users (id)
);
