Events

app.events

id

PK

uuid

user_id

FK

uuid

company_id

FK

uuid

type

text

properties

jsonb

created_at

timestamptz

Users

app.users

id

PK

uuid

email

text

avatar_url

text

created_at

timestamptz

updated_at

timestamptz

Companies

app.companies

id

PK

uuid

name

text

domain

text

logo_url

text

created_at

timestamptz

updated_at

timestamptz

Subscriptions

app.subscriptions

id

PK

uuid

user_id

FK

uuid

company_id

FK

uuid

plan

text

status

text

current_period_end

timestamptz

created_at

timestamptz

Invoices

app.invoices

id

PK

uuid

subscription_id

FK

uuid

amount

numeric

currency

text

status

text

issued_at

timestamptz

paid_at

timestamptz

SCHEMA BUILDER
Drag a field port to another table field • release to create a relation

Events

app.events

id

PK

uuid

user_id

FK

uuid

company_id

FK

uuid

type

text

properties

jsonb

created_at

timestamptz

Users

app.users

id

PK

uuid

email

text

avatar_url

text

created_at

timestamptz

updated_at

timestamptz

Companies

app.companies

id

PK

uuid

name

text

domain

text

logo_url

text

created_at

timestamptz

updated_at

timestamptz

Subscriptions

app.subscriptions

id

PK

uuid

user_id

FK

uuid

company_id

FK

uuid

plan

text

status

text

current_period_end

timestamptz

created_at

timestamptz

Invoices

app.invoices

id

PK

uuid

subscription_id

FK

uuid

amount

numeric

currency

text

status

text

issued_at

timestamptz

paid_at

timestamptz

SCHEMA BUILDER
Drag a field port to another table field • release to create a relation

Create a free website with Framer, the website builder loved by startups, designers and agencies.