|
|
|
@ -96,8 +96,8 @@ CREATE TABLE users (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE workspaces (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
name character varying(80) NOT NULL,
|
|
|
|
|
logo character varying(200),
|
|
|
|
@ -113,8 +113,8 @@ CREATE TABLE workspaces (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE projects (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
name character varying(255) NOT NULL,
|
|
|
|
|
description text NOT NULL,
|
|
|
|
@ -147,8 +147,8 @@ CREATE TABLE projects (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE modules (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
name character varying(255) NOT NULL,
|
|
|
|
|
description text NOT NULL,
|
|
|
|
@ -173,8 +173,8 @@ CREATE TABLE modules (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE pages (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
name character varying(255) NOT NULL,
|
|
|
|
|
description jsonb NOT NULL,
|
|
|
|
@ -198,8 +198,8 @@ CREATE TABLE pages (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE states (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
name character varying(255) NOT NULL,
|
|
|
|
|
description text NOT NULL,
|
|
|
|
@ -221,8 +221,8 @@ CREATE TABLE states (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE issues (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
name character varying(255) NOT NULL,
|
|
|
|
|
description jsonb NOT NULL,
|
|
|
|
@ -252,8 +252,8 @@ CREATE TABLE issues (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE issue_comments (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
comment_stripped text NOT NULL,
|
|
|
|
|
attachments character varying(200)[] NOT NULL,
|
|
|
|
@ -276,8 +276,8 @@ CREATE TABLE issue_comments (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE cycles (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
name character varying(255) NOT NULL,
|
|
|
|
|
description text NOT NULL,
|
|
|
|
@ -299,8 +299,8 @@ CREATE TABLE cycles (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE estimates (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
name character varying(255) NOT NULL,
|
|
|
|
|
description text NOT NULL,
|
|
|
|
@ -315,8 +315,8 @@ CREATE TABLE estimates (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE analytic_views (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
name character varying(255) NOT NULL,
|
|
|
|
|
description text NOT NULL,
|
|
|
|
@ -331,8 +331,8 @@ CREATE TABLE analytic_views (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE api_activity_logs (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
token_identifier character varying(255) NOT NULL,
|
|
|
|
|
path character varying(255) NOT NULL,
|
|
|
|
@ -350,8 +350,8 @@ CREATE TABLE api_activity_logs (
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
CREATE TABLE api_tokens (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
token character varying(255) NOT NULL,
|
|
|
|
|
label character varying(255) NOT NULL,
|
|
|
|
@ -449,8 +449,8 @@ CREATE TABLE authtoken_token (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE comment_reactions (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
reaction character varying(20) NOT NULL,
|
|
|
|
|
actor_id uuid NOT NULL,
|
|
|
|
@ -466,8 +466,8 @@ CREATE TABLE comment_reactions (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE cycle_favorites (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
created_by_id uuid,
|
|
|
|
|
cycle_id uuid NOT NULL REFERENCES cycles (id),
|
|
|
|
@ -482,8 +482,8 @@ CREATE TABLE cycle_favorites (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE cycle_issues (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
created_by_id uuid,
|
|
|
|
|
cycle_id uuid NOT NULL REFERENCES cycles (id),
|
|
|
|
@ -678,8 +678,8 @@ CREATE TABLE django_session (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE estimate_points (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
key integer NOT NULL,
|
|
|
|
|
description text NOT NULL,
|
|
|
|
@ -696,8 +696,8 @@ CREATE TABLE estimate_points (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE exporters (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
project uuid[],
|
|
|
|
|
provider character varying(50) NOT NULL,
|
|
|
|
@ -717,8 +717,8 @@ CREATE TABLE exporters (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE file_assets (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
attributes jsonb NOT NULL,
|
|
|
|
|
asset character varying(100) NOT NULL,
|
|
|
|
@ -733,8 +733,8 @@ CREATE TABLE file_assets (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE github_comment_syncs (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
repo_comment_id bigint NOT NULL,
|
|
|
|
|
comment_id uuid NOT NULL,
|
|
|
|
@ -750,8 +750,8 @@ CREATE TABLE github_comment_syncs (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE github_issue_syncs (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
repo_issue_id bigint NOT NULL,
|
|
|
|
|
github_issue_id bigint NOT NULL,
|
|
|
|
@ -769,8 +769,8 @@ CREATE TABLE github_issue_syncs (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE github_repositories (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
name character varying(500) NOT NULL,
|
|
|
|
|
url character varying(200),
|
|
|
|
@ -788,8 +788,8 @@ CREATE TABLE github_repositories (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE github_repository_syncs (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
credentials jsonb NOT NULL,
|
|
|
|
|
actor_id uuid NOT NULL,
|
|
|
|
@ -807,8 +807,8 @@ CREATE TABLE github_repository_syncs (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE global_views (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
name character varying(255) NOT NULL,
|
|
|
|
|
description text NOT NULL,
|
|
|
|
@ -827,8 +827,8 @@ CREATE TABLE global_views (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE importers (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
service character varying(50) NOT NULL,
|
|
|
|
|
status character varying(50) NOT NULL,
|
|
|
|
@ -849,8 +849,8 @@ CREATE TABLE importers (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE inbox_issues (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
status integer NOT NULL,
|
|
|
|
|
snoozed_till timestamp with time zone,
|
|
|
|
@ -871,8 +871,8 @@ CREATE TABLE inbox_issues (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE inboxes (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
name character varying(255) NOT NULL,
|
|
|
|
|
description text NOT NULL,
|
|
|
|
@ -889,8 +889,8 @@ CREATE TABLE inboxes (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE instance_admins (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
role roles NOT NULL,
|
|
|
|
|
is_verified boolean NOT NULL,
|
|
|
|
@ -905,8 +905,8 @@ CREATE TABLE instance_admins (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE instance_configurations (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
key character varying(100) NOT NULL,
|
|
|
|
|
value text,
|
|
|
|
@ -921,8 +921,8 @@ CREATE TABLE instance_configurations (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE instances (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at timestamp with time zone NOT NULL DEFAULT NOW(),
|
|
|
|
|
updated_at timestamp with time zone NOT NULL DEFAULT NOW(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
instance_name character varying(255) NOT NULL,
|
|
|
|
|
whitelist_emails text,
|
|
|
|
@ -948,8 +948,8 @@ CREATE TABLE instances (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE integrations (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at timestamp with time zone NOT NULL DEFAULT NOW(),
|
|
|
|
|
updated_at timestamp with time zone NOT NULL DEFAULT NOW(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
title character varying(400) NOT NULL,
|
|
|
|
|
provider character varying(400) NOT NULL,
|
|
|
|
@ -972,8 +972,8 @@ CREATE TABLE integrations (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE issue_activities (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
verb character varying(255) NOT NULL,
|
|
|
|
|
field character varying(255),
|
|
|
|
@ -998,8 +998,8 @@ CREATE TABLE issue_activities (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE issue_assignees (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
assignee_id uuid NOT NULL,
|
|
|
|
|
created_by_id uuid,
|
|
|
|
@ -1014,8 +1014,8 @@ CREATE TABLE issue_assignees (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE issue_attachments (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
attributes jsonb NOT NULL,
|
|
|
|
|
asset character varying(100) NOT NULL,
|
|
|
|
@ -1031,8 +1031,8 @@ CREATE TABLE issue_attachments (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE issue_blockers (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
block_id uuid NOT NULL,
|
|
|
|
|
blocked_by_id uuid NOT NULL,
|
|
|
|
@ -1047,8 +1047,8 @@ CREATE TABLE issue_blockers (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE issue_labels (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
created_by_id uuid,
|
|
|
|
|
issue_id uuid NOT NULL REFERENCES issues (id),
|
|
|
|
@ -1063,8 +1063,8 @@ CREATE TABLE issue_labels (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE issue_links (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
title character varying(255),
|
|
|
|
|
url character varying(200) NOT NULL,
|
|
|
|
@ -1081,8 +1081,8 @@ CREATE TABLE issue_links (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE issue_mentions (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
created_by_id uuid,
|
|
|
|
|
issue_id uuid NOT NULL REFERENCES issues (id),
|
|
|
|
@ -1097,8 +1097,8 @@ CREATE TABLE issue_mentions (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE issue_properties (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
properties jsonb NOT NULL,
|
|
|
|
|
created_by_id uuid,
|
|
|
|
@ -1113,8 +1113,8 @@ CREATE TABLE issue_properties (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE issue_reactions (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
reaction character varying(20) NOT NULL,
|
|
|
|
|
actor_id uuid NOT NULL,
|
|
|
|
@ -1130,8 +1130,8 @@ CREATE TABLE issue_reactions (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE issue_relations (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
relation_type character varying(20) NOT NULL,
|
|
|
|
|
created_by_id uuid,
|
|
|
|
@ -1147,8 +1147,8 @@ CREATE TABLE issue_relations (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE issue_sequences (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
sequence bigint NOT NULL,
|
|
|
|
|
deleted boolean NOT NULL,
|
|
|
|
@ -1165,8 +1165,8 @@ CREATE TABLE issue_sequences (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE issue_subscribers (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
created_by_id uuid,
|
|
|
|
|
issue_id uuid NOT NULL REFERENCES issues (id),
|
|
|
|
@ -1181,8 +1181,8 @@ CREATE TABLE issue_subscribers (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE issue_views (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
name character varying(255) NOT NULL,
|
|
|
|
|
description text NOT NULL,
|
|
|
|
@ -1201,8 +1201,8 @@ CREATE TABLE issue_views (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE issue_votes (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
vote integer NOT NULL,
|
|
|
|
|
actor_id uuid NOT NULL,
|
|
|
|
@ -1218,8 +1218,8 @@ CREATE TABLE issue_votes (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE labels (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
name character varying(255) NOT NULL,
|
|
|
|
|
description text NOT NULL,
|
|
|
|
@ -1239,8 +1239,8 @@ CREATE TABLE labels (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE module_favorites (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
created_by_id uuid,
|
|
|
|
|
module_id uuid NOT NULL REFERENCES modules (id),
|
|
|
|
@ -1255,8 +1255,8 @@ CREATE TABLE module_favorites (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE module_issues (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
created_by_id uuid,
|
|
|
|
|
issue_id uuid NOT NULL REFERENCES issues (id),
|
|
|
|
@ -1271,8 +1271,8 @@ CREATE TABLE module_issues (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE module_links (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
title character varying(255),
|
|
|
|
|
url character varying(200) NOT NULL,
|
|
|
|
@ -1289,8 +1289,8 @@ CREATE TABLE module_links (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE module_members (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
created_by_id uuid,
|
|
|
|
|
member_id uuid NOT NULL,
|
|
|
|
@ -1305,8 +1305,8 @@ CREATE TABLE module_members (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE notifications (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
data jsonb,
|
|
|
|
|
entity_identifier uuid,
|
|
|
|
@ -1332,8 +1332,8 @@ CREATE TABLE notifications (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE page_blocks (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
name character varying(255) NOT NULL,
|
|
|
|
|
description jsonb NOT NULL,
|
|
|
|
@ -1355,8 +1355,8 @@ CREATE TABLE page_blocks (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE page_favorites (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
created_by_id uuid,
|
|
|
|
|
page_id uuid NOT NULL REFERENCES pages (id),
|
|
|
|
@ -1371,8 +1371,8 @@ CREATE TABLE page_favorites (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE page_labels (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
created_by_id uuid,
|
|
|
|
|
label_id uuid NOT NULL,
|
|
|
|
@ -1387,8 +1387,8 @@ CREATE TABLE page_labels (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE page_logs (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
transaction uuid NOT NULL,
|
|
|
|
|
entity_identifier uuid,
|
|
|
|
@ -1405,8 +1405,8 @@ CREATE TABLE page_logs (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE project_deploy_boards (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
anchor character varying(255) NOT NULL,
|
|
|
|
|
comments boolean NOT NULL,
|
|
|
|
@ -1425,8 +1425,8 @@ CREATE TABLE project_deploy_boards (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE project_favorites (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
created_by_id uuid,
|
|
|
|
|
project_id uuid NOT NULL REFERENCES projects (id),
|
|
|
|
@ -1441,8 +1441,8 @@ CREATE TABLE project_favorites (
|
|
|
|
|
|
|
|
|
|
CREATE TABLE project_identifiers (
|
|
|
|
|
id bigint NOT NULL PRIMARY KEY,
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
name character varying(12) NOT NULL,
|
|
|
|
|
created_by_id uuid,
|
|
|
|
|
project_id uuid NOT NULL REFERENCES projects (id),
|
|
|
|
@ -1467,8 +1467,8 @@ ALTER TABLE project_identifiers ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDEN
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE project_member_invites (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
email character varying(255) NOT NULL,
|
|
|
|
|
accepted boolean NOT NULL,
|
|
|
|
@ -1487,8 +1487,8 @@ CREATE TABLE project_member_invites (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE project_members (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
comment text,
|
|
|
|
|
role project_member_roles NOT NULL DEFAULT 'Member' :: project_member_roles,
|
|
|
|
@ -1509,8 +1509,8 @@ CREATE TABLE project_members (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE project_public_members (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
created_by_id uuid,
|
|
|
|
|
member_id uuid NOT NULL,
|
|
|
|
@ -1524,8 +1524,8 @@ CREATE TABLE project_public_members (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE slack_project_syncs (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
access_token character varying(300) NOT NULL,
|
|
|
|
|
scopes text NOT NULL,
|
|
|
|
@ -1546,8 +1546,8 @@ CREATE TABLE slack_project_syncs (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE social_login_connections (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
medium character varying(20) NOT NULL,
|
|
|
|
|
last_login_at timestamp with time zone,
|
|
|
|
@ -1564,8 +1564,8 @@ CREATE TABLE social_login_connections (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE team_members (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
created_by_id uuid,
|
|
|
|
|
member_id uuid NOT NULL,
|
|
|
|
@ -1579,8 +1579,8 @@ CREATE TABLE team_members (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE teams (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
name character varying(255) NOT NULL,
|
|
|
|
|
description text NOT NULL,
|
|
|
|
@ -1686,8 +1686,8 @@ ALTER TABLE users_user_permissions ALTER COLUMN id ADD GENERATED BY DEFAULT AS I
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE view_favorites (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
created_by_id uuid,
|
|
|
|
|
project_id uuid NOT NULL REFERENCES projects (id),
|
|
|
|
@ -1702,8 +1702,8 @@ CREATE TABLE view_favorites (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE webhook_logs (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
event_type character varying(255),
|
|
|
|
|
request_method character varying(10),
|
|
|
|
@ -1725,8 +1725,8 @@ CREATE TABLE webhook_logs (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE webhooks (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
url character varying(200) NOT NULL,
|
|
|
|
|
is_active boolean NOT NULL,
|
|
|
|
@ -1746,8 +1746,8 @@ CREATE TABLE webhooks (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE workspace_integrations (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
metadata jsonb NOT NULL,
|
|
|
|
|
config jsonb NOT NULL,
|
|
|
|
@ -1764,8 +1764,8 @@ CREATE TABLE workspace_integrations (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE workspace_member_invites (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
email character varying(255) NOT NULL,
|
|
|
|
|
accepted boolean NOT NULL,
|
|
|
|
@ -1783,8 +1783,8 @@ CREATE TABLE workspace_member_invites (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE workspace_members (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
role roles NOT NULL DEFAULT 'Member' :: roles,
|
|
|
|
|
created_by_id uuid,
|
|
|
|
@ -1803,8 +1803,8 @@ CREATE TABLE workspace_members (
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE workspace_themes (
|
|
|
|
|
created_at timestamp with time zone NOT NULL,
|
|
|
|
|
updated_at timestamp with time zone NOT NULL,
|
|
|
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
|
|
|
|
|
id uuid NOT NULL PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
|
|
|
name character varying(300) NOT NULL,
|
|
|
|
|
colors jsonb NOT NULL,
|
|
|
|
|