Database diagrams editor that allows you to visualize and design your DB with a single query.
TypeScript databasedbdb-migrationeditorerdmariadbmssqlmysqlpostgresqlreactreact-flowschema-migrationssqlsqlitetypescriptvisualizationxyflow
import { DatabaseType } from '@/lib/domain/database-type';
import type { Template } from '../templates-data';
import image from '@/assets/templates/feedbin-db.png';
import imageDark from '@/assets/templates/feedbin-db-dark.png';
const now = Date.now();
export const feedbinDb: Template = {
slug: 'feedbin-database',
name: 'Feedbin',
shortDescription: 'Simple RSS reader',
description:
'Feedbin is a simple, open source, and privacy-respecting RSS reader.',
image,
imageDark,
tags: ['Postgres', 'Open Source', 'Rails'],
featured: false,
url: 'https://github.com/feedbin/feedbin',
diagram: {
id: 'feedbin_db',
name: 'feedbin-database',
createdAt: new Date(),
updatedAt: new Date(),
databaseType: DatabaseType.POSTGRESQL,
tables: [
{
id: '0sv0phs3rhwela5nxn320bga4',
name: 'subscriptions',
schema: 'public',
x: -356.98596959221186,
y: 1601.619274724236,
fields: [
{
id: 'cgck58okn4f8slc24n6x21zae',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '8ast9v2zh25x2r5bjnpb68y8t',
name: 'user_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: '77m2goirttqpem94orbf367wh',
name: 'feed_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'm86xpscxydbe3or4ye7c6yvfq',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'lr44qcs7ak3kpl841pc5phbr8',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'bk7rfergooz7pgdl48rj2znp5',
name: 'title',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'zwaus7wqjyemzynk6v2n9fs95',
name: 'view_inline',
type: {
id: 'boolean',
name: 'boolean',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'a5y577zd3km9zrcb06uclju0c',
name: 'active',
type: {
id: 'boolean',
name: 'boolean',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'meqz09lbdkaxrwzmj3m04lj2u',
name: 'push',
type: {
id: 'boolean',
name: 'boolean',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '11y4l7ako0vtcquehuv0lv9b6',
name: 'show_updates',
type: {
id: 'boolean',
name: 'boolean',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '88cxmh3jo4hmbvu7e5ttp3uxd',
name: 'muted',
type: {
id: 'boolean',
name: 'boolean',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'fegrs0a2hxighoip4theyoukn',
name: 'show_retweets',
type: {
id: 'boolean',
name: 'boolean',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '8eu3ndbfl55c13lqaf3fze5d6',
name: 'media_only',
type: {
id: 'boolean',
name: 'boolean',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'iy97qhoe0roj5708p6r8gcmou',
name: 'kind',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '95j7ulqyyjq6o5hxn1ebqb0c1',
name: 'view_mode',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: '9oovjabvy6s94hrmywjwmuthh',
name: 'subscriptions_feed_id_active_muted_show_updates_index',
unique: false,
fieldIds: [
'77m2goirttqpem94orbf367wh',
'a5y577zd3km9zrcb06uclju0c',
'88cxmh3jo4hmbvu7e5ttp3uxd',
'11y4l7ako0vtcquehuv0lv9b6',
],
createdAt: now,
},
{
id: '98st40u0w6p7qvnlxkk4jw4i8',
name: 'subscriptions_user_id_index',
unique: false,
fieldIds: ['8ast9v2zh25x2r5bjnpb68y8t'],
createdAt: now,
},
{
id: 'ubttnzjinwb1kkh7d0zacf4yc',
name: 'subscriptions_media_only_index',
unique: false,
fieldIds: ['8eu3ndbfl55c13lqaf3fze5d6'],
createdAt: now,
},
{
id: 'bd9h6awpomv74fbuf02lwry5x',
name: 'subscriptions_show_retweets_index',
unique: false,
fieldIds: ['fegrs0a2hxighoip4theyoukn'],
createdAt: now,
},
{
id: 'y7qhx7asxabv93auaxvbtcl3u',
name: 'subscriptions_feed_id_active_muted_index',
unique: false,
fieldIds: [
'77m2goirttqpem94orbf367wh',
'a5y577zd3km9zrcb06uclju0c',
'88cxmh3jo4hmbvu7e5ttp3uxd',
],
createdAt: now,
},
{
id: 'gru1svkuu05cq86kf6jhny9as',
name: 'subscriptions_created_at_index',
unique: false,
fieldIds: ['m86xpscxydbe3or4ye7c6yvfq'],
createdAt: now,
},
{
id: '1i3exloheixaz8bxv615819h1',
name: 'subscriptions_feed_id_index',
unique: false,
fieldIds: ['77m2goirttqpem94orbf367wh'],
createdAt: now,
},
{
id: 'ynxidgxpeer2yd4i8vifue4ob',
name: 'subscriptions_user_id_feed_id_unique',
unique: true,
fieldIds: [
'8ast9v2zh25x2r5bjnpb68y8t',
'77m2goirttqpem94orbf367wh',
],
createdAt: now,
},
{
id: 's5f6mzdwpg2j2h8y6julexaih',
name: 'subscriptions_kind_index',
unique: false,
fieldIds: ['iy97qhoe0roj5708p6r8gcmou'],
createdAt: now,
},
{
id: 'lim4jti8slkm16lw1zscklo6n',
name: 'subscriptions_unique13',
unique: true,
fieldIds: ['77m2goirttqpem94orbf367wh'],
createdAt: now,
},
{
id: 'z73g6dmvwqcxi4bxo7yh94xmr',
name: 'subscriptions_unique14',
unique: true,
fieldIds: ['8ast9v2zh25x2r5bjnpb68y8t'],
createdAt: now,
},
],
color: '#8eb7ff',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '1ua3134qpskjmxk23yzu9jhkw',
name: 'supported_sharing_services',
schema: 'public',
x: -353.0733729460359,
y: 561.9397662556433,
fields: [
{
id: 'mumx53wl59gfnab7j2fd217j5',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'gz92um2yvjzzipncucikb60zn',
name: 'user_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'w27jh17bvx0mrkc88zmc3ms7o',
name: 'service_id',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'kkrsjxtupk1222uyh9t9lvtvh',
name: 'settings',
type: {
id: 'json',
name: 'json',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '09n82zkb4zpbixbliaybspo09',
name: 'service_options',
type: {
id: 'json',
name: 'json',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '1ooatwnxcmdm5op2v7glcr7cx',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'ee9o5yu73gxd7rptljdvr5pmj',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'lrcxone28r3jquooy2lx4z0hh',
name: 'supported_sharing_services_user_id_service_id_unique',
unique: true,
fieldIds: [
'gz92um2yvjzzipncucikb60zn',
'w27jh17bvx0mrkc88zmc3ms7o',
],
createdAt: now,
},
{
id: '523p0l08rjei40fweq1xa0u0f',
name: 'supported_sharing_services_user_id_index',
unique: false,
fieldIds: ['gz92um2yvjzzipncucikb60zn'],
createdAt: now,
},
{
id: 'zj06xe8vd5d5g8slvby7xgkjd',
name: 'supported_sharing_services_services_id_unique',
unique: true,
fieldIds: ['gz92um2yvjzzipncucikb60zn'],
createdAt: now,
},
],
color: '#ff9f74',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '383b6qiakb85cm3pfbvlyl3vu',
name: 'favicons',
schema: 'public',
x: 885.322970966341,
y: 914.1663061877525,
fields: [
{
id: 'u2kob6rsw3ccltfm9m438m8va',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'wictz8wqun4papmss8zd2ywtv',
name: 'host',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'p5yej7oiqbjhsb580d7v3a70m',
name: 'favicon',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'mprn850tjycj3f9w1mx9qbnkp',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'ncl2kdj988iykuc4z08d5d0ya',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 's3b4qm097jc272ps42sex08m1',
name: 'data',
type: {
id: 'json',
name: 'json',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'tkyd68s47y38w79uxup1zpxhz',
name: 'url',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'fmkih5jprgccf3bidvdcx3xv2',
name: 'favicons_host_unique',
unique: true,
fieldIds: ['wictz8wqun4papmss8zd2ywtv'],
createdAt: now,
},
],
color: '#7175fa',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '39ny0ajiqsk9ikax7bj3js3aq',
name: 'authentication_tokens',
schema: 'public',
x: 1052.8320189382698,
y: 359.1383504804793,
fields: [
{
id: 'u3ka78pfipjax6cn6u2yil1kh',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '9uq9dydmax0v4gq4d6u4phbrb',
name: 'user_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'nk50u7b692fa5psjwao89ufhx',
name: 'token',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'fu8t1tg642ndnqondaslurszh',
name: 'purpose',
type: {
id: 'integer',
name: 'integer',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'm2m9m8cjxx6r1rs7toa7gtzs4',
name: 'data',
type: {
id: 'jsonb',
name: 'jsonb',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '18g9jiwuw3sc2xxn4fmmx4vj9',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'iyy1fb6eod5tkvegrszt794y6',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'hv11yepdvtuazhr7ecm0ou07o',
name: 'active',
type: {
id: 'boolean',
name: 'boolean',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: '4wowwrto5su08halhqht76hfd',
name: 'authentication_tokens_purpose_token_unique',
unique: true,
fieldIds: [
'fu8t1tg642ndnqondaslurszh',
'nk50u7b692fa5psjwao89ufhx',
],
createdAt: now,
},
{
id: '2edxhy52mphjl4t09jhi5o2nb',
name: 'authentication_tokens_pkey',
unique: true,
fieldIds: ['u3ka78pfipjax6cn6u2yil1kh'],
createdAt: now,
},
{
id: '354yahi8lojaqv9spc9xu0kmd',
name: 'authentication_tokens_purpose_token_active_index',
unique: false,
fieldIds: [
'fu8t1tg642ndnqondaslurszh',
'nk50u7b692fa5psjwao89ufhx',
'hv11yepdvtuazhr7ecm0ou07o',
],
createdAt: now,
},
{
id: 'oflxe2do8olmc65407ia0pfq4',
name: 'authentication_tokens_id_unique',
unique: true,
fieldIds: ['u3ka78pfipjax6cn6u2yil1kh'],
createdAt: now,
},
{
id: '24qjlhivwucb2n8c6axheskqv',
name: 'authentication_tokens_user_id_index',
unique: false,
fieldIds: ['9uq9dydmax0v4gq4d6u4phbrb'],
createdAt: now,
},
{
id: 'jwap4xqfctwsr89nqf5zlwa11',
name: 'authentication_tokens_unique12',
unique: true,
fieldIds: ['9uq9dydmax0v4gq4d6u4phbrb'],
createdAt: now,
},
],
color: '#42e0c0',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '3d8p5abv7ide9fb9cyirw6tbj',
name: 'taggings',
schema: 'public',
x: -996.2562717953651,
y: 1174.1594527029845,
fields: [
{
id: '699uxdfri5mba8fcg5k0tgwqy',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'qivgowx8f28gcjeent7mtdy2v',
name: 'feed_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'ey805w5mw0khrlw12qnotm1vi',
name: 'user_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: '3zc1b9lwbfndmt4tt65ph4s9h',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '7jrklpc869l2kvdkd9opp7gdp',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'q9diahjtnqy4z6hpgonjzkzkc',
name: 'tag_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'p0ybayr58yzumenna2t6gt434',
name: 'taggings_feed_id_unique2',
unique: true,
fieldIds: ['qivgowx8f28gcjeent7mtdy2v'],
createdAt: now,
},
{
id: 'l4uvnlxypuogwdkd2qyjr7b2x',
name: 'taggings_user_id_feed_id_index',
unique: false,
fieldIds: [
'ey805w5mw0khrlw12qnotm1vi',
'qivgowx8f28gcjeent7mtdy2v',
],
createdAt: now,
},
{
id: 'aaju1mrot990fgcw2ovrb9nsc',
name: 'taggings_feed_id_unique',
unique: true,
fieldIds: ['q9diahjtnqy4z6hpgonjzkzkc'],
createdAt: now,
},
{
id: '8ddo5thpqmezqgl4f5ya0f51k',
name: 'taggings_user_id_index',
unique: false,
fieldIds: ['ey805w5mw0khrlw12qnotm1vi'],
createdAt: now,
},
{
id: 'neudaz2rw77jq6h8vnonvnglm',
name: 'taggings_user_id_tag_id_index',
unique: false,
fieldIds: [
'ey805w5mw0khrlw12qnotm1vi',
'q9diahjtnqy4z6hpgonjzkzkc',
],
createdAt: now,
},
{
id: 'h5l78aqvkkfjz0743o2q7nb00',
name: 'taggings_unique2',
unique: true,
fieldIds: ['ey805w5mw0khrlw12qnotm1vi'],
createdAt: now,
},
{
id: 'l5opdkohdyft4f50uyzegop13',
name: 'taggings_tag_id_index',
unique: false,
fieldIds: ['q9diahjtnqy4z6hpgonjzkzkc'],
createdAt: now,
},
],
color: '#42e0c0',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '3ws65unkxcm4fc9pl04qzoegb',
name: 'recently_played_entries',
schema: 'public',
x: 298.9592359914345,
y: -314.64466094067257,
fields: [
{
id: 'bhzjyllmvemeoojbv0lkc9fzk',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'dkr7uqxzzxhel6iyin5ehiy2r',
name: 'user_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'ie2w2szu3kmy8c17ohupc00eb',
name: 'entry_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '6td61opv9u2hqwssf9d1oxvbi',
name: 'progress',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'xslzkxqqarfwckqug0ih3ka0l',
name: 'duration',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'tn3taelfire3u52dmp8g6z1as',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'q1084bc0cii01tg4ej8au8zpu',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: 'tiwfr19ezfqyaqkwdp11yd0i1',
name: 'recently_played_entries_user_id_created_at_index',
unique: false,
fieldIds: [
'dkr7uqxzzxhel6iyin5ehiy2r',
'tn3taelfire3u52dmp8g6z1as',
],
createdAt: now,
},
{
id: 'i1jq52bkmmps8bxve77nwyv4r',
name: 'recently_played_entries_unique2',
unique: true,
fieldIds: ['ie2w2szu3kmy8c17ohupc00eb'],
createdAt: now,
},
{
id: 'fnrxw1vz22s8tm5t2407jw42z',
name: 'recently_played_entries_user_id_entry_id_unique',
unique: true,
fieldIds: [
'dkr7uqxzzxhel6iyin5ehiy2r',
'ie2w2szu3kmy8c17ohupc00eb',
],
createdAt: now,
},
{
id: 'ej7mgjrdtgvorabg3bu7ge584',
name: 'recently_played_entries_entry_id_index',
unique: false,
fieldIds: ['ie2w2szu3kmy8c17ohupc00eb'],
createdAt: now,
},
{
id: 'mwbmigw8ufvo2yfjgn63px2kw',
name: 'recently_played_entries_user_id_index',
unique: false,
fieldIds: ['dkr7uqxzzxhel6iyin5ehiy2r'],
createdAt: now,
},
{
id: 'kxbfdbpnjajkfnb7qow95wany',
name: 'recently_played_entries_feed_id_unique',
unique: true,
fieldIds: ['dkr7uqxzzxhel6iyin5ehiy2r'],
createdAt: now,
},
],
color: '#ffe374',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '59lfjx3inmw2zla57slf51z3p',
name: 'suggested_feeds',
schema: 'public',
x: -670.3792234810018,
y: 1436.1620829323695,
fields: [
{
id: 'zqz0qbfbfsvtoymztpkrg67t5',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '9udbu56m1p8covf702w0pwjxl',
name: 'suggested_category_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'bsbxlddfbsdcwjv3ouvpka89v',
name: 'feed_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'uk85ozmkla13hyj7qvwgbcyqo',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'widdl7lmh1vj8ucjewfjpkdvt',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: '3b8m5v705jr9gayd4tulapery',
name: 'suggested_feeds_unique13',
unique: true,
fieldIds: ['bsbxlddfbsdcwjv3ouvpka89v'],
createdAt: now,
},
{
id: 'ksnl249cucwtx7rbf2ds1sci2',
name: 'suggested_feeds_entries_unique2',
unique: true,
fieldIds: ['9udbu56m1p8covf702w0pwjxl'],
createdAt: now,
},
{
id: '75r38b3gau6ks8b3kzbg842to',
name: 'suggested_feeds_feed_id_index',
unique: false,
fieldIds: ['bsbxlddfbsdcwjv3ouvpka89v'],
createdAt: now,
},
{
id: '5m7bdmhc9zj6utas9jcf2n3xp',
name: 'suggested_feeds_suggested_category_id_index',
unique: false,
fieldIds: ['9udbu56m1p8covf702w0pwjxl'],
createdAt: now,
},
],
color: '#b067e9',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '6w99bmjh4vgkgwbip73ab6dwq',
name: 'unreads',
schema: 'public',
x: -501.0407640085654,
y: 135.35533905932743,
fields: [
{
id: 'poa1cmcqu5wcw54ql4xbk4jaz',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '16fcri4likk0lxemgkckaqxmo',
name: 'user_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '25a55382st8ciyewhei93e9ej',
name: 'feed_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'ibal47fpyfouxkuvax38d2aom',
name: 'entry_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '3fj0h91r79lkmiq4dx0b7r7c6',
name: 'published',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '7m1047yw7vj17qppks34yzkdt',
name: 'entry_created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '8wy1h1qvgotihmp8ywtoi1pbf',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '4bkbcfhlcuha9ogmpl8hllbj8',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: 'lkbyfo3hctpj8x171f5en7165',
name: 'unreads_user_id_published_index',
unique: false,
fieldIds: [
'16fcri4likk0lxemgkckaqxmo',
'3fj0h91r79lkmiq4dx0b7r7c6',
],
createdAt: now,
},
{
id: 'stroq4k4w9m4c9jjcnegfqydv',
name: 'unreads_unique13',
unique: true,
fieldIds: ['25a55382st8ciyewhei93e9ej'],
createdAt: now,
},
{
id: 'y450w3l7c1xb84ekxu3o0mang',
name: 'unreads_user_id_feed_id_published_index',
unique: false,
fieldIds: [
'16fcri4likk0lxemgkckaqxmo',
'25a55382st8ciyewhei93e9ej',
'3fj0h91r79lkmiq4dx0b7r7c6',
],
createdAt: now,
},
{
id: 'pvfe2wtf0ehv2mmms2dv9n08f',
name: 'unreads_user_id_index',
unique: false,
fieldIds: ['16fcri4likk0lxemgkckaqxmo'],
createdAt: now,
},
{
id: 'jtsuqub30ytak0ghm6ra995u3',
name: 'unreads_user_id_created_at_index',
unique: false,
fieldIds: [
'16fcri4likk0lxemgkckaqxmo',
'8wy1h1qvgotihmp8ywtoi1pbf',
],
createdAt: now,
},
{
id: 'h8ysnb05b37o5vc7b2n70wfhp',
name: 'unreads_user_id_entry_id_unique',
unique: true,
fieldIds: [
'16fcri4likk0lxemgkckaqxmo',
'ibal47fpyfouxkuvax38d2aom',
],
createdAt: now,
},
{
id: '5qbad4ee12awvqcb9mfl4dqo2',
name: 'unreads_feed_id_index',
unique: false,
fieldIds: ['25a55382st8ciyewhei93e9ej'],
createdAt: now,
},
{
id: '0avqac7tuiwswx4nnrha0gl4q',
name: 'unreads_entry_id_index',
unique: false,
fieldIds: ['ibal47fpyfouxkuvax38d2aom'],
createdAt: now,
},
{
id: '4hjgwvn1urikplq2gak373rmn',
name: 'unreads_unique12',
unique: true,
fieldIds: ['ibal47fpyfouxkuvax38d2aom'],
createdAt: now,
},
{
id: '12ylqqnybqzv9knt7gro5m60r',
name: 'unreads_unique2',
unique: true,
fieldIds: ['16fcri4likk0lxemgkckaqxmo'],
createdAt: now,
},
],
color: '#c05dcf',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'awacd5gjq18ocku962bjq1lhw',
name: 'saved_searches',
schema: 'public',
x: -481.68384736047904,
y: -303.4737505385091,
fields: [
{
id: 'h7zt05w8yusrh40e6ii3yb9kl',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'typ4eodxedjd2ukk2vlqittxl',
name: 'user_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'oeql3cnmfku5bklgwyfvtsm3n',
name: 'name',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'rv910t208qhrkoj6k45wwp9mg',
name: 'query',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'mmkn212c3ffuvlndyoycl9am3',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'gooxgzp7vn3h5gkis4h9o4iu0',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'jr1lpioc7ilspw5fin68x1p2u',
name: 'saved_searches_user_id_index',
unique: false,
fieldIds: ['typ4eodxedjd2ukk2vlqittxl'],
createdAt: now,
},
{
id: 'yz4jat33ticrmbubx6lutlskm',
name: 'saved_searches_unique13',
unique: true,
fieldIds: ['typ4eodxedjd2ukk2vlqittxl'],
createdAt: now,
},
],
color: '#8a61f5',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'c6x4nnb3mbeilsxxd6ugcwk61',
name: 'feeds',
schema: 'public',
x: -320.3792234810019,
y: 1003.14938104015,
fields: [
{
id: 'ywuey3u8wrb376tjk3t31rnh5',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '9zn5ujcjp818urqejneq4rz5w',
name: 'title',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '942kp7540d91eowfv9ur3obl1',
name: 'feed_url',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'y4fkihclzeq9l4wt09nxcg49u',
name: 'site_url',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '9kqy3tqs28yhb9kpthqolknwa',
name: 'etag',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '5zmu1bvcq0d49xv5fz7wqurg0',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'aazbltk1ttskg3s8gwjei9qdg',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'wbbpqj4mwyv3pk6ezjrxtgkwp',
name: 'last_modified',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'ekzklfafvbc28dujri5dxaml5',
name: 'subscriptions_count',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '4q4zawvm5kp4jz4a15nqi6lra',
name: 'protected',
type: {
id: 'boolean',
name: 'boolean',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'y3kyszf9dwoiv7do249zu2pok',
name: 'push_expiration',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'nz396tqwlsaui26r4rlytbtnm',
name: 'last_published_entry',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'oj6h8rbiawvagocittmrf1t7x',
name: 'host',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'g374e0mbnuw2ndaa5by3v5isg',
name: 'self_url',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '0e3afp4x3bqk8imc2xujdax5p',
name: 'feed_type',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'dg38r4tgw726mzo3lm6hg9wl6',
name: 'active',
type: {
id: 'boolean',
name: 'boolean',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'uadxusnuzaqtz18art6xookza',
name: 'options',
type: {
id: 'json',
name: 'json',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'nytg8ulae5yvj33y2o3elvzj4',
name: 'feeds_active_index',
unique: false,
fieldIds: ['dg38r4tgw726mzo3lm6hg9wl6'],
createdAt: now,
},
{
id: '55gwsx7bufjfrqivxcm9ye8e9',
name: 'feeds_id_unique',
unique: true,
fieldIds: ['ywuey3u8wrb376tjk3t31rnh5'],
createdAt: now,
},
{
id: 'odoh2wh91avd340g9t17ql5b6',
name: 'feeds_host_index',
unique: false,
fieldIds: ['oj6h8rbiawvagocittmrf1t7x'],
createdAt: now,
},
{
id: 'e6itznlmhg252hkfe9d0nuawv',
name: 'feeds_last_published_entry_index',
unique: false,
fieldIds: ['nz396tqwlsaui26r4rlytbtnm'],
createdAt: now,
},
{
id: 'mh1ks99dnrxsot3u96huleibx',
name: 'feeds_pkey',
unique: true,
fieldIds: ['ywuey3u8wrb376tjk3t31rnh5'],
createdAt: now,
},
{
id: 'sfh0ba7jtnmn5xvwihg15airx',
name: 'feeds_feed_url_unique',
unique: true,
fieldIds: ['942kp7540d91eowfv9ur3obl1'],
createdAt: now,
},
{
id: 'njz9e04ekzvq07w6snci2h7bt',
name: 'feeds_feed_type_index',
unique: false,
fieldIds: ['0e3afp4x3bqk8imc2xujdax5p'],
createdAt: now,
},
],
color: '#42e0c0',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'ce6r77awkekmxp68xlw80cdgb',
name: 'actions',
schema: 'public',
x: 500,
y: 100,
fields: [
{
id: 'm8wp2xctapot9hf9idzlfn7a7',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '7prvk9esf4hmlqgaerc4hyz3w',
name: 'user_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: '5206e5qt1mxm31i9ejg5nagj0',
name: 'query',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'v6k5mhw5663yqqbqy3zlore68',
name: 'actions',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'o59yafqw46qrvgjg2s1ey5995',
name: 'feed_ids',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'x2oxksg9mzk9g0so7f06fn5wh',
name: 'all_feeds',
type: {
id: 'boolean',
name: 'boolean',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'fmg5ras00z1cs6frnv6xqc0fb',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'tpx75o0y6qnp0564cqqecaz62',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'bdunyqm5zn7yvcs3xzfsfsba2',
name: 'title',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '45x57ij2mof4tjdfqdv89vxji',
name: 'tag_ids',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'xcl6a749aj9wbjuzifh8qvrxs',
name: 'action_type',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '7ka2k5b3zbdeojzbupbuqpr0s',
name: 'computed_feed_ids',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'zrobajxb640d9p5n30524wlkr',
name: 'status',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'i13iub56o7qyyowjjwwomae0u',
name: 'actions_user_unique',
unique: true,
fieldIds: ['7prvk9esf4hmlqgaerc4hyz3w'],
createdAt: now,
},
{
id: 'u6m01k4kk1uftqeka5500i9fo',
name: 'actions_pkey',
unique: true,
fieldIds: ['m8wp2xctapot9hf9idzlfn7a7'],
createdAt: now,
},
],
color: '#ff6363',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'ctja86fkrb5guynmohhtjuw8k',
name: 'updated_entries',
schema: 'public',
x: 529.6207765189981,
y: 1003.14938104015,
fields: [
{
id: 'i6fkg018nzrrxbz21hc4j7m8a',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'x407hh1rzqpjkwycwv1m5lwb1',
name: 'user_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'nabhng4bxa0afowe24f81u92z',
name: 'entry_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'h66kme3eu2ldeop2cwbkwlnyh',
name: 'feed_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'gjqvenwj61dewtp9qqye6efg7',
name: 'published',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'eslw5tior8g0ezfkv0nbczfcw',
name: 'updated',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'acjgdvzwavd1svbbhamnixmtw',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '1gm7hlgmsxllu92b0credehwp',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'tsvmfbsnfr1woocf1sy8q0hiu',
name: 'updated_entries_entry_id_index',
unique: false,
fieldIds: ['nabhng4bxa0afowe24f81u92z'],
createdAt: now,
},
{
id: 'p4jq17tp4aqrfskz2rjmc7fp3',
name: 'updated_entries_unique2',
unique: true,
fieldIds: ['h66kme3eu2ldeop2cwbkwlnyh'],
createdAt: now,
},
{
id: 't38iqx5yl7rbb4aw8znfyihci',
name: 'updated_entries_pkey',
unique: true,
fieldIds: ['i6fkg018nzrrxbz21hc4j7m8a'],
createdAt: now,
},
{
id: 's8ymz04ryokur9rhpwtcx8krt',
name: 'updated_entries_user_id_entry_id_unique',
unique: true,
fieldIds: ['x407hh1rzqpjkwycwv1m5lwb1'],
createdAt: now,
},
{
id: '1ct9qv2thx9qmfviegbrunbbx',
name: 'updated_entries_feed_id_index',
unique: false,
fieldIds: ['h66kme3eu2ldeop2cwbkwlnyh'],
createdAt: now,
},
{
id: 'gf6b3c15e6tg91emnhfcou3x0',
name: 'updated_entries_feed_id_unique',
unique: true,
fieldIds: ['x407hh1rzqpjkwycwv1m5lwb1'],
createdAt: now,
},
{
id: 'l3bevdur52toosoz340r6a63k',
name: 'updated_entries_entry_id_entry_id_unique',
unique: true,
fieldIds: ['nabhng4bxa0afowe24f81u92z'],
createdAt: now,
},
{
id: 'tlu5cqefll0zd13dm79yzo83o',
name: 'updated_entries_user_id_index',
unique: false,
fieldIds: ['x407hh1rzqpjkwycwv1m5lwb1'],
createdAt: now,
},
],
color: '#8eb7ff',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'dib1gwzwt51eel6kbkopd6zq0',
name: 'entries',
schema: 'public',
x: -101.0407640085655,
y: -314.64466094067257,
fields: [
{
id: 'in6bxafo9gbg99mqxkitx66d6',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'ot8fmst2ca47ab4nj8228fhic',
name: 'feed_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'ef5urpj4y4xhe15r615l4s4rk',
name: 'title',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'dfmd20pwp1t0fcjcu6lbuqx3y',
name: 'url',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'p7yix1pk80c77n0a0oha9h2u3',
name: 'author',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'b9kjhpcq5b0l6lv4n8jwonj23',
name: 'summary',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'srexujip57dedqpjrgpr8k5jj',
name: 'content',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '4m6faftpty562r0mqjsmupewz',
name: 'published',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'txxyhy146csdy2oyn02nizyd6',
name: 'updated',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'mh4vgpxh2lh9kbt52iwqwyo7f',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'u152dphs9mjxocd6ggk3387td',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '07cudlf0qj8v2zgfnnqplxgrh',
name: 'entry_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'qhzpvztrn47uiwyex2girkvug',
name: 'public_id',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: '0gagj4098nkb0ejxsgb27k56d',
name: 'old_public_id',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'f51146t5hwoda8qrg56ujgkse',
name: 'starred_entreis_count',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'sch1x6zhn63rk8d9qza2hywmb',
name: 'data',
type: {
id: 'json',
name: 'json',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'c19yv0ue9cgkagd3y8d2wu2h1',
name: 'original',
type: {
id: 'json',
name: 'json',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'sqe0qrd5bd2qw0zqti8vkjwj1',
name: 'source',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'wyofumu326gk9yspdixedmn46',
name: 'image_url',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '6b8mpqe1zbpzc4pz7sdmzieb4',
name: 'processed_image_url',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'cvw49o6otsmnexrpeip9mb3es',
name: 'image',
type: {
id: 'json',
name: 'json',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '96nlc532r3659iyj39dpjl7tp',
name: 'recently_played_entries_count',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'g4lru9ncy5rziview1odtn1bn',
name: 'thread_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '58bn15cjlw3dr9wepbnw9zunr',
name: 'settings',
type: {
id: 'jsonb',
name: 'jsonb',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'cbv9ix6rnr2s4t79rogkf21lu',
name: 'entries_public_id_unique',
unique: true,
fieldIds: ['qhzpvztrn47uiwyex2girkvug'],
createdAt: now,
},
{
id: 'a27b01y3l5p7f7sy08jlzqcio',
name: 'entries_id_unique',
unique: true,
fieldIds: ['in6bxafo9gbg99mqxkitx66d6'],
createdAt: now,
},
{
id: 'f2e6juegnk5d6nedyv7w3nyt0',
name: 'entries_id_unique2',
unique: true,
fieldIds: ['ot8fmst2ca47ab4nj8228fhic'],
createdAt: now,
},
{
id: 'jyfemqug3ms6o1fynxw15rmqx',
name: 'entries_unique13',
unique: true,
fieldIds: ['07cudlf0qj8v2zgfnnqplxgrh'],
createdAt: now,
},
{
id: '2ge4xcoq92g2mxhin5rngg633',
name: 'entries_unique12',
unique: true,
fieldIds: ['07cudlf0qj8v2zgfnnqplxgrh'],
createdAt: now,
},
{
id: 'tat0b2frkrhhzk8mg7jwlki2i',
name: 'entries_feed_id_index',
unique: false,
fieldIds: ['ot8fmst2ca47ab4nj8228fhic'],
createdAt: now,
},
{
id: 'otxvu6s9vp3oomvpjdjllmwbe',
name: 'entries_thread_id_index',
unique: false,
fieldIds: ['g4lru9ncy5rziview1odtn1bn'],
createdAt: now,
},
],
color: '#ff6363',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'e9eani26ggll2gr46uc9e0qne',
name: 'coupons',
schema: 'public',
x: 680,
y: 1460,
fields: [
{
id: 'xbjvzmp0o0frcac9w70hf5fpo',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '8v0byocr1huu3do650xqx43tu',
name: 'user_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: '29oq4nsq84ktglryc7y8yrhyk',
name: 'coupon_code',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'xbkcc5nbyxj6b5oc9orsyc5y1',
name: 'sent_to',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '2n5y378gcjlhy8m9jjs26xu98',
name: 'redeemed',
type: {
id: 'boolean',
name: 'boolean',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'wzbebsvkykq18mouyf4blner7',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'pn065h4pnbp70aayuxc1xv8os',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: 'ro71y5xwx0eb3b4em8unt572w',
name: 'coupons_pkey',
unique: true,
fieldIds: ['xbjvzmp0o0frcac9w70hf5fpo'],
createdAt: now,
},
{
id: 'terizuspqlp3dvkynbedk35nd',
name: 'coupons_user_id_unique',
unique: true,
fieldIds: ['8v0byocr1huu3do650xqx43tu'],
createdAt: now,
},
{
id: 'z3skac3hvuqtfmd0w9y6ix916',
name: 'coupons_user_id_index',
unique: false,
fieldIds: ['8v0byocr1huu3do650xqx43tu'],
createdAt: now,
},
],
color: '#8eb7ff',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'eus5y1pppa7ws5kx4szie36b3',
name: 'starred_entries',
schema: 'public',
x: -720.3792234810019,
y: 703.14938104015,
fields: [
{
id: 'f4ud7vzfu3h9b4zx6c77qmjcc',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'y5392l5msropzh6mf2qjt6yh9',
name: 'user_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'juum44jix4wcrhooc9cyktkrt',
name: 'feed_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: '3wuv9e2i17hygart9p1aiph1p',
name: 'entry_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'dx8t5o5wauru9ca6ft7xph47b',
name: 'published',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'mugl96ca10lbgth8d5l0w41w3',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'np0keqc9zawvytx3dt07kvx2a',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'lsfebote8ke9jfqb9pz7zypgh',
name: 'source',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'kw0s0t2alo3q7yeevm73q4yg9',
name: 'starred_entries_pkey',
unique: true,
fieldIds: ['f4ud7vzfu3h9b4zx6c77qmjcc'],
createdAt: now,
},
{
id: '2xg4mtr7h0fbqip8dhoz7tyq8',
name: 'starred_entries_user_id_unique',
unique: true,
fieldIds: ['y5392l5msropzh6mf2qjt6yh9'],
createdAt: now,
},
{
id: 'c9yfd4daroq14hri2q6goua4x',
name: 'starred_entries_entry_id_unique',
unique: true,
fieldIds: ['3wuv9e2i17hygart9p1aiph1p'],
createdAt: now,
},
{
id: 'xua330w5a9px1z1jakn9fon11',
name: 'starred_entries_feed_id_index',
unique: false,
fieldIds: ['juum44jix4wcrhooc9cyktkrt'],
createdAt: now,
},
{
id: 'lfanybr9jhzybhpupt4bhjwuu',
name: 'starred_entries_user_id_index',
unique: true,
fieldIds: ['y5392l5msropzh6mf2qjt6yh9'],
createdAt: now,
},
{
id: 'aysszp5v43zu3yhzvw6vmsmr3',
name: 'starred_entries_entry_id_index',
unique: true,
fieldIds: ['3wuv9e2i17hygart9p1aiph1p'],
createdAt: now,
},
{
id: 'x3u1qr7s6bdwnvavzmora7rmf',
name: 'starred_entries_published_index',
unique: false,
fieldIds: ['dx8t5o5wauru9ca6ft7xph47b'],
createdAt: now,
},
{
id: '8lq53vnv2i9zirfbo3myjje31',
name: 'starred_entries_feed_id_unique',
unique: true,
fieldIds: ['juum44jix4wcrhooc9cyktkrt'],
createdAt: now,
},
],
color: '#ff9f74',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'h5x2ajpghq7hkssyvnpk1sioe',
name: 'plans',
schema: 'public',
x: 276.7766952966369,
y: 559.6194077712559,
fields: [
{
id: '7jdjullkjeylarup59lj2ou28',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '5xyll9eq7rhbnl08txrs4n5dt',
name: 'stripe_id',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'd8c2wyb1s6oya2psanitgdnfq',
name: 'name',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '46hs6tmdmqa9ji4xaclzwvguq',
name: 'price',
type: {
id: 'integer',
name: 'integer',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '4bjpr665uvloyad2ozbmcl2sd',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'h4d00hbvv30h0265190h861fa',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '17q9vh9znb27habydn1msc4fw',
name: 'price_tier',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [],
color: '#7175fa',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'hecrk2bna9xf0il6e0wlzp60l',
name: 'deleted_users',
schema: 'public',
x: 617.6318159561015,
y: 676.0103852061825,
fields: [
{
id: '4eweu0ls20fefcn3oq8n2x7s7',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'awt0j2ymuwcro1qbmmvowzw8d',
name: 'customer_id',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'epx6ul4in931wu65y6c8b9trj',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'uzi9nsf5mmn5dtgj76pjg378h',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: 'y3r4h4r92wthaozmjmmhfthh0',
name: 'deleted_users_email_index',
unique: false,
fieldIds: ['pyft4iijowctsznvfoliugn95'],
createdAt: now,
},
],
color: '#9ef07a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'hiv6lj83n5vr5sa8gaqgfgnxm',
name: 'tags',
schema: 'public',
x: -1475.7118402276449,
y: 1194.3249451325603,
fields: [
{
id: 'zcln1lpn412wbelkaf2t9h6th',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'h8mf1e1at7d1myodnqd4mjnim',
name: 'name',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'vg78enwkvk4fp7n7phx4naj16',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'gf7wrdsidhhovylczboql2aye',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: 'kijczfypgw0pmaznt024r2ofh',
name: 'tags_id_unique',
unique: true,
fieldIds: ['zcln1lpn412wbelkaf2t9h6th'],
createdAt: now,
},
{
id: '2qot7gfgnc7dkxr341vzoh8vm',
name: 'tags_name_index',
unique: false,
fieldIds: ['h8mf1e1at7d1myodnqd4mjnim'],
createdAt: now,
},
],
color: '#7175fa',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'ixjbz9qsazvalh09grm3cnkyp',
name: 'in_app_purchases',
schema: 'public',
x: -46.92662705396407,
y: 561.9397662556433,
fields: [
{
id: 'wpnpntqi78p4qd01cptiz2bgh',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'a75vyodug8c0qxd28cmp7shfq',
name: 'user_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'pnep9038zloud08dbmjzwlk6o',
name: 'transaction_id',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'h0vivqgp6hdhzzt05gj9w7m9h',
name: 'purchase_date',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'o9blrkxa7f59ggitp776s91th',
name: 'receipt',
type: {
id: 'json',
name: 'json',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'g6i3h11qsalxnlvtdwd9oz0mn',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '59880pycvhplnbess5mzih9bu',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'i59utgqii4vzl686kj1quyapg',
name: 'response',
type: {
id: 'json',
name: 'json',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'zzprg314i8ckddkzangdpl3qr',
name: 'in_app_purchases_user_id_index',
unique: false,
fieldIds: ['a75vyodug8c0qxd28cmp7shfq'],
createdAt: now,
},
{
id: 'fywwcdmduhi9m1ifbo4rtmh0n',
name: 'in_app_purchases_user_id_unique',
unique: true,
fieldIds: ['a75vyodug8c0qxd28cmp7shfq'],
createdAt: now,
},
],
color: '#c05dcf',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'krjqbq9p2qt8iff0z2a1f78dw',
name: 'imports',
schema: 'public',
x: -869.5518130045148,
y: 291.341716182545,
fields: [
{
id: 'x4f8e2cb44zr0w1b5uxrgoox7',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'ql96j4xfmqv7cnm0h4bkn6i2b',
name: 'user_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'p6o99ln33kkr3auwpnldneh5x',
name: 'complete',
type: {
id: 'boolean',
name: 'boolean',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'jbhfahbsswbjy5chxwabcc5hn',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'cqljhy5xw74cnteco668uita4',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'yf9pjp564ex5lx6o96ci1w384',
name: 'upload',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'pg90u91q6vuinwkq567s787sd',
name: 'imports_unique2',
unique: true,
fieldIds: ['ql96j4xfmqv7cnm0h4bkn6i2b'],
createdAt: now,
},
],
color: '#8eb7ff',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'l9g6nwa93ys7jgdcw0l53yqpo',
name: 'sharing_services',
schema: 'public',
x: 100.00000000000006,
y: 1050,
fields: [
{
id: '4qbgzxy54xqgxkskhnqz1gzpe',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'syd1w3v22fsulmvgtay0sg8cu',
name: 'user_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'c4bt6s5id7aus2zkim8w9xwjf',
name: 'label',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '1lv5wsqjcts60nkgorc40e8ff',
name: 'url',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '6bnp0ajw2ff5hlatsvwggussh',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'oaonkvjfw76jkfz2pxxx3j6d5',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'j5fhqkrfrr4juv2mhn1zn1mkr',
name: 'sharing_services_pkey',
unique: true,
fieldIds: ['4qbgzxy54xqgxkskhnqz1gzpe'],
createdAt: now,
},
{
id: 'd36lbhvufncfex2xrnf9zyqf8',
name: 'sharing_services_user_id_index',
unique: false,
fieldIds: ['syd1w3v22fsulmvgtay0sg8cu'],
createdAt: now,
},
{
id: 'ptkwdev1n69wjat4016etnxb5',
name: 'sharing_services_id_unique',
unique: true,
fieldIds: ['syd1w3v22fsulmvgtay0sg8cu'],
createdAt: now,
},
],
color: '#ff6363',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'mm2zil01g5dxqjaqsh2awc7rm',
name: 'suggested_categories',
schema: 'public',
x: -1185.4070341433403,
y: 1539.1672822172923,
fields: [
{
id: 'fc7x2vwlcjianx5hw2tc29z2p',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '5mfwbbkjjckne00ohg2pc89s6',
name: 'name',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '6vaeyiccwohtrkgv88oifotxm',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'vxd0fmld4ytbaskhqnn2w05h8',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'av5ugna78h46knahz6zqfwp1i',
name: 'suggested_categories_id_unique',
unique: true,
fieldIds: ['fc7x2vwlcjianx5hw2tc29z2p'],
createdAt: now,
},
],
color: '#42e0c0',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'nrez9p0orrg4qjclr7oe9dbhx',
name: 'recently_read_entries',
schema: 'public',
x: 898.355156734928,
y: 76.27108029334232,
fields: [
{
id: 'hqb9z9lzf4s5ur9gl39uyj1ts',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'ajakw6g2vhgu71h4v0yjh18zp',
name: 'user_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: '2c32u2odxyuq8k1x6oqt4xog6',
name: 'entry_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'ygjiukr640qxd97e56q96olpw',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '2fci9vpqngqglvfpcqdsp6pwr',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'ebhj4x2n7noxkgl5qp1leuh51',
name: 'recently_read_entries_user_id_entry_id_unique',
unique: true,
fieldIds: [
'ajakw6g2vhgu71h4v0yjh18zp',
'2c32u2odxyuq8k1x6oqt4xog6',
],
createdAt: now,
},
{
id: 'l3g6n4xuu53biuku3wqhk28ke',
name: 'recently_read_entries_entry_id_index',
unique: false,
fieldIds: ['2c32u2odxyuq8k1x6oqt4xog6'],
createdAt: now,
},
{
id: 'q9r35s41sr4bhjze5z79pur5m',
name: 'recently_read_entries_unique3',
unique: true,
fieldIds: ['2c32u2odxyuq8k1x6oqt4xog6'],
createdAt: now,
},
{
id: 'm6ldqt7y9work03wb5595o7zg',
name: 'recently_read_entries_user_id_index',
unique: false,
fieldIds: ['ajakw6g2vhgu71h4v0yjh18zp'],
createdAt: now,
},
{
id: 'oo9a5wku9qlqrf07gyauaoglb',
name: 'recently_read_entries_unique2',
unique: true,
fieldIds: ['ajakw6g2vhgu71h4v0yjh18zp'],
createdAt: now,
},
{
id: '1ak2084x37l2as95d5lr2xgzy',
name: 'recently_read_entries_created_at_index',
unique: false,
fieldIds: ['ygjiukr640qxd97e56q96olpw'],
createdAt: now,
},
{
id: '83dkcl6w8lmn95bndbn777lwh',
name: 'recently_read_entries_user_id_id_index',
unique: false,
fieldIds: [
'ajakw6g2vhgu71h4v0yjh18zp',
'hqb9z9lzf4s5ur9gl39uyj1ts',
],
createdAt: now,
},
],
color: '#b067e9',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'qp3axlaauiw6fglqfof0beu6n',
name: 'newsletter_senders',
schema: 'public',
x: -13.961446233410632,
y: 1474.5431858834197,
fields: [
{
id: '47xy66307zf658jxgo8gm72w9',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'tcipf5u866o0365qyuy3zam8o',
name: 'feed_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'o3645w2nk4vt09an0h67wlzyw',
name: 'active',
type: {
id: 'boolean',
name: 'boolean',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'b3w6q3qc2y52u4uy1rcqks7w3',
name: 'token',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'hhsz4x2vgv0a7664bawn3bbbe',
name: 'full_token',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '8gdd183aggqxwox0jafj02dn7',
name: 'email',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'fr8qvz64h3hpkw107zye1c1gl',
name: 'name',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'n0oq36kw01u6dnob23n5ajas4',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'on6lfyds4ppxfqu2re5dc94h6',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: 'wtgl34g1v9v5jxlc5tid5nr2p',
name: 'newsletter_senders_token_index',
unique: false,
fieldIds: ['b3w6q3qc2y52u4uy1rcqks7w3'],
createdAt: now,
},
{
id: 'y8ogpl68gyq3zhxvfpockdbe0',
name: 'newsletter_senders_feed_id_unique',
unique: true,
fieldIds: ['tcipf5u866o0365qyuy3zam8o'],
createdAt: now,
},
],
color: '#c05dcf',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'sicfhd6brnxk9d7urh3incyie',
name: 'import_items',
schema: 'public',
x: -893.8158817164433,
y: -132.9223525293835,
fields: [
{
id: 'u4x9kxtmrnx2g59mpu2s6wdzh',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'ekpamw4df73zzexmncnmleba0',
name: 'import_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'tgrhbky0e7kzga0hwfvbuau8i',
name: 'details',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'c9zezxk3b3wpnzeysfxpcfms7',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '6vtxh3u7nto8ll2wu1lmx69zm',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'p0zayx8kgi5ska4x33b3w3r42',
name: 'item_type',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'q34qiyrujyy8a1qkxll9bs1m8',
name: 'status',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: 'xgw70854p6bwaa7fqgh8syqof',
name: 'import_items_unique2',
unique: true,
fieldIds: ['ekpamw4df73zzexmncnmleba0'],
createdAt: now,
},
{
id: 'p765uule8s16rc4q1h5r48vx9',
name: 'import_items_import_id_status_index',
unique: false,
fieldIds: [
'ekpamw4df73zzexmncnmleba0',
'q34qiyrujyy8a1qkxll9bs1m8',
],
createdAt: now,
},
{
id: 'vuxulsn4uzs8x60mpkokugnag',
name: 'import_items_import_id_index',
unique: false,
fieldIds: ['ekpamw4df73zzexmncnmleba0'],
createdAt: now,
},
],
color: '#4dee8a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'v7s92he5thsn3g9zdak7kb4iu',
name: 'billing_events',
schema: 'public',
x: 280,
y: 1460,
fields: [
{
id: '97le1jhd3czqenkxblhwb9g2y',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'v88b2ajlg271x8vypuqyuz7ew',
name: 'details',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'p7uvlcyvzfhpbl2gsdjdvndx7',
name: 'event_type',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '790mwztxy3e9vg5omr7xofm7t',
name: 'billable_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'ekfuzut8t2r444p8y8u65u7h9',
name: 'billable_type',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '46wasllt62wsayyjwud3xzoj1',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'roehcty5jsvqmc9bbgprst644',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'e505znv0ckgmxzj8dw18qi50v',
name: 'event_id',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'lofdp6hs6w3axgmaxh7s6hy6p',
name: 'info',
type: {
id: 'json',
name: 'json',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: '6b7cf3qvt99ezwkbcwzmthcio',
name: 'billing_events_billable_id_billable_type_index',
unique: false,
fieldIds: [
'790mwztxy3e9vg5omr7xofm7t',
'ekfuzut8t2r444p8y8u65u7h9',
],
createdAt: now,
},
{
id: 'pgyj719t74vn9p5gp68u97v8l',
name: 'billing_events_event_id_unique',
unique: true,
fieldIds: ['e505znv0ckgmxzj8dw18qi50v'],
createdAt: now,
},
],
color: '#9ef07a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'x9duzqwy3mldu0yhynbd148as',
name: 'devices',
schema: 'public',
x: -1200,
y: 100.00000000000017,
fields: [
{
id: 'b89n7xhde8kzppmnki3mebce9',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '4nejfj949yybg9pxjree6c29k',
name: 'user_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: '2zg6ham084ycklahx9c7w6jpn',
name: 'token',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'xvsel4ynxmnyehz9udsfk389s',
name: 'model',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'zqj3wujg0o1kyyjfyf2417j3z',
name: 'device_type',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '23hrsy1fgopa3fxsaran40iel',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '78721dc9d9r1u5xvbwuxxu82u',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'byedrprdqvf5o1rdol3rbfdbl',
name: 'operating_system',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: 'hs7yzweih4rkox7irtbt7xr7h',
name: 'devices_user_unique',
unique: true,
fieldIds: ['4nejfj949yybg9pxjree6c29k'],
createdAt: now,
},
{
id: 'xawzccvi714b6w3wdyginbgym',
name: 'devices_token_unique',
unique: true,
fieldIds: ['2zg6ham084ycklahx9c7w6jpn'],
createdAt: now,
},
{
id: 'qyhctpkv2c9qhbshqoucwi2il',
name: 'devices_user_id_index',
unique: false,
fieldIds: ['4nejfj949yybg9pxjree6c29k'],
createdAt: now,
},
{
id: '3j021hxnxtpro3a1ylgjq4ngk',
name: 'devices_pkey',
unique: true,
fieldIds: ['b89n7xhde8kzppmnki3mebce9'],
createdAt: now,
},
],
color: '#8a61f5',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'y0dydsx182fx165u3rsuluoox',
name: 'feed_stats',
schema: 'public',
x: -1296.2562717953651,
y: 832.1393093773158,
fields: [
{
id: '1iyyppe1jhzi5wpdo1e1kn22o',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'a0ssgpm03x2o2ispe88kxy91o',
name: 'feed_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'p05rfzmu62eui3t1156a3x7px',
name: 'day',
type: {
id: 'date',
name: 'date',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '0sfet2zkced7jdkvm934m4t9g',
name: 'entries_count',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'dntiyapop99icuodof8zc2iim',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '378g2i2fgys6lspw4kjr50oqb',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: '45345st3etu4ur6w430giubam',
name: 'feed_stats_feed_id_day_index',
unique: false,
fieldIds: [
'a0ssgpm03x2o2ispe88kxy91o',
'p05rfzmu62eui3t1156a3x7px',
],
createdAt: now,
},
{
id: 'gml4djoamcsxxycqkcy604y2t',
name: 'feed_stats_feed_id_index',
unique: false,
fieldIds: ['a0ssgpm03x2o2ispe88kxy91o'],
createdAt: now,
},
{
id: 'rbyr2bzpmpncmycm1ja7z20j7',
name: 'feed_stats_feed_id_unique',
unique: true,
fieldIds: ['a0ssgpm03x2o2ispe88kxy91o'],
createdAt: now,
},
],
color: '#4dee8a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'yl722acu32ijclvq81d01kg34',
name: 'users',
schema: 'public',
x: 100,
y: 100,
fields: [
{
id: 'tkgjq5tsyjsjodjkqyx5sxway',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '3m0sztkcv8jrn75ywwfz644k1',
name: 'email',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: '5uuaukmtdts6q990f1e49cyek',
name: 'password_digest',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'vd9t77j2d0idcrcdldny28dc2',
name: 'customer_id',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'kz6vqklcze7a7rplblknopvek',
name: 'last_4_digits',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'skhmnt7loifcttpg0hmnsyop2',
name: 'plan_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: '3loho9o4smssvhww49bxvphkj',
name: 'admin',
type: {
id: 'boolean',
name: 'boolean',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'd0mae9ki47ho08alpj9n9aej2',
name: 'suspended',
type: {
id: 'boolean',
name: 'boolean',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '07au09bs25gp8xec3wllcz1my',
name: 'created_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'zmp3rpckgbb1fuk8jiatt9eaf',
name: 'updated_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'e8ugme5rd5ul95budr1lj94lh',
name: 'auth_token',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'asdaypdzd1ib2ms7fudd6jk6c',
name: 'password_reset_token',
type: {
id: 'integer',
name: 'integer',
},
primaryKey: false,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'rgv2xwgekje7vqj0e7ofcymzm',
name: 'password_reset_sent_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'w0z7mm3mjsd67ka4mlzna3v7h',
name: 'settings',
type: {
id: 'json',
name: 'json',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '263uy0yem7nybhszgc9bon35t',
name: 'starred_token',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'sjahhfdg2lxvwuwu9t8z8mj3w',
name: 'inbound_email_token',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: 'u33rb9pthrxabi5q37ui0ksjx',
name: 'tag_visibility',
type: {
id: 'json',
name: 'json',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '9xpbnegaljnry0sbi5cztnfgn',
name: 'expires_at',
type: {
id: 'timestamp_without_time_zone',
name: 'timestamp without time zone',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '1e3iu8w3qbxbfacnsmvrtv1r6',
name: 'newsletter_token',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
{
id: '9kcdtlfle16x5mwo9m91zu6t7',
name: 'price_tier',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'fylu4brx3s688g9t4x6q45pbf',
name: 'page_token',
type: {
id: 'character_varying',
name: 'character varying',
},
primaryKey: false,
unique: true,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'krfaddcha0233onlbtp3zafpj',
name: 'users_plan_id_unique',
unique: true,
fieldIds: ['skhmnt7loifcttpg0hmnsyop2'],
createdAt: now,
},
{
id: 'tk3qpo1l7bgqt3vrqa6klztjq',
name: 'users_starred_token_unique',
unique: true,
fieldIds: ['263uy0yem7nybhszgc9bon35t'],
createdAt: now,
},
{
id: '0od64njzrlzl9qy92b8gs5ww6',
name: 'users_inbound_email_token_unique',
unique: true,
fieldIds: ['sjahhfdg2lxvwuwu9t8z8mj3w'],
createdAt: now,
},
{
id: '7jbwbhgdp46roq7k7vj3gtnq1',
name: 'users_email_unique',
unique: true,
fieldIds: ['3m0sztkcv8jrn75ywwfz644k1'],
createdAt: now,
},
{
id: 'hfghee3uag5fwnxxb0au1m7ik',
name: 'users_newsletter_token_unique',
unique: true,
fieldIds: ['1e3iu8w3qbxbfacnsmvrtv1r6'],
createdAt: now,
},
{
id: 'yc33iiocdtiih81mqc55yy84j',
name: 'users_page_token_unique',
unique: true,
fieldIds: ['fylu4brx3s688g9t4x6q45pbf'],
createdAt: now,
},
{
id: 'z2ps65t3cb5lmixgm8g7tpx3s',
name: 'users_pkey',
unique: true,
fieldIds: ['tkgjq5tsyjsjodjkqyx5sxway'],
createdAt: now,
},
{
id: 'ula2toyyxhuji6ioyabvhvusb',
name: 'users_password_reset_token_unique',
unique: true,
fieldIds: ['asdaypdzd1ib2ms7fudd6jk6c'],
createdAt: now,
},
{
id: 'fkeq3i8lv37msn4foe2tn4xix',
name: 'users_customer_id_unique',
unique: true,
fieldIds: ['vd9t77j2d0idcrcdldny28dc2'],
createdAt: now,
},
{
id: 'doclpehof8h7ykfc6uxnvdvtt',
name: 'users_auth_token_unique',
unique: true,
fieldIds: ['e8ugme5rd5ul95budr1lj94lh'],
createdAt: now,
},
{
id: 'ggwbtfecn779ooh2clh1dcuva',
name: 'users_expires_at_index',
unique: false,
fieldIds: ['9xpbnegaljnry0sbi5cztnfgn'],
createdAt: now,
},
],
color: '#4dee8a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
],
relationships: [
{
id: '0ams4wlm2sbuor5lo975y0c76',
name: 'entries_id_foreign15',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'dib1gwzwt51eel6kbkopd6zq0',
targetTableId: '3ws65unkxcm4fc9pl04qzoegb',
sourceFieldId: 'in6bxafo9gbg99mqxkitx66d6',
targetFieldId: 'ie2w2szu3kmy8c17ohupc00eb',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: '0evh4vw65gzp3zafrrwevewy1',
name: 'users_id_foreign7',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'yl722acu32ijclvq81d01kg34',
targetTableId: '3ws65unkxcm4fc9pl04qzoegb',
sourceFieldId: 'tkgjq5tsyjsjodjkqyx5sxway',
targetFieldId: 'dkr7uqxzzxhel6iyin5ehiy2r',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: '0l4413ato1mez1uqn1rikrs6m',
name: 'feeds_id_foreign6',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'c6x4nnb3mbeilsxxd6ugcwk61',
targetTableId: 'y0dydsx182fx165u3rsuluoox',
sourceFieldId: 'ywuey3u8wrb376tjk3t31rnh5',
targetFieldId: 'a0ssgpm03x2o2ispe88kxy91o',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: '0zwc1gkxebd7ylim3j3r1bl59',
name: 'users_id_foreign14',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'yl722acu32ijclvq81d01kg34',
targetTableId: '6w99bmjh4vgkgwbip73ab6dwq',
sourceFieldId: 'tkgjq5tsyjsjodjkqyx5sxway',
targetFieldId: '16fcri4likk0lxemgkckaqxmo',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: '18h5znqfz82vyv49xa2ctmtus',
name: 'feeds_id_foreign13',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'c6x4nnb3mbeilsxxd6ugcwk61',
targetTableId: 'ctja86fkrb5guynmohhtjuw8k',
sourceFieldId: 'ywuey3u8wrb376tjk3t31rnh5',
targetFieldId: 'h66kme3eu2ldeop2cwbkwlnyh',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: '27yzqmf2c5lojx8c6jd87996v',
name: 'entries_id_foreign27',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'dib1gwzwt51eel6kbkopd6zq0',
targetTableId: 'dib1gwzwt51eel6kbkopd6zq0',
sourceFieldId: 'in6bxafo9gbg99mqxkitx66d6',
targetFieldId: '07cudlf0qj8v2zgfnnqplxgrh',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: '2bpg6hqzcq5h13fu0h768kkfj',
name: 'feeds_id_foreign2',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'c6x4nnb3mbeilsxxd6ugcwk61',
targetTableId: 'qp3axlaauiw6fglqfof0beu6n',
sourceFieldId: 'ywuey3u8wrb376tjk3t31rnh5',
targetFieldId: 'tcipf5u866o0365qyuy3zam8o',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: '2g021ew6tji9pfuvw9osioolm',
name: 'imports_id_foreign18',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'krjqbq9p2qt8iff0z2a1f78dw',
targetTableId: 'sicfhd6brnxk9d7urh3incyie',
sourceFieldId: 'x4f8e2cb44zr0w1b5uxrgoox7',
targetFieldId: 'ekpamw4df73zzexmncnmleba0',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '2kwdbuy5hjs7p49azimmmjvh7',
name: 'feeds_id_foreign28',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'c6x4nnb3mbeilsxxd6ugcwk61',
targetTableId: '0sv0phs3rhwela5nxn320bga4',
sourceFieldId: 'ywuey3u8wrb376tjk3t31rnh5',
targetFieldId: '77m2goirttqpem94orbf367wh',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: '2ngiyuuvvw88vwbercsu9ermu',
name: 'suggested_categories_id_foreign15',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'mm2zil01g5dxqjaqsh2awc7rm',
targetTableId: '59lfjx3inmw2zla57slf51z3p',
sourceFieldId: 'fc7x2vwlcjianx5hw2tc29z2p',
targetFieldId: '9udbu56m1p8covf702w0pwjxl',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: '2vx5qti6n4cih36tud4kasoe6',
name: 'users_id_foreign20',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'yl722acu32ijclvq81d01kg34',
targetTableId: 'nrez9p0orrg4qjclr7oe9dbhx',
sourceFieldId: 'tkgjq5tsyjsjodjkqyx5sxway',
targetFieldId: 'ajakw6g2vhgu71h4v0yjh18zp',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: '3c8tn8m8n0e5qptvs2o77mw15',
name: 'entries_id_foreign9',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'dib1gwzwt51eel6kbkopd6zq0',
targetTableId: 'ctja86fkrb5guynmohhtjuw8k',
sourceFieldId: 'in6bxafo9gbg99mqxkitx66d6',
targetFieldId: 'nabhng4bxa0afowe24f81u92z',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: '48j0umowy2rmyqi1b8cufnnjo',
name: 'users_id_foreign4',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'yl722acu32ijclvq81d01kg34',
targetTableId: 'ce6r77awkekmxp68xlw80cdgb',
sourceFieldId: 'tkgjq5tsyjsjodjkqyx5sxway',
targetFieldId: '7prvk9esf4hmlqgaerc4hyz3w',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: '588526p2ihd3kid5x6ta3bf2m',
name: 'users_id_foreign33',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'yl722acu32ijclvq81d01kg34',
targetTableId: 'ctja86fkrb5guynmohhtjuw8k',
sourceFieldId: 'tkgjq5tsyjsjodjkqyx5sxway',
targetFieldId: 'x407hh1rzqpjkwycwv1m5lwb1',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: '5xauclzpcsm95xkuhy88anyo8',
name: 'users_id_foreign26',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'yl722acu32ijclvq81d01kg34',
targetTableId: '39ny0ajiqsk9ikax7bj3js3aq',
sourceFieldId: 'tkgjq5tsyjsjodjkqyx5sxway',
targetFieldId: '9uq9dydmax0v4gq4d6u4phbrb',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: '7l4yx8zln1v8ytv7pw7rylosh',
name: 'users_id_foreign31',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'yl722acu32ijclvq81d01kg34',
targetTableId: 'awacd5gjq18ocku962bjq1lhw',
sourceFieldId: 'tkgjq5tsyjsjodjkqyx5sxway',
targetFieldId: 'typ4eodxedjd2ukk2vlqittxl',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: '8kosd8l35whxxmnra44tuan47',
name: 'users_id_foreign22',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'yl722acu32ijclvq81d01kg34',
targetTableId: '3d8p5abv7ide9fb9cyirw6tbj',
sourceFieldId: 'tkgjq5tsyjsjodjkqyx5sxway',
targetFieldId: 'ey805w5mw0khrlw12qnotm1vi',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: '8q63k5rpfok4ya9qgv76m04yz',
name: 'entries_id_foreign23',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'dib1gwzwt51eel6kbkopd6zq0',
targetTableId: '6w99bmjh4vgkgwbip73ab6dwq',
sourceFieldId: 'in6bxafo9gbg99mqxkitx66d6',
targetFieldId: 'ibal47fpyfouxkuvax38d2aom',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'asy4dfmsrfcmbqo2pqvkbyel5',
name: 'users_id_foreign32',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'yl722acu32ijclvq81d01kg34',
targetTableId: '0sv0phs3rhwela5nxn320bga4',
sourceFieldId: 'tkgjq5tsyjsjodjkqyx5sxway',
targetFieldId: '8ast9v2zh25x2r5bjnpb68y8t',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'dsaka59uw3rsmtx4zb171hasc',
name: 'feeds_id_foreign29',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'c6x4nnb3mbeilsxxd6ugcwk61',
targetTableId: '59lfjx3inmw2zla57slf51z3p',
sourceFieldId: 'ywuey3u8wrb376tjk3t31rnh5',
targetFieldId: 'bsbxlddfbsdcwjv3ouvpka89v',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'haort9lym5hwjs1yp8ftjzh72',
name: 'actions_user_id_fk',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'ce6r77awkekmxp68xlw80cdgb',
targetTableId: 'yl722acu32ijclvq81d01kg34',
sourceFieldId: '7prvk9esf4hmlqgaerc4hyz3w',
targetFieldId: 'tkgjq5tsyjsjodjkqyx5sxway',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'hyzcunjhqimkqhnbx6vfncyl8',
name: 'users_id_foreign17',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'yl722acu32ijclvq81d01kg34',
targetTableId: 'krjqbq9p2qt8iff0z2a1f78dw',
sourceFieldId: 'tkgjq5tsyjsjodjkqyx5sxway',
targetFieldId: 'ql96j4xfmqv7cnm0h4bkn6i2b',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'ixuoucu0k818cpj9fjw89fusf',
name: 'feeds_id_foreign30',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'c6x4nnb3mbeilsxxd6ugcwk61',
targetTableId: '6w99bmjh4vgkgwbip73ab6dwq',
sourceFieldId: 'ywuey3u8wrb376tjk3t31rnh5',
targetFieldId: '25a55382st8ciyewhei93e9ej',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'm5xiz68cc9faq9lgpgcq0ovmc',
name: 'users_id_foreign11',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'yl722acu32ijclvq81d01kg34',
targetTableId: '1ua3134qpskjmxk23yzu9jhkw',
sourceFieldId: 'tkgjq5tsyjsjodjkqyx5sxway',
targetFieldId: 'gz92um2yvjzzipncucikb60zn',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'ojnu8odin0rtf3ghsejl2vham',
name: 'entries_id_foreign19',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'dib1gwzwt51eel6kbkopd6zq0',
targetTableId: 'nrez9p0orrg4qjclr7oe9dbhx',
sourceFieldId: 'in6bxafo9gbg99mqxkitx66d6',
targetFieldId: '2c32u2odxyuq8k1x6oqt4xog6',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'r957rgp8hyiby7252ixhnjpeb',
name: 'plans_id_foreign',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'h5x2ajpghq7hkssyvnpk1sioe',
targetTableId: 'yl722acu32ijclvq81d01kg34',
sourceFieldId: '7jdjullkjeylarup59lj2ou28',
targetFieldId: 'skhmnt7loifcttpg0hmnsyop2',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'rh17pdv79zy2cpixyvskqk9sw',
name: 'tags_id_foreign8',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'hiv6lj83n5vr5sa8gaqgfgnxm',
targetTableId: '3d8p5abv7ide9fb9cyirw6tbj',
sourceFieldId: 'zcln1lpn412wbelkaf2t9h6th',
targetFieldId: 'q9diahjtnqy4z6hpgonjzkzkc',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'sy952r978zvyjxapcwbcrc77c',
name: 'entries_id_foreign21',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'dib1gwzwt51eel6kbkopd6zq0',
targetTableId: 'eus5y1pppa7ws5kx4szie36b3',
sourceFieldId: 'in6bxafo9gbg99mqxkitx66d6',
targetFieldId: '3wuv9e2i17hygart9p1aiph1p',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'tpsdazs9x8w5g6hmifttn1sjh',
name: 'users_id_foreign10',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'yl722acu32ijclvq81d01kg34',
targetTableId: 'l9g6nwa93ys7jgdcw0l53yqpo',
sourceFieldId: 'tkgjq5tsyjsjodjkqyx5sxway',
targetFieldId: 'syd1w3v22fsulmvgtay0sg8cu',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'u7sufnpb93un0yiyt0kiplfl6',
name: 'users_id_foreign25',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'yl722acu32ijclvq81d01kg34',
targetTableId: 'eus5y1pppa7ws5kx4szie36b3',
sourceFieldId: 'tkgjq5tsyjsjodjkqyx5sxway',
targetFieldId: 'y5392l5msropzh6mf2qjt6yh9',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'v1jgi9ybjhock1cdtwa5xfe75',
name: 'authentication_tokens_user_id_fk',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: '39ny0ajiqsk9ikax7bj3js3aq',
targetTableId: 'yl722acu32ijclvq81d01kg34',
sourceFieldId: '9uq9dydmax0v4gq4d6u4phbrb',
targetFieldId: 'tkgjq5tsyjsjodjkqyx5sxway',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'w8qosvw9td3fjvbkmdu939r58',
name: 'users_id_foreign',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'yl722acu32ijclvq81d01kg34',
targetTableId: 'ixjbz9qsazvalh09grm3cnkyp',
sourceFieldId: 'tkgjq5tsyjsjodjkqyx5sxway',
targetFieldId: 'a75vyodug8c0qxd28cmp7shfq',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'wqcpfhgx8g9yyx7h0tlmg9e6d',
name: 'feeds_id_foreign5',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'c6x4nnb3mbeilsxxd6ugcwk61',
targetTableId: '3d8p5abv7ide9fb9cyirw6tbj',
sourceFieldId: 'ywuey3u8wrb376tjk3t31rnh5',
targetFieldId: 'qivgowx8f28gcjeent7mtdy2v',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'yqrcdx3iz05ulh6t7m0p8ppwv',
name: 'feeds_id_foreign1',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'c6x4nnb3mbeilsxxd6ugcwk61',
targetTableId: 'eus5y1pppa7ws5kx4szie36b3',
sourceFieldId: 'ywuey3u8wrb376tjk3t31rnh5',
targetFieldId: 'juum44jix4wcrhooc9cyktkrt',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'yuq9u19ebtcgs1u3t2y4805mj',
name: 'users_id_foreign3',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'yl722acu32ijclvq81d01kg34',
targetTableId: 'x9duzqwy3mldu0yhynbd148as',
sourceFieldId: 'tkgjq5tsyjsjodjkqyx5sxway',
targetFieldId: '4nejfj949yybg9pxjree6c29k',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'zllfho7b3te8ggkgqhma4z0ns',
name: 'feeds_id_foreign12',
sourceSchema: 'public',
targetSchema: 'public',
sourceTableId: 'c6x4nnb3mbeilsxxd6ugcwk61',
targetTableId: 'dib1gwzwt51eel6kbkopd6zq0',
sourceFieldId: 'ywuey3u8wrb376tjk3t31rnh5',
targetFieldId: 'ot8fmst2ca47ab4nj8228fhic',
sourceCardinality: 'one',
targetCardinality: 'one',
createdAt: now,
},
],
dependencies: [],
},
};