~edwargix/git.sr.ht

4ac215ac081c5a6154fc627cc7382887ae39435e — Adnan Maolood 2 years ago a00fc08
schema.sql: Add missing types
1 files changed, 10 insertions(+), 0 deletions(-)

M schema.sql
M schema.sql => schema.sql +10 -0
@@ 25,6 25,16 @@ CREATE TYPE webhook_event AS ENUM (
	'REPO_DELETED'
);

CREATE TYPE owner_repo_name AS (
	owner text,
	repo_name text
);

CREATE TYPE owner_id_repo_name AS (
	owner_id integer,
	repo_name text
);

CREATE TABLE "user" (
	id serial PRIMARY KEY,
	username character varying(256) UNIQUE,