Database diagrams editor that allows you to visualize and design your DB with a single query.
TypeScript databasedbdb-migrationeditorerdmariadbmssqlmysqlpostgresqlreactreact-flowschema-migrationssqlsqlitetypescriptvisualizationxyflow
feat(add templates): add six more templates (django-axes, laravel-activitylog, octobox, pay-rails, pixelfed, polr) (#460)
Jonathan Fishner03772f6b4f99
diff --git a/src/assets/templates/django-axes-db-dark.png b/src/assets/templates/django-axes-db-dark.pngnew file mode 100644index 00000000..1611f521Binary files /dev/null and b/src/assets/templates/django-axes-db-dark.png differdiff --git a/src/assets/templates/django-axes-db.png b/src/assets/templates/django-axes-db.pngnew file mode 100644index 00000000..77f72588Binary files /dev/null and b/src/assets/templates/django-axes-db.png differdiff --git a/src/assets/templates/laravel-activitylog-db-dark.png b/src/assets/templates/laravel-activitylog-db-dark.pngnew file mode 100644index 00000000..95652ea3Binary files /dev/null and b/src/assets/templates/laravel-activitylog-db-dark.png differdiff --git a/src/assets/templates/laravel-activitylog-db.png b/src/assets/templates/laravel-activitylog-db.pngnew file mode 100644index 00000000..b9771d43Binary files /dev/null and b/src/assets/templates/laravel-activitylog-db.png differdiff --git a/src/assets/templates/octobox-db-dark.png b/src/assets/templates/octobox-db-dark.pngnew file mode 100644index 00000000..8a96abacBinary files /dev/null and b/src/assets/templates/octobox-db-dark.png differdiff --git a/src/assets/templates/octobox-db.png b/src/assets/templates/octobox-db.pngnew file mode 100644index 00000000..e42caa74Binary files /dev/null and b/src/assets/templates/octobox-db.png differdiff --git a/src/assets/templates/pay-rails-db-dark.png b/src/assets/templates/pay-rails-db-dark.pngnew file mode 100644index 00000000..c4babd23Binary files /dev/null and b/src/assets/templates/pay-rails-db-dark.png differdiff --git a/src/assets/templates/pay-rails-db.png b/src/assets/templates/pay-rails-db.pngnew file mode 100644index 00000000..20f0c38eBinary files /dev/null and b/src/assets/templates/pay-rails-db.png differdiff --git a/src/assets/templates/pixelfed-db-dark.png b/src/assets/templates/pixelfed-db-dark.pngnew file mode 100644index 00000000..cdd1e630Binary files /dev/null and b/src/assets/templates/pixelfed-db-dark.png differdiff --git a/src/assets/templates/pixelfed-db.png b/src/assets/templates/pixelfed-db.pngnew file mode 100644index 00000000..801b638aBinary files /dev/null and b/src/assets/templates/pixelfed-db.png differdiff --git a/src/assets/templates/polr-db-dark.png b/src/assets/templates/polr-db-dark.pngnew file mode 100644index 00000000..22335969Binary files /dev/null and b/src/assets/templates/polr-db-dark.png differdiff --git a/src/assets/templates/polr-db.png b/src/assets/templates/polr-db.pngnew file mode 100644index 00000000..3dc2c6afBinary files /dev/null and b/src/assets/templates/polr-db.png differdiff --git a/src/templates-data/templates-data.ts b/src/templates-data/templates-data.tsindex 405fae34..90eb478c 100644--- a/src/templates-data/templates-data.ts+++ b/src/templates-data/templates-data.ts@@ -43,6 +43,12 @@ import { staytusDb } from './templates/staytus-db';import { deployerDb } from './templates/deployer-db';import { deviseDb } from './templates/devise-db';import { talkDb } from './templates/talk-db';+import { octoboxDb } from './templates/octobox-db';+import { payRailsDb } from './templates/pay-rails-db';+import { laravelActivitylogDb } from './templates/laravel-activitylog-db';+import { pixelfedDb } from './templates/pixelfed-db';+import { polrDb } from './templates/polr-db';+import { djangoAxesDb } from './templates/django-axes-db';export interface Template {slug: string;name: string;@@ -101,4 +107,10 @@ export const templates: Template[] = [deployerDb,deviseDb,talkDb,+ octoboxDb,+ payRailsDb,+ laravelActivitylogDb,+ pixelfedDb,+ polrDb,+ djangoAxesDb,];diff --git a/src/templates-data/templates/django-axes-db.ts b/src/templates-data/templates/django-axes-db.tsnew file mode 100644index 00000000..4a7b56fd--- /dev/null+++ b/src/templates-data/templates/django-axes-db.ts@@ -0,0 +1,330 @@+import { DatabaseType } from '@/lib/domain/database-type';+import type { Template } from '../templates-data';+import image from '@/assets/templates/django-axes-db.png';+import imageDark from '@/assets/templates/django-axes-db-dark.png';++export const djangoAxesDb: Template = {+ slug: 'django-axes-database',+ name: 'Django-Axes',+ shortDescription: 'Keep track of failed login attempts',+ description:+ 'Plugin for keeping track of suspicious login attempts for your Django based website and implementing simple brute-force attack blocking.',+ image,+ imageDark,+ tags: ['Postgres', 'Python', 'Django'],+ featured: true,+ url: 'https://github.com/',+ diagram: {+ id: 'django_axes_db',+ name: 'django-axes-database',+ createdAt: new Date(),+ updatedAt: new Date(),+ databaseType: DatabaseType.POSTGRESQL,+ tables: [+ {+ id: '4esk76ris823wds5xm9bconsh',+ name: 'axes_accessattempt',+ schema: 'public',+ x: 100,+ y: 100,+ fields: [+ {+ id: 'qiifgo2m69wr2f5r540ighdn5',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '66cz3gwbtp76bdcwt0h7yd59o',+ name: 'user_agent',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '7x8xnt3d6tvg8ypgutg69ezwf',+ name: 'ip_address',+ type: {+ id: 'character',+ name: 'character',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '4uzrfehffgkko23kkfnem845e',+ name: 'username',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'em88cnmugu1hbz2eoitw0pg41',+ name: 'http_accept',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'r3ci7zx7hpqfjl7xh901o26t0',+ name: 'path_info',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'x7gp2rhiyeuxfo9z7do6m8jx5',+ name: 'attempt_time',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '5kr5n4kw3yj9zyrdzge1dmmel',+ name: 'get_data',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'w9ftgbg7eageinlswv81236i6',+ name: 'post_data',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '1uzevngyjshchz6ng4pminmn6',+ name: 'failures_since_start',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '5cwoxgz8yfnk04sdwsxkzkrzz',+ name: 'axes_accessattempt_pkey',+ unique: true,+ fieldIds: ['qiifgo2m69wr2f5r540ighdn5'],+ createdAt: Date.now(),+ },+ {+ id: 'atwekklt473ufr376hwecjmto',+ name: 'axes_accessattempt_ip_address_index',+ unique: false,+ fieldIds: ['7x8xnt3d6tvg8ypgutg69ezwf'],+ createdAt: Date.now(),+ },+ {+ id: '392z7orwsld9pvus25g0o9x7q',+ name: 'axes_accessattempt_username_index',+ unique: false,+ fieldIds: ['4uzrfehffgkko23kkfnem845e'],+ createdAt: Date.now(),+ },+ {+ id: 'dl7hqeogexegty5n8mthkd42t',+ name: 'axes_accessattempt_user_agent_index',+ unique: false,+ fieldIds: ['66cz3gwbtp76bdcwt0h7yd59o'],+ createdAt: Date.now(),+ },+ ],+ color: '#8eb7ff',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'knudgan04alr6isbtj71hrp4o',+ name: 'axes_accesslog',+ schema: 'public',+ x: 500,+ y: 100,+ fields: [+ {+ id: 'gb0jb6h526ovyigq59hasphe9',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'h646hkm3f7l44e7636t1vy36k',+ name: 'user_agent',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '8d4thw73t977q0urpsz9kb756',+ name: 'ip_address',+ type: {+ id: 'character',+ name: 'character',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '81tx841qnh0w0aivsi80zlwnj',+ name: 'username',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'iznj6y8lya85cxmbflx1php3k',+ name: 'http_accept',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'tes78cloyrabu6qcqx4uydc11',+ name: 'path_info',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'l9bfkhgnydp27ijjcmt8pivdw',+ name: 'attempt_time',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'i98mn16tjtmrbkmiddnm6al1g',+ name: 'logout_time',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '71pclulmgkm9cupzfefeevqs9',+ name: 'axes_accesslog_user_agent_index',+ unique: false,+ fieldIds: ['h646hkm3f7l44e7636t1vy36k'],+ createdAt: Date.now(),+ },+ {+ id: 'm2e0wcfv78sbu0tuqr54ewlh2',+ name: 'axes_accesslog_pkey',+ unique: true,+ fieldIds: ['gb0jb6h526ovyigq59hasphe9'],+ createdAt: Date.now(),+ },+ {+ id: '0rcy8x74jr39osxh727jjnkj3',+ name: 'axes_accesslog_username_index',+ unique: false,+ fieldIds: ['81tx841qnh0w0aivsi80zlwnj'],+ createdAt: Date.now(),+ },+ {+ id: 'fyq3q7zy49bcehsh236skz9ah',+ name: 'axes_accesslog_ip_address_index',+ unique: false,+ fieldIds: ['8d4thw73t977q0urpsz9kb756'],+ createdAt: Date.now(),+ },+ ],+ color: '#8eb7ff',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ ],+ relationships: [],+ dependencies: [],+ },+};diff --git a/src/templates-data/templates/laravel-activitylog-db.ts b/src/templates-data/templates/laravel-activitylog-db.tsnew file mode 100644index 00000000..6a31a338--- /dev/null+++ b/src/templates-data/templates/laravel-activitylog-db.ts@@ -0,0 +1,227 @@+import { DatabaseType } from '@/lib/domain/database-type';+import type { Template } from '../templates-data';+import image from '@/assets/templates/laravel-activitylog-db.png';+import imageDark from '@/assets/templates/laravel-activitylog-db-dark.png';++export const laravelActivitylogDb: Template = {+ slug: 'laravel-activitylog-database',+ name: 'Laravel Activitylog',+ shortDescription: 'Log activity inside your Laravel app',+ description:+ 'Package provides easy to use functions to log the activities of the users of your app.',+ image,+ imageDark,+ tags: ['MySQL', 'Open Source', 'Laravel', 'PHP'],+ featured: false,+ url: 'https://github.com/stefanzweifel/laravel-activitylog',+ diagram: {+ id: 'laravel_activitylog_db',+ name: 'laravel-activitylog-database',+ createdAt: new Date(),+ updatedAt: new Date(),+ databaseType: DatabaseType.MYSQL,+ tables: [+ {+ id: 'jcl5gphu817lv8oyozvuvf23c',+ name: 'activity_log',+ schema: 't_laravel_activitylog_db',+ x: 100,+ y: 100,+ fields: [+ {+ id: 'aotc76lw9u7uxh7pro07f6j0p',+ name: 'id',+ type: {+ id: 'int',+ name: 'int',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'zvvytqmfe4orhi45k75278wel',+ name: 'log_name',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: 'j51d80x714299knbz7z92foow',+ name: 'description',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: 'qpuyahkualqltg8bwesy2xkx6',+ name: 'subject_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ehh1993c7675onxybh3f476cs',+ name: 'subject_type',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: 'jszmokhj5rh1oixx4gjafyn2j',+ name: 'event',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: 'dy9v51ey1731raepj4b4vpars',+ name: 'causer_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'z72ugem30h3hfzosc8kzktdyl',+ name: 'causer_type',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: 'v1iw9y1su4j6bqv7x4hethye8',+ name: 'properties',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'hhj0bm5t270jkake9hryq0wop',+ name: 'batch_uuid',+ type: {+ id: 'char',+ name: 'char',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: 'e76wqcihlqq8mvq7sodb7grlb',+ name: 'created_at',+ type: {+ id: 'datetime',+ name: 'datetime',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ynaua9wzhssaba9iw7o4bg10f',+ name: 'updated_at',+ type: {+ id: 'datetime',+ name: 'datetime',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '3p7a26r0be3yk36g0yls8q7of',+ name: 'PRIMARY',+ unique: true,+ fieldIds: ['aotc76lw9u7uxh7pro07f6j0p'],+ createdAt: Date.now(),+ },+ {+ id: 'e21o6cephz679p0g4re89x9sv',+ name: 'activity_log_log_name_index',+ unique: false,+ fieldIds: ['zvvytqmfe4orhi45k75278wel'],+ createdAt: Date.now(),+ },+ {+ id: 'xk0o7g6f7rraatqucvbiussmd',+ name: 'activity_log_subject_id_subject_type_index',+ unique: false,+ fieldIds: [+ 'qpuyahkualqltg8bwesy2xkx6',+ 'ehh1993c7675onxybh3f476cs',+ ],+ createdAt: Date.now(),+ },+ {+ id: 't8e0k3sg3ajh037hbxmaw2cvq',+ name: 'activity_log_causer_id_causer_type_index',+ unique: false,+ fieldIds: [+ 'dy9v51ey1731raepj4b4vpars',+ 'z72ugem30h3hfzosc8kzktdyl',+ ],+ createdAt: Date.now(),+ },+ ],+ color: '#9ef07a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ ],+ relationships: [],+ dependencies: [],+ },+};diff --git a/src/templates-data/templates/octobox-db.ts b/src/templates-data/templates/octobox-db.tsnew file mode 100644index 00000000..e37c6cba--- /dev/null+++ b/src/templates-data/templates/octobox-db.ts@@ -0,0 +1,2000 @@+import { DatabaseType } from '@/lib/domain/database-type';+import type { Template } from '../templates-data';+import image from '@/assets/templates/octobox-db.png';+import imageDark from '@/assets/templates/octobox-db-dark.png';++export const octoboxDb: Template = {+ slug: 'octobox-database',+ name: 'Octobox',+ shortDescription: 'GitHub notifications Manager',+ description:+ 'Octobox helps you manage your GitHub notifications efficiently so you can spend less time managing and more time building.',+ image,+ imageDark,+ tags: ['Postgres', 'Open Source', 'Rails'],+ featured: true,+ url: 'https://github.com/octobox/octobox',+ diagram: {+ id: 'octobox_db',+ name: 'octobox-database',+ createdAt: new Date(),+ updatedAt: new Date(),+ databaseType: DatabaseType.POSTGRESQL,+ tables: [+ {+ id: '37np0qffoyukcatnqkwd2szdh',+ name: 'users',+ schema: 'public',+ x: 100,+ y: 100,+ fields: [+ {+ id: 'zp2xsp1vy5v7hvg33xmjgoio2',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'p4baw2bc3hpt7px5qwf7v8cm8',+ name: 'github_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'q8pfwtofmh1ztez7uxakgzd8g',+ name: 'github_login',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'lpcbm9mdwfg9vwopyi3aj15op',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'l2yn50oesv1r4ews99n5hcz79',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'svb1wb0ypg97qhbei1p9y23z2',+ name: 'last_synced_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'udaga2r9cqxubcaprjwwmtqba',+ name: 'refresh_interval',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'kgqffmx5mgczgkas7mal6o5f9',+ name: 'api_token',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'y9p03xk7jp9rqvrmvghc5em30',+ name: 'sync_job_id',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'amlkpvbpb2kg0lrbov7dqka40',+ name: 'encrypted_access_token',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'gj5w5n78utgk2u9l887xgb4ao',+ name: 'encrypted_access_token_iv',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '1afk8adyebbi97ael86ksiys2',+ name: 'encrypted_personal_access_token',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'aody93at5irbv0spetf1dz92y',+ name: 'encrypted_personal_access_token_iv',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'xj4z08juky73pze9e54kw0cx1',+ name: 'encrypted_app_token',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 't6s5jdw2lbnmb23d29xlq2ptk',+ name: 'encrypted_app_token_iv',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'jademvmj5bqdaxka30xg73ljr',+ name: 'theme',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '73mig1zevf6ksb2cfbfmz029x',+ name: 'display_comments',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'psykmdoy821o4i7bna063vf0w',+ name: 'users_github_id_unique',+ unique: true,+ fieldIds: ['p4baw2bc3hpt7px5qwf7v8cm8'],+ createdAt: Date.now(),+ },+ {+ id: 'j8fpv7ek7wnguqucasnak3yn8',+ name: 'users_pkey',+ unique: true,+ fieldIds: ['zp2xsp1vy5v7hvg33xmjgoio2'],+ createdAt: Date.now(),+ },+ {+ id: 'tipumn37rqx90t20ua53ur9pm',+ name: 'users_api_token_unique',+ unique: true,+ fieldIds: ['kgqffmx5mgczgkas7mal6o5f9'],+ createdAt: Date.now(),+ },+ ],+ color: '#ffe374',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: '5az7tvlsq0h06z0u44eljxvat',+ name: 'notifications',+ schema: 'public',+ x: -99.99999999999991,+ y: 533.0127018922194,+ fields: [+ {+ id: '0cjyot7ss345hirj0b0ptr63w',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'vhf76uw2vbyxe31h1g5fbwtcu',+ name: 'user_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ffiuvd0ho72iq0sl3fm3wafsk',+ name: 'github_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'hgb2xijbp1xd9cyahvgnug16h',+ name: 'repository_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '1mjpxo4aw51bcirxt3oc0wlv5',+ name: 'repository_full_name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '3x7b6mfnsf2vd4vhzb6c85vtm',+ name: 'subject_title',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'wrr7uxbba3rymy1s1m3h8gbhr',+ name: 'subject_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'f2723chewvy2meyi7gtnlw9bs',+ name: 'subject_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'wmf1fv16xs6jzsv9tv2kprou5',+ name: 'reason',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ds9snjgz5osde9ekyp3vez7zg',+ name: 'unread',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'xc01d8d5zks278mz92momtl19',+ name: 'last_read_at',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'sm37qq714idyqja873xvs0t52',+ name: 'url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'j7lzie22rwtkzdc1cbeksi1lz',+ name: 'archived',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '1nb3urlsbsw78i6ks4mv7x2fs',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'zkk8jrwq8lzuvajn4k5iabe68',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '51uu0775w7nv1bu2kzjdzmpcx',+ name: 'starred',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'q35d8p8n7nnz993lur3qdwptz',+ name: 'repository_owner_name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'el0xkn5eq5ech3g00swfsc0uv',+ name: 'latest_comment_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 't7zohdm6eqb3i7d7cwtn7w2mj',+ name: 'muted_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'vfxxn1ptiynvu7n3e3orbuv77',+ name: 'notifications_user_id_archived_updated_at_index',+ unique: false,+ fieldIds: [+ 'vhf76uw2vbyxe31h1g5fbwtcu',+ 'j7lzie22rwtkzdc1cbeksi1lz',+ 'zkk8jrwq8lzuvajn4k5iabe68',+ ],+ createdAt: Date.now(),+ },+ {+ id: 'sa5v1imisfqhruhl2f371ybug',+ name: 'notifications_subject_url_index',+ unique: false,+ fieldIds: ['wrr7uxbba3rymy1s1m3h8gbhr'],+ createdAt: Date.now(),+ },+ {+ id: 'p8wqgz88g1u35vwtbvdumz5n7',+ name: 'notifications_user_id_github_id_unique',+ unique: true,+ fieldIds: [+ 'vhf76uw2vbyxe31h1g5fbwtcu',+ 'ffiuvd0ho72iq0sl3fm3wafsk',+ ],+ createdAt: Date.now(),+ },+ {+ id: '3qqa6ymeuvgszrdhyxnm1nyw5',+ name: 'notifications_pkey',+ unique: true,+ fieldIds: ['0cjyot7ss345hirj0b0ptr63w'],+ createdAt: Date.now(),+ },+ {+ id: '0pfxupcv8kazc5j0e6lqeaaiv',+ name: 'notifications_muted_at_index',+ unique: false,+ fieldIds: ['t7zohdm6eqb3i7d7cwtn7w2mj'],+ createdAt: Date.now(),+ },+ {+ id: '6q0lpdyq1cdvq8s8f1tt4tc1l',+ name: 'notifications_repository_full_name_index',+ unique: false,+ fieldIds: ['1mjpxo4aw51bcirxt3oc0wlv5'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff6b8a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'c0bbaby788cbi5gllfx8y5kvy',+ name: 'repositories',+ schema: 'public',+ x: 300.0000000000001,+ y: 533.0127018922194,+ fields: [+ {+ id: 'hllsvvzdsa1ti5mbwjce5eb0m',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '9l4532f1cgcmt5hizgq6ycqmd',+ name: 'full_name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '3zkk69s9f6f0o398mnev8sorx',+ name: 'github_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '32boc01nkjh798msgroxdht6a',+ name: 'private',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'x4v4tknbbqmhufh8ejgf322e5',+ name: 'owner',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '1v67ykz9ovly04jfjvn8m1wuz',+ name: 'last_synced_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'a4u5ilqa8zsxr2aarn810v936',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'erud34rsun7pl7bg8a2qogu3j',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'liz4rgeho5elqk7hka4cr1hk4',+ name: 'app_installation_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '4t3um6rr3g5x8169o76f8y4vh',+ name: 'repositories_pkey',+ unique: true,+ fieldIds: ['hllsvvzdsa1ti5mbwjce5eb0m'],+ createdAt: Date.now(),+ },+ {+ id: 'e0biwkqvbn85k1199585r4dmv',+ name: 'repositories_github_id_index',+ unique: false,+ fieldIds: ['3zkk69s9f6f0o398mnev8sorx'],+ createdAt: Date.now(),+ },+ {+ id: '2h4osgx506nni8takxgp31fis',+ name: 'repositories_full_name_unique',+ unique: true,+ fieldIds: ['9l4532f1cgcmt5hizgq6ycqmd'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff9f74',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'fjvn8b9no6bwsamjxpz0ybtwv',+ name: 'app_installations',+ schema: 'public',+ x: 700.0000000000001,+ y: 533.0127018922194,+ fields: [+ {+ id: 'ngod02y4j6f7cm10nvccq94p7',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'vwixchhemb056y4t6gwtif9gm',+ name: 'github_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'pz3fasji7x4i2qsvimb8dyu4z',+ name: 'app_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '7hfi9p81n975attk9j9njl97v',+ name: 'account_login',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'm51w7ua3aiprmzfwzf76onlpq',+ name: 'account_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '2t8yaiy82kcz5r4siqtdfoa1w',+ name: 'account_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '8x6ushq205320l3x09y0d1hqe',+ name: 'target_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '2s2p9basc497qwij3p3c2kkrp',+ name: 'target_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '5uoihxylnx3n8jjyo4aixqpkd',+ name: 'permission_pull_requests',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'vpnwelfqudgc1axh5ersd5bz6',+ name: 'permission_issues',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'u2rjvm2eo4jm3xdi8kem4rf6j',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'tdlglnof4ml53b4vw5wrmhju1',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'dbrjhctpy8ejthykq73cnc1lg',+ name: 'permission_statuses',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 't91uptkw6hh478yveag7n9e8a',+ name: 'app_installations_pkey',+ unique: true,+ fieldIds: ['ngod02y4j6f7cm10nvccq94p7'],+ createdAt: Date.now(),+ },+ ],+ color: '#7175fa',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'o74arv476fr0n9xuzsv0atulh',+ name: 'app_installation_permissions',+ schema: 'public',+ x: 1100,+ y: 533.0127018922194,+ fields: [+ {+ id: '887npfguizau91vpxqv00fabh',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '2t3pwzqhm8kil7sntyfsh0yd7',+ name: 'app_installation_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 't62wpjjlniz8727737x78qbf0',+ name: 'user_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'tvptc3bz4i5hixe158trg9er8',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'tode6je7j77x4lzyj2fecif26',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'ivfc7gytpu48izpuw07fva6iy',+ name: 'app_installation_permissions_pkey',+ unique: true,+ fieldIds: ['887npfguizau91vpxqv00fabh'],+ createdAt: Date.now(),+ },+ ],+ color: '#c05dcf',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'ocpsd70dkrp5sy3pshyn0t2td',+ name: 'subscription_plans',+ schema: 'public',+ x: 100.00000000000003,+ y: 1050,+ fields: [+ {+ id: 'y4ft5c1c2g357l8iqg1tvmhqo',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ylkjtzhgieg860njjpfbhmgpv',+ name: 'github_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '2zyr3l94bw5sfzafvl9aad4px',+ name: 'name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'kv04xqd7ympyfhcxlyhs9neiv',+ name: 'description',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '9aiwyirprxplznnjdlvtpjagc',+ name: 'monthly_price_in_cents',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ogt62vsabaa69hd48h8a6mpa7',+ name: 'yearly_price_in_cents',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'zithlm49swhv1mdbqiq79mjg3',+ name: 'price_model',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '2wa79q0xxrwbokg5fki6o6mcw',+ name: 'has_free_trial',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '1h728nxnom8nyb1k7ydonsg18',+ name: 'unit_name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '1cmfmjco4kd6w8c6r6lfc4zto',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '47gl5qpph42m4rqxrgk46m25d',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '3enfnsfq4dh430th2y1256ai9',+ name: 'number',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'o3a2q8u1himc6xqyd8ihh1b55',+ name: 'subscription_plans_pkey',+ unique: true,+ fieldIds: ['y4ft5c1c2g357l8iqg1tvmhqo'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff6363',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'ovgsryw25j95li3tg9up0c2ih',+ name: 'comments',+ schema: 'public',+ x: 2100,+ y: 100,+ fields: [+ {+ id: 'aunzw3n1w1kukpijygyb32tz7',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'j7l6llgfhjvlc4pq6yhb1s2de',+ name: 'subject_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'xc3fl39b5zpp5ngobca3k8ng6',+ name: 'github_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '25j3i64k41uauc3ygr3tmyoyk',+ name: 'author',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'tnwdd84xoeidzqa7h9f8x42qc',+ name: 'author_association',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'wxeg9rmwbdiqppnk641s739qz',+ name: 'body',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'yumx70hs0dtivwyroi8wimmt0',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'bri8jugf3idw4v3o6jm6q7u38',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'zllcvsk4ks685cor0d3r91zg5',+ name: 'review_state',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'xdjtug1eut1re5bc3ayh3rvwi',+ name: 'url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'zqemd5kqna4wtzs0xsyhcn3o4',+ name: 'comments_subject_id_index',+ unique: false,+ fieldIds: ['j7l6llgfhjvlc4pq6yhb1s2de'],+ createdAt: Date.now(),+ },+ {+ id: 'od8frlwv7n734fq95mxbmzjq0',+ name: 'comments_pkey',+ unique: true,+ fieldIds: ['aunzw3n1w1kukpijygyb32tz7'],+ createdAt: Date.now(),+ },+ ],+ color: '#9ef07a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'pgv2qrv0zltf7bahswjn85rvj',+ name: 'pinned_searches',+ schema: 'public',+ x: 500,+ y: 100,+ fields: [+ {+ id: 'c2opr5r12hxqzf1xb8jvob0my',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 't4xqm3qlowlofgh8ox4ygg0sm',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '5j9h427q8bgiax0wcdsw32jew',+ name: 'query',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '3gq8iysrfng2biujq3qh7e8on',+ name: 'name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '9m5vold4x76hzm6caw3tr33jo',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'o9n75sgdb2utucizzdvjj48hr',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'sar3w24lkix9o1auzddnry9hi',+ name: 'pinned_searches_user_id_index',+ unique: false,+ fieldIds: ['t4xqm3qlowlofgh8ox4ygg0sm'],+ createdAt: Date.now(),+ },+ {+ id: 'sth5lham4yptgb3x2lg6fjzou',+ name: 'pinned_searches_pkey',+ unique: true,+ fieldIds: ['c2opr5r12hxqzf1xb8jvob0my'],+ createdAt: Date.now(),+ },+ ],+ color: '#9ef07a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'wfsf2mk6hsdo34lb4d3vstnup',+ name: 'subjects',+ schema: 'public',+ x: 1700,+ y: 100,+ fields: [+ {+ id: 'x4ihmgw06f2hktcy1gwcydoqn',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'g6vbh7sce5n3z4pjr0a181c9i',+ name: 'url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'mifo6hjcut13mlcsv6292f0qn',+ name: 'state',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'q1tt1827md17mhi9qj9yrv4n9',+ name: 'author',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'aq4oojacdn552requ32fo98g9',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'itknc4ntvsx4igrs6deb4wlle',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'xp6wd0r9hfhtrnfxjh6nivcxs',+ name: 'html_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '534mir0orksn8su60rgcod656',+ name: 'assignees',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '813kavmcr5eed9vs3p0nn05jz',+ name: 'github_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'hy417mvyo3dwcbffqg7agir0h',+ name: 'repository_full_name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'zwn8z8p9g9xp4svkur1mxaoow',+ name: 'locked',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'q9dojlyyovg2xwjizguyfw9pu',+ name: 'sha',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '7qsgw492vx9rn6yhuqizvfzfm',+ name: 'status',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'v34638whp5myyiytzmnpgqv06',+ name: 'body',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'khr12v2g2jcjs1h0ttg3pajqq',+ name: 'comment_count',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'a9wiof1ypblclnzxjkgiqg08v',+ name: 'draft',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'iaz0v2kq93odx7jk1s3wxivu6',+ name: 'subjects_pkey',+ unique: true,+ fieldIds: ['x4ihmgw06f2hktcy1gwcydoqn'],+ createdAt: Date.now(),+ },+ {+ id: 'iopuijdji16fgy1ay032yrgge',+ name: 'subjects_repository_full_name_index',+ unique: false,+ fieldIds: ['hy417mvyo3dwcbffqg7agir0h'],+ createdAt: Date.now(),+ },+ {+ id: 'jycapdcmrz9bk4oe20x59g4f7',+ name: 'subjects_url_index',+ unique: false,+ fieldIds: ['g6vbh7sce5n3z4pjr0a181c9i'],+ createdAt: Date.now(),+ },+ ],+ color: '#c05dcf',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'xwpaod0scheluskbj4u0gic5p',+ name: 'labels',+ schema: 'public',+ x: 1300,+ y: 100.00000000000006,+ fields: [+ {+ id: 'h44dv1pgz290bqqi5urymq078',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '4c5e1payeq9ml0dpc7u99a99w',+ name: 'name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'nlfmrtgugyjuvlg59vyn8xp1j',+ name: 'color',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'd81p3uprsyj6geuqubcq08yzh',+ name: 'subject_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ohl27nbzkhrmggnqollls5lrb',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'nlwg1rtbl0tfmfz6rd7os4vdi',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '2ts2vqf4egiie477cn8shehnb',+ name: 'github_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '4truc3rjqzb4loo55dbpg09y4',+ name: 'labels_subject_id_index',+ unique: false,+ fieldIds: ['d81p3uprsyj6geuqubcq08yzh'],+ createdAt: Date.now(),+ },+ {+ id: 'pru3aka4n1cfxcaxk6t6x1jnw',+ name: 'labels_name_index',+ unique: false,+ fieldIds: ['4c5e1payeq9ml0dpc7u99a99w'],+ createdAt: Date.now(),+ },+ {+ id: 'ay14h83a4l0d2p1tlpdavqn1d',+ name: 'labels_pkey',+ unique: true,+ fieldIds: ['h44dv1pgz290bqqi5urymq078'],+ createdAt: Date.now(),+ },+ ],+ color: '#ffe374',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'yv0yx7t8oxxr8icwcevqiu3b3',+ name: 'subscription_purchases',+ schema: 'public',+ x: 500,+ y: 1050,+ fields: [+ {+ id: '0qrly6mnoy5353f31oyxi4ayo',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'oxw842dhhgfkco6eib0zx75q8',+ name: 'subscription_plan_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '3q1pwuu5a9fbzgmu2za4wmgya',+ name: 'account_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'rn72zdppm2dmsyv8bzf8yemwr',+ name: 'billing_cycle',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'hzzxtzil0v8imb9ida60b3y8t',+ name: 'unit_count',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'y51s8vn69pe4uqw03vbw2gy7d',+ name: 'on_free_trial',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'zc6puudmrv7l96dg5yn1g6vob',+ name: 'free_trial_ends_on',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'g0dfthiy8nkzwun0xlgewu4fa',+ name: 'next_billing_date',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'vdz625w0y8xhop1v8gl6n02bd',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'dazp4ps1dqdl4nctltl2uykcb',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'cqi5ylbfj4fl0zssm5lsryv53',+ name: 'oc_transactionid',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'p15tpzq2lo0ry5pj0u0rjfofh',+ name: 'subscription_purchases_pkey',+ unique: true,+ fieldIds: ['0qrly6mnoy5353f31oyxi4ayo'],+ createdAt: Date.now(),+ },+ ],+ color: '#ffe374',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ ],+ relationships: [+ {+ id: '0d4uvwu6ekvps1f41rkg2nov6',+ name: 'notifications_repository_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: '5az7tvlsq0h06z0u44eljxvat',+ targetTableId: 'c0bbaby788cbi5gllfx8y5kvy',+ sourceFieldId: 'hgb2xijbp1xd9cyahvgnug16h',+ targetFieldId: 'hllsvvzdsa1ti5mbwjce5eb0m',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '2yjx9j6e4dde95gsdyxz29dg0',+ name: 'labels_subject_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'xwpaod0scheluskbj4u0gic5p',+ targetTableId: 'wfsf2mk6hsdo34lb4d3vstnup',+ sourceFieldId: 'd81p3uprsyj6geuqubcq08yzh',+ targetFieldId: 'x4ihmgw06f2hktcy1gwcydoqn',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'd2r50b73rjdobn6svz4pgdrfj',+ name: 'app_installation_permissions_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'o74arv476fr0n9xuzsv0atulh',+ targetTableId: '37np0qffoyukcatnqkwd2szdh',+ sourceFieldId: 't62wpjjlniz8727737x78qbf0',+ targetFieldId: 'zp2xsp1vy5v7hvg33xmjgoio2',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'dj9lzbowq6h09sfj1z335bdoo',+ name: 'app_installation_permissions_app_installation_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'o74arv476fr0n9xuzsv0atulh',+ targetTableId: 'fjvn8b9no6bwsamjxpz0ybtwv',+ sourceFieldId: '2t3pwzqhm8kil7sntyfsh0yd7',+ targetFieldId: 'ngod02y4j6f7cm10nvccq94p7',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'h5pk88xog4mje1v8n95500cia',+ name: 'comments_subject_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'ovgsryw25j95li3tg9up0c2ih',+ targetTableId: 'wfsf2mk6hsdo34lb4d3vstnup',+ sourceFieldId: 'j7l6llgfhjvlc4pq6yhb1s2de',+ targetFieldId: 'x4ihmgw06f2hktcy1gwcydoqn',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'tylbof2t3jiycv7gb4ef9nr4w',+ name: 'subscription_purchases_subscription_plan_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'yv0yx7t8oxxr8icwcevqiu3b3',+ targetTableId: 'ocpsd70dkrp5sy3pshyn0t2td',+ sourceFieldId: 'oxw842dhhgfkco6eib0zx75q8',+ targetFieldId: 'y4ft5c1c2g357l8iqg1tvmhqo',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'vbiugdwzcbbv946r2ntsourzg',+ name: 'pinned_searches_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'pgv2qrv0zltf7bahswjn85rvj',+ targetTableId: '37np0qffoyukcatnqkwd2szdh',+ sourceFieldId: 't4xqm3qlowlofgh8ox4ygg0sm',+ targetFieldId: 'zp2xsp1vy5v7hvg33xmjgoio2',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'ysqwoyi0ef6nvd06l8swg0qm7',+ name: 'repositories_app_installation_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'c0bbaby788cbi5gllfx8y5kvy',+ targetTableId: 'fjvn8b9no6bwsamjxpz0ybtwv',+ sourceFieldId: 'liz4rgeho5elqk7hka4cr1hk4',+ targetFieldId: 'ngod02y4j6f7cm10nvccq94p7',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'zw1ccdac9rqjbc8sdrudek0qn',+ name: 'notifications_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: '5az7tvlsq0h06z0u44eljxvat',+ targetTableId: '37np0qffoyukcatnqkwd2szdh',+ sourceFieldId: 'vhf76uw2vbyxe31h1g5fbwtcu',+ targetFieldId: 'zp2xsp1vy5v7hvg33xmjgoio2',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ ],+ dependencies: [],+ },+};diff --git a/src/templates-data/templates/pay-rails-db.ts b/src/templates-data/templates/pay-rails-db.tsnew file mode 100644index 00000000..bdd7d8ed--- /dev/null+++ b/src/templates-data/templates/pay-rails-db.ts@@ -0,0 +1,1485 @@+import { DatabaseType } from '@/lib/domain/database-type';+import type { Template } from '../templates-data';+import image from '@/assets/templates/pay-rails-db.png';+import imageDark from '@/assets/templates/pay-rails-db-dark.png';++export const payRailsDb: Template = {+ slug: 'pay-rails-database',+ name: 'Pay-Rails',+ shortDescription: 'Payments for Ruby on Rails apps',+ description:+ 'Allows you to accept payments from Stripe, Paddle, Braintree, Lemon Squeezy, and more.',+ image,+ imageDark,+ tags: ['Postgres', 'Open Source', 'Rails'],+ featured: true,+ url: 'https://github.com/pay-rails/pay',+ diagram: {+ id: 'pay_rails_db',+ name: 'pay-rails-database',+ createdAt: new Date(),+ updatedAt: new Date(),+ databaseType: DatabaseType.POSTGRESQL,+ tables: [+ {+ id: '6bcyzessb8ilsjgy01typ2jeb',+ name: 'pay_merchants',+ schema: 'public',+ x: 889.1929564411491,+ y: -331.8643188137164,+ fields: [+ {+ id: '8ekvepjc55cftsj1h45hl558z',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ default: "nextval('pay_merchants_id_seq'::regclass)",+ createdAt: Date.now(),+ },+ {+ id: 'cjs9abnqnmgs2q52b5xrwryxb',+ name: 'owner_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'jwnnw10whuupmv38cq7awhdzi',+ name: 'owner_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'boar043p9e616uj978eg3vxhm',+ name: 'processor',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '8ryynbt8i3i98t53jbaz5nalw',+ name: 'processor_id',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '22xrohu0rajq9gpw1ancpwcsw',+ name: 'default',+ type: {+ id: 'boolean',+ name: 'boolean',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '2u1pmcizr6fvuad4q1lrfh97s',+ name: 'data',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'wzhrq6f5x0wnr4y88pdcunons',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'bzpzc67r80gpd8lqck3d0lbup',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'zhfpqp513y4p0qufy0texbmv8',+ name: 'type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'm7xvsbvju64wgf2zvrdqcdm1h',+ name: 'index_pay_merchants_on_owner_type_and_owner_id_and_processor',+ unique: false,+ fieldIds: [+ 'cjs9abnqnmgs2q52b5xrwryxb',+ 'jwnnw10whuupmv38cq7awhdzi',+ 'boar043p9e616uj978eg3vxhm',+ ],+ createdAt: Date.now(),+ },+ {+ id: 'ti2lj97oy2trnkmimh84el31f',+ name: 'pay_merchants_pkey',+ unique: true,+ fieldIds: ['8ekvepjc55cftsj1h45hl558z'],+ createdAt: Date.now(),+ },+ ],+ color: '#7175fa',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'aliqiks5f2gm4du9io27jf1vy',+ name: 'pay_charges',+ schema: 'public',+ x: 540,+ y: -340,+ fields: [+ {+ id: 'rxmlheh0hosh2ihr1em9q65nc',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ default: "nextval('pay_charges_id_seq'::regclass)",+ createdAt: Date.now(),+ },+ {+ id: 'pv5smlh4qam1xwyxoq49ncuy8',+ name: 'customer_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'akm13624gviyp0hv9c2avabm5',+ name: 'subscription_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'fyfgp04eccrc26sqoe2wnazwj',+ name: 'processor_id',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '8gdaxumxkc4oi2h5zndx07x5g',+ name: 'amount',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'rlbora1bq97wtbvzguftgld6v',+ name: 'currency',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'vg6xo8x1dyyqd7e252lyle9ue',+ name: 'application_fee_amount',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '8ahzsr28rkbovn9nfyeb76stq',+ name: 'amount_refunded',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '6duiemcip5mc11jv3oueln5vz',+ name: 'metadata',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'umgjft3z8y0nis2d1efk3r2ht',+ name: 'data',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'hq18d1r3u4xpvwc9ois4zsd8c',+ name: 'stripe_account',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '6ryr4lfylm1d9shrj5l33ujnb',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'hg5evq1b23xa1c25t7gmty8eu',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '1kdt1o72szxzqknuakkfnyddk',+ name: 'type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'v4wkleu4p3u07ldyolbklwdzw',+ name: 'index_pay_charges_on_customer_id_and_processor_id',+ unique: false,+ fieldIds: [+ 'pv5smlh4qam1xwyxoq49ncuy8',+ 'fyfgp04eccrc26sqoe2wnazwj',+ ],+ createdAt: Date.now(),+ },+ {+ id: 'tjmemqg6g1341anehom2fos0j',+ name: 'pay_charges_customer_id_processor_id_key',+ unique: true,+ fieldIds: [+ 'pv5smlh4qam1xwyxoq49ncuy8',+ 'fyfgp04eccrc26sqoe2wnazwj',+ ],+ createdAt: Date.now(),+ },+ {+ id: '3xb43ra3n772qv8sjnq39e79c',+ name: 'pay_charges_pkey',+ unique: true,+ fieldIds: ['rxmlheh0hosh2ihr1em9q65nc'],+ createdAt: Date.now(),+ },+ {+ id: 'ba87tb4w5u47p3zltm4zbdpfw',+ name: 'index_pay_charges_on_subscription_id',+ unique: false,+ fieldIds: ['akm13624gviyp0hv9c2avabm5'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff6b8a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'eqjebesocq7ajoo07rk40drl9',+ name: 'pay_subscriptions',+ schema: 'public',+ x: 900,+ y: 100,+ fields: [+ {+ id: 'olqm3l2frfckpj8twtjj51bs1',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ default:+ "nextval('pay_subscriptions_id_seq'::regclass)",+ createdAt: Date.now(),+ },+ {+ id: '1jb9hyb9oqqtxaxkci7f7j2gn',+ name: 'customer_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'tdp0gw6xuwlkohullyuf39jw9',+ name: 'name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'btl3xxlsojtgcz9hed8nxjzid',+ name: 'processor_id',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'bpkhtqlfyt549dm20c6yuldj6',+ name: 'processor_plan',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '7bgunf95c1zbx37ymp6hc5voi',+ name: 'quantity',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ default: '1',+ createdAt: Date.now(),+ },+ {+ id: 'x3jzoi19ooept3hrbgvpzsqd9',+ name: 'status',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'izdfry8zzyd92rcjp9pa44uuh',+ name: 'current_period_start',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 't8beygrt1xdz3lcy2qddgi62d',+ name: 'current_period_end',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ilfyn597rhz19cp2bwsl0elyj',+ name: 'trial_ends_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '28219rfe5dwc8vq05crv22gsh',+ name: 'ends_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '5jl6bm37miboi2zrum4q0udog',+ name: 'application_fee_percent',+ type: {+ id: 'numeric',+ name: 'numeric',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ precision: 8,+ scale: 2,+ createdAt: Date.now(),+ },+ {+ id: 'tn6oei4cbgxaf23lt18s3pref',+ name: 'metadata',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'uutgo3u8yl81r2f6z24ymywz1',+ name: 'data',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '664ukbrqumkp2b5c46s2tpnou',+ name: 'stripe_account',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'irtbqq8bgbzhg8issn0a2wlcp',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'wtlwv3bpujx3tm98u9dzqisxk',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'dm5j0n0brqdr7zzkqa0zc4qrq',+ name: 'metered',+ type: {+ id: 'boolean',+ name: 'boolean',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'rjmmp8ndbxl6wl1bfa1l8kpjg',+ name: 'pause_behavior',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'xqfqazh40b2vjyl2u315h106f',+ name: 'pause_starts_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'coywqs1rmcmnobax10wk6l8yu',+ name: 'pause_resumes_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ax6y9oqhaxgfh4u7g1rvxcl61',+ name: 'payment_method_id',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'shi1z7x8fyrwqr459mm85k7zp',+ name: 'type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '9n5r4ehe19tsy98xsr32t0q3q',+ name: 'index_pay_subscriptions_on_pause_starts_at',+ unique: false,+ fieldIds: ['xqfqazh40b2vjyl2u315h106f'],+ createdAt: Date.now(),+ },+ {+ id: 'd4w0jeafmd2vj8ntg5qaz4aoq',+ name: 'pay_subscriptions_customer_id_processor_id_key',+ unique: true,+ fieldIds: [+ '1jb9hyb9oqqtxaxkci7f7j2gn',+ 'btl3xxlsojtgcz9hed8nxjzid',+ ],+ createdAt: Date.now(),+ },+ {+ id: '5vjz981yl884oy8u2yfnkqh1x',+ name: 'index_pay_subscriptions_on_metered',+ unique: false,+ fieldIds: ['dm5j0n0brqdr7zzkqa0zc4qrq'],+ createdAt: Date.now(),+ },+ {+ id: 'khfjtlrxw75mbjf8nsw6ges1d',+ name: 'index_pay_subscriptions_on_customer_id_and_processor_id',+ unique: false,+ fieldIds: [+ '1jb9hyb9oqqtxaxkci7f7j2gn',+ 'btl3xxlsojtgcz9hed8nxjzid',+ ],+ createdAt: Date.now(),+ },+ {+ id: 'wrdxny5t8acdny2jjykl75wes',+ name: 'pay_subscriptions_pkey',+ unique: true,+ fieldIds: ['olqm3l2frfckpj8twtjj51bs1'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff6363',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'iqh50zqu2rtdub6coyhpl8y93',+ name: 'accounts',+ schema: 'public',+ x: 507.6441149212235,+ y: 678.0900834105653,+ fields: [+ {+ id: 'lpf912z0q91glk9e63eis1cbz',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ default: "nextval('accounts_id_seq'::regclass)",+ createdAt: Date.now(),+ },+ {+ id: 'k3xsgerkvkw2m8329o7ztgqng',+ name: 'email',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'lvy55fatssrxjgogewjegbzzn',+ name: 'merchant_processor',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'hp9khlfu13rvsds8wgp7qrj9g',+ name: 'pay_data',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '09zkpz9eglkh4lnjs5zj4uikt',+ name: 'accounts_pkey',+ unique: true,+ fieldIds: ['lpf912z0q91glk9e63eis1cbz'],+ createdAt: Date.now(),+ },+ ],+ color: '#b067e9',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'l3x89lp7szr6ycmkac7a5gjut',+ name: 'users',+ schema: 'public',+ x: 636.1453197405006,+ y: 446.16051899907313,+ fields: [+ {+ id: '08069jga2me6uemt53tkzg6cw',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ default: "nextval('users_id_seq'::regclass)",+ createdAt: Date.now(),+ },+ {+ id: 'hpoxd919ra7hv1cw9mzkl7lp1',+ name: 'email',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'y9u8iasvxmwodltj743co8n7c',+ name: 'first_name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ckfoudg0zfvi2c1f8rfe5sev8',+ name: 'last_name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'svptfacpd86if34cf0yyrd2ws',+ name: 'extra_billing_info',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'kr2e0jtsiz4fkrr7y93ctcyqi',+ name: 'users_pkey',+ unique: true,+ fieldIds: ['08069jga2me6uemt53tkzg6cw'],+ createdAt: Date.now(),+ },+ ],+ color: '#ffe374',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'mpqg2uz3opvhby9wjy8oxi3td',+ name: 'pay_customers',+ schema: 'public',+ x: 100,+ y: 100,+ fields: [+ {+ id: '3iufciqo18ce5i4mntwrvt5me',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ default: "nextval('pay_customers_id_seq'::regclass)",+ createdAt: Date.now(),+ },+ {+ id: '5t3xq5rno3gimbfzi869ukocl',+ name: 'owner_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'iabfxzhpojdtxtnw8ogstm22m',+ name: 'owner_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'kmbeskibr3nl3vhhar86u9fym',+ name: 'processor',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'y12tz7p1tyntw3ew7zv0i522x',+ name: 'processor_id',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'th7bl19u0l6y0bykj3uw836he',+ name: 'default',+ type: {+ id: 'boolean',+ name: 'boolean',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'x1onh995pvq5gvv78rh132itc',+ name: 'data',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'uqtu07rtfikiskf6pbuim78hx',+ name: 'stripe_account',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'yfvvhal5klj38xatp7df7uncc',+ name: 'deleted_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'umgmqry8u6xvtb0edwog27gdy',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '604t0fpqmh1wrwt6oyg66wbnn',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '76dqpguhxowzr3s8cbmcugzdx',+ name: 'type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'ty344crimp7gzq7a1mo16ggk7',+ name: 'pay_customers_processor_processor_id_key',+ unique: true,+ fieldIds: [+ 'kmbeskibr3nl3vhhar86u9fym',+ 'y12tz7p1tyntw3ew7zv0i522x',+ ],+ createdAt: Date.now(),+ },+ {+ id: '0sm33i3qhqeh3d25cmb3mpw41',+ name: 'pay_customer_owner_index',+ unique: false,+ fieldIds: [+ '5t3xq5rno3gimbfzi869ukocl',+ 'iabfxzhpojdtxtnw8ogstm22m',+ 'yfvvhal5klj38xatp7df7uncc',+ 'th7bl19u0l6y0bykj3uw836he',+ ],+ createdAt: Date.now(),+ },+ {+ id: '6g161vxyiagbc4h8nhj5yn4ss',+ name: 'pay_customers_pkey',+ unique: true,+ fieldIds: ['3iufciqo18ce5i4mntwrvt5me'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff9f74',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'n747l8btp9j8008l5u4zk8tlu',+ name: 'pay_webhooks',+ schema: 'public',+ x: -261.64893419833186,+ y: 260.75699721964776,+ fields: [+ {+ id: '5ln8jh533mvpdh04g1g3oszq2',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ default: "nextval('pay_webhooks_id_seq'::regclass)",+ createdAt: Date.now(),+ },+ {+ id: 'twn56a7rh02oyf2klyuougmox',+ name: 'processor',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '23quf4a4598a6jci3n64a0462',+ name: 'event_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'z9flwsci25g0wxfolnytr23ea',+ name: 'event',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '5nyrnndh5ezistd2dvfclrkw7',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '8vgo1up2ftdq9os4exl4it8az',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '1k24ziah265y69oa52f9v0w31',+ name: 'pay_webhooks_pkey',+ unique: true,+ fieldIds: ['5ln8jh533mvpdh04g1g3oszq2'],+ createdAt: Date.now(),+ },+ ],+ color: '#c05dcf',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'q05jbeaorkr669cjoy45gxjsq',+ name: 'teams',+ schema: 'public',+ x: 388.05523632993504,+ y: 441.84467099165886,+ fields: [+ {+ id: 'yi4bszaf90nzux8kxxnkjgrbn',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ default: "nextval('teams_id_seq'::regclass)",+ createdAt: Date.now(),+ },+ {+ id: 'vpjrs6irvjcn3t65qezor7pzv',+ name: 'email',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'xu6zaouypt358jh9g08a129gn',+ name: 'name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'p4n7yyrgsyimi1meven4zuum7',+ name: 'owner_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '8lbzwgxgiafktwfncvw8swvep',+ name: 'owner_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'qhj7xsbln7r9uxbxkdazj80pt',+ name: 'index_teams_on_owner_type_and_owner_id',+ unique: false,+ fieldIds: [+ 'p4n7yyrgsyimi1meven4zuum7',+ '8lbzwgxgiafktwfncvw8swvep',+ ],+ createdAt: Date.now(),+ },+ {+ id: 'cwsg3oytszcmyl586t4zpripe',+ name: 'teams_pkey',+ unique: true,+ fieldIds: ['yi4bszaf90nzux8kxxnkjgrbn'],+ createdAt: Date.now(),+ },+ ],+ color: '#c05dcf',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'sytadc777iuwh3qv6y87dpjod',+ name: 'pay_payment_methods',+ schema: 'public',+ x: -260,+ y: -180,+ fields: [+ {+ id: 'wp1odzu9fzygrtv76xk2mssc0',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ default:+ "nextval('pay_payment_methods_id_seq'::regclass)",+ createdAt: Date.now(),+ },+ {+ id: 'kijd5u5gitonxq5s34slmwilz',+ name: 'customer_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'wb32rpwgup3fgyatmukpkmx69',+ name: 'processor_id',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 't374z90f10wvoi2pz4p6bx6dh',+ name: 'default',+ type: {+ id: 'boolean',+ name: 'boolean',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'rr9n89apr62db8oa0490qvxzq',+ name: 'payment_method_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '4b13bqjkhlyto6oqaftwmmnz1',+ name: 'data',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'baqeq7dlxzmi7s63gpvtwpepw',+ name: 'stripe_account',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'kjhau4523eujrp02tf1eufo3x',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'hk9w613rvmy0kamhc9pb7p0mt',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '5hk5apqscixnz0qtmbm5er0yb',+ name: 'type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'kq4zgarna1ij5x18139wtelj0',+ name: 'pay_payment_methods_customer_id_processor_id_key',+ unique: true,+ fieldIds: [+ 'kijd5u5gitonxq5s34slmwilz',+ 'wb32rpwgup3fgyatmukpkmx69',+ ],+ createdAt: Date.now(),+ },+ {+ id: '7uumpmlal3pw47e9t76crjnvw',+ name: 'index_pay_payment_methods_on_customer_id_and_processor_id',+ unique: false,+ fieldIds: [+ 'kijd5u5gitonxq5s34slmwilz',+ 'wb32rpwgup3fgyatmukpkmx69',+ ],+ createdAt: Date.now(),+ },+ {+ id: 'vswug2o9e1ndd7ncuw8p3x0lt',+ name: 'pay_payment_methods_pkey',+ unique: true,+ fieldIds: ['wp1odzu9fzygrtv76xk2mssc0'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff9f74',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ ],+ relationships: [+ {+ id: 'efjc7b76t28lmz5ve53x5fymp',+ name: 'fk_pay_payment_methods_customer_id',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'sytadc777iuwh3qv6y87dpjod',+ targetTableId: 'mpqg2uz3opvhby9wjy8oxi3td',+ sourceFieldId: 'kijd5u5gitonxq5s34slmwilz',+ targetFieldId: '3iufciqo18ce5i4mntwrvt5me',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'o4h2eo4k1bczmn6ouuanw5ps1',+ name: 'fk_pay_charges_customer_id',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'aliqiks5f2gm4du9io27jf1vy',+ targetTableId: 'mpqg2uz3opvhby9wjy8oxi3td',+ sourceFieldId: 'pv5smlh4qam1xwyxoq49ncuy8',+ targetFieldId: '3iufciqo18ce5i4mntwrvt5me',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'pam0jo57dlzhck2o8m6e9kjg5',+ name: 'fk_pay_subscriptions_customer_id',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'eqjebesocq7ajoo07rk40drl9',+ targetTableId: 'mpqg2uz3opvhby9wjy8oxi3td',+ sourceFieldId: '1jb9hyb9oqqtxaxkci7f7j2gn',+ targetFieldId: '3iufciqo18ce5i4mntwrvt5me',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'tncdm0i076z029fkjpqpg7af5',+ name: 'fk_pay_charges_subscription_id',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'aliqiks5f2gm4du9io27jf1vy',+ targetTableId: 'eqjebesocq7ajoo07rk40drl9',+ sourceFieldId: 'akm13624gviyp0hv9c2avabm5',+ targetFieldId: 'olqm3l2frfckpj8twtjj51bs1',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ ],+ dependencies: [],+ },+};diff --git a/src/templates-data/templates/pixelfed-db.ts b/src/templates-data/templates/pixelfed-db.tsnew file mode 100644index 00000000..aa4799ed--- /dev/null+++ b/src/templates-data/templates/pixelfed-db.ts@@ -0,0 +1,9687 @@+import { DatabaseType } from '@/lib/domain/database-type';+import type { Template } from '../templates-data';+import image from '@/assets/templates/pixelfed-db.png';+import imageDark from '@/assets/templates/pixelfed-db-dark.png';++export const pixelfedDb: Template = {+ slug: 'pixelfed-database',+ name: 'Pixelfed',+ shortDescription: 'Photo Sharing. For Everyone.',+ description:+ 'A free and ethical photo sharing platform, powered by ActivityPub federation.',+ image,+ imageDark,+ tags: ['Postgres', 'Open Source', 'Laravel', 'PHP'],+ featured: false,+ url: 'https://github.com/pixelfed/pixelfed',+ diagram: {+ id: 'pixelfed_db',+ name: 'pixelfed-database',+ createdAt: new Date(),+ updatedAt: new Date(),+ databaseType: DatabaseType.POSTGRESQL,+ tables: [+ {+ id: '0nkcr3xd8uu25d9yfvmy2fpgt',+ name: 'oauth_clients',+ schema: 'public',+ x: -276.05356919452424,+ y: -562.2377652304652,+ fields: [+ {+ id: '6bmdjntpio3v8i65nc2sp2f11',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'kf8iiel6fgyyaiyk5ru4ptypc',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'k1ds970kmxccc3lyhq0v2d65w',+ name: 'name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 't4vd6dc4vl18cjrrra2ushdke',+ name: 'secret',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '901n4mmwvv0ol29iiqy7j496k',+ name: 'redirect',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'scutfebaneynk663k4a7n541h',+ name: 'personal_access_client',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'e64skxq3greyb9730duu4f99c',+ name: 'password_client',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'p2oazh8zcorm4j7wkytj2kf8y',+ name: 'revoked',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'c6h6pmy38jrwfu584m5p52s52',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'vc9iqibcii0wgzzhdrw108869',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'ulb6rq5hdkid1z6mynyxdu94t',+ name: 'oauth_clients_pkey',+ unique: true,+ fieldIds: ['6bmdjntpio3v8i65nc2sp2f11'],+ createdAt: Date.now(),+ },+ {+ id: '849e42g7ig6imrkonv2c7sulg',+ name: 'oauth_clients_user_id_index',+ unique: false,+ fieldIds: ['kf8iiel6fgyyaiyk5ru4ptypc'],+ createdAt: Date.now(),+ },+ ],+ color: '#9ef07a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: '2k48rdn062doo3wzpufn4rn92',+ name: 'status_hashtags',+ schema: 'public',+ x: 1700,+ y: 100,+ fields: [+ {+ id: 'oak9rkpsrntuaaq7cz4rkffak',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '52gky3ftxfhlr5nloz9sm04fa',+ name: 'status_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'lv4wqm690tspmwlwoiqvm8l7h',+ name: 'hashtag_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'd9rbli2gaq1ztyymjphamqob0',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'm8ewvpovnikv3wc47vqaoxik0',+ name: 'status_visibility',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'vl1pfjrk199bcrpmsiwxxgixg',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ogj73dv7pq5i1gtsbu21j8dnp',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '4akpuq9aef5j0niueqhobktwn',+ name: 'status_hashtags_status_visibility_index',+ unique: false,+ fieldIds: ['m8ewvpovnikv3wc47vqaoxik0'],+ createdAt: Date.now(),+ },+ {+ id: 'eo3l7440dqpxpeoi9klfvvg95',+ name: 'status_hashtags_pkey',+ unique: true,+ fieldIds: ['oak9rkpsrntuaaq7cz4rkffak'],+ createdAt: Date.now(),+ },+ {+ id: 'aj4peqav71t8dzfn7rod4b7cm',+ name: 'status_hashtags_hashtag_id_index',+ unique: false,+ fieldIds: ['lv4wqm690tspmwlwoiqvm8l7h'],+ createdAt: Date.now(),+ },+ {+ id: 'awi9vlr9mtiqrzu42kq3ekyw0',+ name: 'status_hashtags_status_id_index',+ unique: false,+ fieldIds: ['52gky3ftxfhlr5nloz9sm04fa'],+ createdAt: Date.now(),+ },+ {+ id: 'mttxyqu3hfdg8p9eq7cpwozal',+ name: 'status_hashtags_profile_id_index',+ unique: false,+ fieldIds: ['d9rbli2gaq1ztyymjphamqob0'],+ createdAt: Date.now(),+ },+ {+ id: 'uvt929mjmqnuuwnwfmqruvnh8',+ name: 'status_hashtags_status_id_hashtag_id_unique',+ unique: true,+ fieldIds: [+ '52gky3ftxfhlr5nloz9sm04fa',+ 'lv4wqm690tspmwlwoiqvm8l7h',+ ],+ createdAt: Date.now(),+ },+ ],+ color: '#8eb7ff',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: '4idcib9szjmx602bbq1ty4s7n',+ name: 'report_comments',+ schema: 'public',+ x: 878.3268966802539,+ y: 562.3497346023418,+ fields: [+ {+ id: 'n4sqa6hv9m3fn57z27aknwu1f',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'nmmwmrlqszzl5h2c6qvkyg6jd',+ name: 'report_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'wzecx9wrg2rpf5qd3z1fqeoag',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'lz46wd9kgm4nko4rvnrckr2t1',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '3rc0eyiz66xdccwqlmx919e03',+ name: 'comment',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'safpu3ctsj0wv8a87a8odb8hh',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'lznw8foz1lz1yqux7vkwh6ji9',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'rc37qc184sbm4w3zilv7m3e7k',+ name: 'report_comments_pkey',+ unique: true,+ fieldIds: ['n4sqa6hv9m3fn57z27aknwu1f'],+ createdAt: Date.now(),+ },+ {+ id: 'il0g5il38y30wm5jyobfuwg6o',+ name: 'report_comments_report_id_index',+ unique: false,+ fieldIds: ['nmmwmrlqszzl5h2c6qvkyg6jd'],+ createdAt: Date.now(),+ },+ ],+ color: '#8a61f5',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: '6dq04hznmrtuutrpc1qbwkxlr',+ name: 'circles',+ schema: 'public',+ x: -949.9999999999999,+ y: 600.0000000000001,+ fields: [+ {+ id: 'axjsp5gelny78j0wfyugg030n',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'nsmkoj0z6zsyctv35cqqvb4p1',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '40sfn15v5kwqyo8e0mxr9s3hf',+ name: 'name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'hr1ucf5wfa2h8skflk74i5gu4',+ name: 'description',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'l3w0p7323sxtjela16h08h5q5',+ name: 'scope',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 's7zsd3eldg0s0i8hwxfhh3rf1',+ name: 'bcc',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'jhft2pmo3knwd2buk9ouh0wj0',+ name: 'active',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '1vhely4oxirb77k0w2rhx1mfg',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'gyrxf584bi6uxdl1gcu2h31w7',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '7jpmya2ejjazawlw50er4ghpf',+ name: 'circles_active_index',+ unique: false,+ fieldIds: ['jhft2pmo3knwd2buk9ouh0wj0'],+ createdAt: Date.now(),+ },+ {+ id: 'ohvheakuq0rsyk4qioqr55bbz',+ name: 'circles_pkey',+ unique: true,+ fieldIds: ['axjsp5gelny78j0wfyugg030n'],+ createdAt: Date.now(),+ },+ {+ id: 'rx7rsa3duz4vdljik7ar2fjlw',+ name: 'circles_profile_id_index',+ unique: false,+ fieldIds: ['nsmkoj0z6zsyctv35cqqvb4p1'],+ createdAt: Date.now(),+ },+ ],+ color: '#b067e9',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: '7565kdfj912hp1bcizcg7lbe8',+ name: 'import_jobs',+ schema: 'public',+ x: -645.0005193828486,+ y: 1431.491050568391,+ fields: [+ {+ id: 'ogdi8g627j3p34yduil0a1ghx',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'f56lkdj9fqesow1hmr1xmec8c',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ig593r1t4x1e4u3443rmrg248',+ name: 'service',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'socz79jjhjjsq7yp1qdiy57wa',+ name: 'uuid',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'o0fepyglrh4bujzcbl0crxl2c',+ name: 'storage_path',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ajcsfn1arv5iiulkf0eh50myk',+ name: 'stage',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '09yb2zdq4wqrd1yw7oaayxw0o',+ name: 'media_json',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'tnxdse4yye041zz18i9phalme',+ name: 'completed_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '79hfo3atyursoi7qsz1v8srei',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'j1qrg5exqyfyz9r0t26obsvaj',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'hd72110qz835h8dzbnjb95u75',+ name: 'import_jobs_pkey',+ unique: true,+ fieldIds: ['ogdi8g627j3p34yduil0a1ghx'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff9f74',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: '7jx63zw29lr4ssbq3v3h21w58',+ name: 'user_devices',+ schema: 'public',+ x: 118.77926324897078,+ y: 518.5832391312643,+ fields: [+ {+ id: 'b2s5yii825ncmq44o63vvldmf',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'gczryyjayn7el00ijqrprqwz6',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ae4aa9byvyajsoaji1nf2ib74',+ name: 'ip',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '8ufgpfjs4lmpp251l6z7wlkz8',+ name: 'user_agent',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '4gh2ck66r4couf81pfrwayrlt',+ name: 'fingerprint',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '0wbtw73st8b3aaswhdfkxc5vv',+ name: 'name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'jsruaglu3qy05u6vzw1u5mkm2',+ name: 'trusted',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'p4xcnlq7x7ck8c25l9vdm11g7',+ name: 'last_active_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '27b4zhr7oqqe30r7fg7ugqm3j',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'p25vsmjjov4shb2wf2g11qfgp',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'w36kkqjydj0ka6lzkgwzuzg47',+ name: 'user_devices_user_agent_index',+ unique: false,+ fieldIds: ['8ufgpfjs4lmpp251l6z7wlkz8'],+ createdAt: Date.now(),+ },+ {+ id: '0vtqio6o3vxkm8ai0l1n0jizi',+ name: 'user_devices_user_id_index',+ unique: false,+ fieldIds: ['gczryyjayn7el00ijqrprqwz6'],+ createdAt: Date.now(),+ },+ {+ id: 'eyy1hn3w9qbi52foh8ts8cla9',+ name: 'user_devices_ip_index',+ unique: false,+ fieldIds: ['ae4aa9byvyajsoaji1nf2ib74'],+ createdAt: Date.now(),+ },+ {+ id: 'nxcp70indpva29c013o3ihwwc',+ name: 'user_devices_user_id_ip_user_agent_fingerprint_unique',+ unique: true,+ fieldIds: [+ 'gczryyjayn7el00ijqrprqwz6',+ 'ae4aa9byvyajsoaji1nf2ib74',+ '8ufgpfjs4lmpp251l6z7wlkz8',+ '4gh2ck66r4couf81pfrwayrlt',+ ],+ createdAt: Date.now(),+ },+ {+ id: 'w0lcuoaygw7jqvaojoar24892',+ name: 'user_devices_pkey',+ unique: true,+ fieldIds: ['b2s5yii825ncmq44o63vvldmf'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff9f74',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: '7k76krh86w880qxpt7ny5rmey',+ name: 'activities',+ schema: 'public',+ x: 2795.0756956361693,+ y: 1462.412242118198,+ fields: [+ {+ id: 'ahjtnib5efczh8wkepspd5jz1',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'lsp2bzf2nz63kmxtxwa6tnkbo',+ name: 'to_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '53n11g3loyqaj637de346d1kx',+ name: 'from_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'akxdgrx988dpef0h968meotm9',+ name: 'object_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'zcfzhoidivql9qcrk0t6136z3',+ name: 'data',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'gpeh7f5pe1geen5s7ssyy5566',+ name: 'processed_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '1kiavo3poaj78c3gi29bvsggz',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'd7z508p4o1hqqa3aw05ffplzs',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'fzmty3j0d3pxcc1062pkfng36',+ name: 'activities_pkey',+ unique: true,+ fieldIds: ['ahjtnib5efczh8wkepspd5jz1'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff6363',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: '7n14mt4xe1iunnez0bz80a9gm',+ name: 'users',+ schema: 'public',+ x: 500,+ y: 100,+ fields: [+ {+ id: 'r0xn8ef1b4t0870tqa9v4fotf',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'kw1okdr3c7i9jkpvl2ybdcb5m',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: true,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'gh0onq8krd8hslvnacha5u4tj',+ name: 'name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'kmnjyxdrqvbh8d3ihyejmubua',+ name: 'username',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'mt2mxpx8sez8d2cihxpm9frxv',+ name: 'email',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'liz4y0dm7ev6kk02iuabzeljf',+ name: 'status',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '4qsmi1dof41mr9qmgbiz8hh2j',+ name: 'language',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'cckm4sc7t30nmr9stw7wchzcf',+ name: 'password',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'gqb9i74i8mjkub8h4cjhfo7ol',+ name: 'remember_token',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '8sb9a474neg6bcyeu9vtkfsli',+ name: 'is_admin',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '13mzewa0eppaexr8plrh8u9ge',+ name: 'email_verified_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'czirz79iu4rqjaa50zmmyzpu2',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'mbqw58e4fm79ygtz4z9lle4ne',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '2gmqmym9soxepin5lthx9pg1s',+ name: 'deleted_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '1ai8k1xg2tpdmh9433pgrx72k',+ name: '2fa_enabled',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '3bj49o3e3jtqpdneenq2kf8pc',+ name: '2fa_secret',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'fnmpdqwy44ptqdysty5ucwhew',+ name: '2fa_backup_codes',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '8r2a9dsjdi6mroxhujait4b3t',+ name: '2fa_setup_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'a2r4sdo8s256kxxeoeynaenkg',+ name: 'delete_after',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'l2k7xsedzbnzfcdntnvm0anb4',+ name: 'users_pkey',+ unique: true,+ fieldIds: ['r0xn8ef1b4t0870tqa9v4fotf'],+ createdAt: Date.now(),+ },+ {+ id: 'ekx3l91uyhdxr7j8w5a4c8xp5',+ name: 'users_status_index',+ unique: false,+ fieldIds: ['liz4y0dm7ev6kk02iuabzeljf'],+ createdAt: Date.now(),+ },+ {+ id: 'wj493pb8t3pu9bkurspkkfnpm',+ name: 'users_email_unique',+ unique: true,+ fieldIds: ['mt2mxpx8sez8d2cihxpm9frxv'],+ createdAt: Date.now(),+ },+ {+ id: 'm0v7guafyjkkoageh60y3m55e',+ name: 'users_username_unique',+ unique: true,+ fieldIds: ['kmnjyxdrqvbh8d3ihyejmubua'],+ createdAt: Date.now(),+ },+ {+ id: 'dhp2kmf9xanpbv93jrzz59zu8',+ name: 'users_deleted_at_index',+ unique: false,+ fieldIds: ['2gmqmym9soxepin5lthx9pg1s'],+ createdAt: Date.now(),+ },+ {+ id: '4kaxz5mku1jggoggrvbnj3vtv',+ name: 'users_language_index',+ unique: false,+ fieldIds: ['4qsmi1dof41mr9qmgbiz8hh2j'],+ createdAt: Date.now(),+ },+ {+ id: '8l7vfgl6h466cfe0guds7musa',+ name: 'users_profile_id_unique',+ unique: true,+ fieldIds: ['kw1okdr3c7i9jkpvl2ybdcb5m'],+ createdAt: Date.now(),+ },+ ],+ color: '#8a61f5',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: '7nx2kcrzl2k46t54lun1cokkg',+ name: 'account_logs',+ schema: 'public',+ x: 598.1941948563197,+ y: 1184.7001329696652,+ fields: [+ {+ id: '4oty2u2qpdd3lt6zqnoo0wgn6',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'okqvkestthjbj6uysxbc8ifal',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '7nddzalm3jlwjf358566fu7og',+ name: 'item_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'jocrtdm6gk6s2klkw78r6xvqq',+ name: 'item_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'z106cdozb21lxu6sk8o54nv4j',+ name: 'action',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '7qiwgggup1aa40zx35kdvw3zx',+ name: 'message',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'wb6cktc7wafzx04y84nwlyp13',+ name: 'link',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '189cbymciu9w5s9yrrmpulr7n',+ name: 'ip_address',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'i78vr5gbrfuqntp3hfhyjjp86',+ name: 'user_agent',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '2mopxbjize5fud2pmobwpricd',+ name: 'metadata',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '978qeq334tx4cxeqx8rtc80uq',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '0is27f7pr3fj1535xo4jr0pj7',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'm0w00huf7ir0siyy56kjl324g',+ name: 'account_logs_user_id_index',+ unique: false,+ fieldIds: ['okqvkestthjbj6uysxbc8ifal'],+ createdAt: Date.now(),+ },+ {+ id: 'quf65vr08avbv9bzuyg9w7zsy',+ name: 'account_logs_pkey',+ unique: true,+ fieldIds: ['4oty2u2qpdd3lt6zqnoo0wgn6'],+ createdAt: Date.now(),+ },+ ],+ color: '#8a61f5',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: '7y8h03bfrt6nmb4y0qse8zbhy',+ name: 'instances',+ schema: 'public',+ x: 1195.0756956361693,+ y: 1962.412242118198,+ fields: [+ {+ id: 'e3xftyrrgalvvx63hirhbv6i8',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '3dmzdxtyvncecs8v94tp6ka13',+ name: 'domain',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'q0dv512xn2ur7y2bmvfs7uijg',+ name: 'url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'h22sj0lw05p3eznioz6rkmago',+ name: 'name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'xc2ls4akw1ly9o0vuch8futho',+ name: 'admin_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'v0we0eu5ndho20abrdzbf36iy',+ name: 'limit_reason',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '1rrnohok94juy3lfwfyybwyng',+ name: 'unlisted',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ge6h4rn95aqeexkm0bv9wyppz',+ name: 'auto_cw',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ss1kz6rbvpiuzpurd5mixhb2g',+ name: 'banned',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'u47wih0fpqzbedniwjm5lexi9',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'rr4osrrur77ocgr4vdvox41nx',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'h2eijjk78xvos5knm2midew1s',+ name: 'instances_domain_unique',+ unique: true,+ fieldIds: ['3dmzdxtyvncecs8v94tp6ka13'],+ createdAt: Date.now(),+ },+ {+ id: 'cozivufs4bkr4mtvxg5jr6psm',+ name: 'instances_pkey',+ unique: true,+ fieldIds: ['e3xftyrrgalvvx63hirhbv6i8'],+ createdAt: Date.now(),+ },+ ],+ color: '#9ef07a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: '9zsuekfjkk70o36pnlqcoh4ot',+ name: 'profiles',+ schema: 'public',+ x: 100,+ y: 100,+ fields: [+ {+ id: '8dajoszgwucwqu3lvshp9ush5',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '3hyw0knoli89c7q4hy8usqyiu',+ name: 'user_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'peqfiv3ka1ovqe59a8kl2cfs1',+ name: 'domain',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'd0ih3y5smy14232i8rozzr8k8',+ name: 'username',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'wgu1aey1d9uigb0hbpktitai4',+ name: 'status',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '484q400nj0pc38zk7d3n7ptz4',+ name: 'name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ns5j0kk0ryx0q39lqfvee8cp6',+ name: 'bio',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'om8jo866dt3pi18y7vrx2uwx2',+ name: 'unlisted',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '36ln89ws7vbej58c40u9col0q',+ name: 'cw',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'nvmx7m3s2g0e00s1kyffq2ned',+ name: 'no_autolink',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'lg541upmbzz2zbibm84r70wsc',+ name: 'location',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '0s56lg3zvtphysgm31sqrumls',+ name: 'website',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '0qut8buwyhqegqql09ox3rqzt',+ name: 'profile_layout',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'zlqjsliebg673x9j7bcprf158',+ name: 'header_bg',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'dmotifqtyksm86dqkq2x19rmt',+ name: 'post_layout',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'lqg9vmmendl8njb1b8026m6sy',+ name: 'is_private',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '1e35bjaven2xma87xv6obpq7w',+ name: 'sharedInbox',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'suf3kqncdpnay2jtudlymo5mt',+ name: 'inbox_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'cdi9apg1xitc27d4w6g1q1dqw',+ name: 'outbox_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'jv2pxld3y849lo4l5h2wzx0dj',+ name: 'key_id',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '8ov6udlcpdqf1ss7nzpwsw2jy',+ name: 'follower_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'im8tm3ksa3kyl7c5oo5wg9jo1',+ name: 'following_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '10zw42ua0m31p7qnci1s1h4zw',+ name: 'private_key',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '38f7b24qai7vbdoj0b6q9989s',+ name: 'public_key',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'rgvk5pk2zt1fmqpj8zt38f11s',+ name: 'remote_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '4xmto3yota9dnoe747e9gczp3',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'jepo88k1pa3pnzybs98zg7qa5',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'vme3jijccacq1fv39dy83snfx',+ name: 'deleted_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'zr0kw2rtdf5kfxx42ap4obsie',+ name: 'delete_after',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'l638rbwxwyn0437hhr61zhfu9',+ name: 'is_suggestable',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ofsfevc1j8i05lnz42suf7sns',+ name: 'last_fetched_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'wra4i7cg6qzwedsk20714wjai',+ name: 'status_count',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'q2lbztq3v48lpgcyy8pyrhuf8',+ name: 'followers_count',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'vsw45qo5r00ie5n7sat3d1op0',+ name: 'following_count',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'cobey3hgj7qql03ubapuxv27w',+ name: 'webfinger',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'rgw9yo7vsm61zkdxerssrxf3x',+ name: 'avatar_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'civsfgf3ppnetb35ldfwpq1mv',+ name: 'profiles_pkey',+ unique: true,+ fieldIds: ['8dajoszgwucwqu3lvshp9ush5'],+ createdAt: Date.now(),+ },+ {+ id: '76chf40yh0wqhjhoor6nqggyo',+ name: 'profiles_is_suggestable_index',+ unique: false,+ fieldIds: ['l638rbwxwyn0437hhr61zhfu9'],+ createdAt: Date.now(),+ },+ {+ id: 'rptcxnct657nhq6j3vxr188ig',+ name: 'profiles_no_autolink_index',+ unique: false,+ fieldIds: ['nvmx7m3s2g0e00s1kyffq2ned'],+ createdAt: Date.now(),+ },+ {+ id: 'yuz9rhjwexmedg4bmlvzpwdk5',+ name: 'profiles_domain_username_unique',+ unique: true,+ fieldIds: [+ 'peqfiv3ka1ovqe59a8kl2cfs1',+ 'd0ih3y5smy14232i8rozzr8k8',+ ],+ createdAt: Date.now(),+ },+ {+ id: 'a0hy2gnbs5k10zl2gg16aihkg',+ name: 'profiles_username_index',+ unique: false,+ fieldIds: ['d0ih3y5smy14232i8rozzr8k8'],+ createdAt: Date.now(),+ },+ {+ id: 'njcfs6oc74q8tjcorote93z5n',+ name: 'profiles_key_id_unique',+ unique: true,+ fieldIds: ['jv2pxld3y849lo4l5h2wzx0dj'],+ createdAt: Date.now(),+ },+ {+ id: 'jsmfk3r0y5y7n46hwi047zmq8',+ name: 'profiles_sharedinbox_index',+ unique: false,+ fieldIds: ['1e35bjaven2xma87xv6obpq7w'],+ createdAt: Date.now(),+ },+ {+ id: 'r0l20zwms2pc6fdnq3hmclmjz',+ name: 'profiles_unlisted_index',+ unique: false,+ fieldIds: ['om8jo866dt3pi18y7vrx2uwx2'],+ createdAt: Date.now(),+ },+ {+ id: 's2buoq7c8fnc5mag79z75wzw3',+ name: 'profiles_deleted_at_index',+ unique: false,+ fieldIds: ['vme3jijccacq1fv39dy83snfx'],+ createdAt: Date.now(),+ },+ {+ id: 'gmz77pn3bvw31wqgo6xzg4ke7',+ name: 'profiles_cw_index',+ unique: false,+ fieldIds: ['36ln89ws7vbej58c40u9col0q'],+ createdAt: Date.now(),+ },+ {+ id: 'e3r402xr0zz878517k1mtzalz',+ name: 'profiles_status_index',+ unique: false,+ fieldIds: ['wgu1aey1d9uigb0hbpktitai4'],+ createdAt: Date.now(),+ },+ {+ id: 'nkh1d0wdnx958ew317i2s84ei',+ name: 'profiles_domain_index',+ unique: false,+ fieldIds: ['peqfiv3ka1ovqe59a8kl2cfs1'],+ createdAt: Date.now(),+ },+ {+ id: 'pdm7i4wxkx0n1muir8d264pov',+ name: 'profiles_webfinger_unique',+ unique: true,+ fieldIds: ['cobey3hgj7qql03ubapuxv27w'],+ createdAt: Date.now(),+ },+ ],+ color: '#b067e9',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'a5edkbajocdy1epmvdjuebx6h',+ name: 'discover_category_hashtags',+ schema: 'public',+ x: 2205.9249001516905,+ y: 1039.208123196781,+ fields: [+ {+ id: 'bhwdy0f0wb62t2pb3ncovc10o',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'mawg4vnzetytewpev637ju0vs',+ name: 'discover_category_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'vxqan4amlria7bdbwccjy1ntc',+ name: 'hashtag_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '2md7lx3adecmvz9lfa6v5vfwy',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '9rfoal7njvxr4nvy4fvf7tr98',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'ssw84l3rc0xg102ua1gl7u241',+ name: 'discover_category_hashtags_discover_category_id_hashtag_id_uniq',+ unique: true,+ fieldIds: [+ 'mawg4vnzetytewpev637ju0vs',+ 'vxqan4amlria7bdbwccjy1ntc',+ ],+ createdAt: Date.now(),+ },+ {+ id: 'uoq7j5paei0ur5q8we5uk9s4f',+ name: 'discover_category_hashtags_pkey',+ unique: true,+ fieldIds: ['bhwdy0f0wb62t2pb3ncovc10o'],+ createdAt: Date.now(),+ },+ {+ id: 'fjgemp888zbktz3g9g931qist',+ name: 'discover_category_hashtags_discover_category_id_index',+ unique: false,+ fieldIds: ['mawg4vnzetytewpev637ju0vs'],+ createdAt: Date.now(),+ },+ {+ id: 'fm5x2j9uf9y08sew22z1cee3r',+ name: 'discover_category_hashtags_hashtag_id_index',+ unique: false,+ fieldIds: ['vxqan4amlria7bdbwccjy1ntc'],+ createdAt: Date.now(),+ },+ ],+ color: '#b067e9',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'a5uy3pye4chd8fgsjueall6s4',+ name: 'oauth_refresh_tokens',+ schema: 'public',+ x: 98.75728545979305,+ y: 1448.1920412264767,+ fields: [+ {+ id: '4m86p0wi8xzhnq82uf2ykpi9k',+ name: 'id',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '6e76ijhk1etw8t9z0e33pz3dz',+ name: 'access_token_id',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'kpuyje7ub0wi4ltb1xc4ue4ax',+ name: 'revoked',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'vkos1yb9hjlcgpg3jujuowjzu',+ name: 'expires_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'a2jgy81k0mfrpjvelpgn0w2iv',+ name: 'oauth_refresh_tokens_pkey',+ unique: true,+ fieldIds: ['4m86p0wi8xzhnq82uf2ykpi9k'],+ createdAt: Date.now(),+ },+ {+ id: 'p83u6ug0qbh4nrmnijpui6gfv',+ name: 'oauth_refresh_tokens_access_token_id_index',+ unique: false,+ fieldIds: ['6e76ijhk1etw8t9z0e33pz3dz'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff6363',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'a7kj3ghywi0vbmm61nn42jgrb',+ name: 'user_settings',+ schema: 'public',+ x: 497.4581522246111,+ y: 725.3044078787802,+ fields: [+ {+ id: '80pvss2p15r1fkxubtnrgt36m',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'h3j0zpdu48znfx6hn1jfmz79g',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'jj5bv3sd09qzi311k05ysddff',+ name: 'role',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '7b102cuodk2nnwxpjssju6ncw',+ name: 'crawlable',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ssrsbfjdffdavo54z9aeytw3r',+ name: 'show_guests',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '8hmtt4n6sf7vnxd67sj885lzj',+ name: 'show_discover',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '5sxoaaj7urigtpy0f13ku4vkh',+ name: 'public_dm',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'x2iiu17rswqkkw1vbmwg7yr9m',+ name: 'hide_cw_search',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'cj9mwjor34ioj7di7x9aojyjj',+ name: 'hide_blocked_search',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '3rp4wwzsw62l4hdvr3kena4ts',+ name: 'always_show_cw',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'evs78gl2o3xj8aovlxni0fw3c',+ name: 'compose_media_descriptions',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'k0wf8r00g5ilsi77q4czwg577',+ name: 'reduce_motion',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '39w7g9joh7x1q0o2npuxdr23m',+ name: 'optimize_screen_reader',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'unenrlxyoh5mh1hgy64dez9c5',+ name: 'high_contrast_mode',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'hnat86cglhn1dimnfcpqzloza',+ name: 'video_autoplay',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'p2kwrgtiynpaexgcbw4ukn5gp',+ name: 'send_email_new_follower',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'a83xe7m31tct026j75duh5gug',+ name: 'send_email_new_follower_request',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'wifskdf6cm8tg7c6l6yyc0215',+ name: 'send_email_on_share',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'c1u5a67rkdyrnfibfmqpbq8rl',+ name: 'send_email_on_like',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '2vtdp6iriajxsuatb7x4ugcpx',+ name: 'send_email_on_mention',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'y44qkjismvvgsw0ipilm7belw',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'rxcgo1ful4qkm07x2m7qwwamd',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'y3zzw5d20qoi53clztc680rzk',+ name: 'show_profile_followers',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '36d0uf5sofnmk8i2c7eza77fl',+ name: 'show_profile_follower_count',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '3ybewoe7qlxun35v23e1x4mhk',+ name: 'show_profile_following',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '0kg61rkqgs62zpqbo557jsmmk',+ name: 'show_profile_following_count',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'ttt5l0r2hu5rid1ajrta4ekbb',+ name: 'user_settings_user_id_unique',+ unique: true,+ fieldIds: ['h3j0zpdu48znfx6hn1jfmz79g'],+ createdAt: Date.now(),+ },+ {+ id: 'tdf9xv2wb17idl0f3ib81188z',+ name: 'user_settings_pkey',+ unique: true,+ fieldIds: ['80pvss2p15r1fkxubtnrgt36m'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff6363',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'a8gecrohh6ekpk27qvvm8zxo7',+ name: 'oauth_auth_codes',+ schema: 'public',+ x: 423.6535301728573,+ y: -300.49534667431334,+ fields: [+ {+ id: 'qurzmxg78wk2w0bemxh726nz4',+ name: 'id',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '7n02rv24nzvs19vprwfc17r2f',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'unu3xjb9yrtemac91h9cu5r9t',+ name: 'client_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ms5gvis0s1dsu5fsq54y7ndnv',+ name: 'scopes',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '5w60jxfl604ni4dt1ux7dg20z',+ name: 'revoked',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'tkxtlor2lunj0raufyqj3s965',+ name: 'expires_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '5dc60heziqm1hmiuk7etkx4if',+ name: 'oauth_auth_codes_pkey',+ unique: true,+ fieldIds: ['qurzmxg78wk2w0bemxh726nz4'],+ createdAt: Date.now(),+ },+ ],+ color: '#c05dcf',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'bz4a75wz51cdavho5dyji3sqs',+ name: 'discover_categories',+ schema: 'public',+ x: 1805.9249001516905,+ y: 1039.208123196781,+ fields: [+ {+ id: '575v7mb1ppvhivy4pcl2hiw73',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'cyiwrz8j9tx2p6jstefsj0bgn',+ name: 'name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 's7ey7nnl951u9kfapa29xmkpp',+ name: 'slug',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'mg3lf6g191kpsbhq5jcoqrtbp',+ name: 'active',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '853cm14i6fov31m1isdvfhufy',+ name: 'order',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'qak5yd4a5oljdtkg8iht7r4bk',+ name: 'media_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: true,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'bdkfaysxnh1z7eflqq9we8du6',+ name: 'no_nsfw',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'p9ebrr4kam4e4idafez4upzsu',+ name: 'local_only',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '5jzu8xnwmt6h2kwgxw7qhbkgj',+ name: 'public_only',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'jcpx43dk4lajkatu2kbujl2vt',+ name: 'photos_only',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'owbfbtha3la2vte9v4p2dbmlq',+ name: 'active_until',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'avptb5ty3co4j9ccjbye4t34k',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'kxxcis9xywzdj9zp7hbo4t72x',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '1psipzfg2rlobx82kq7pubqvq',+ name: 'discover_categories_active_index',+ unique: false,+ fieldIds: ['mg3lf6g191kpsbhq5jcoqrtbp'],+ createdAt: Date.now(),+ },+ {+ id: '94wkfc1vcivb60mb39nmc0sw5',+ name: 'discover_categories_media_id_unique',+ unique: true,+ fieldIds: ['qak5yd4a5oljdtkg8iht7r4bk'],+ createdAt: Date.now(),+ },+ {+ id: '1jnn1saqcqpvfz2pjk3x8uwrs',+ name: 'discover_categories_pkey',+ unique: true,+ fieldIds: ['575v7mb1ppvhivy4pcl2hiw73'],+ createdAt: Date.now(),+ },+ {+ id: '4i5hs4x98kvozyasstx0vk7xk',+ name: 'discover_categories_slug_unique',+ unique: true,+ fieldIds: ['s7ey7nnl951u9kfapa29xmkpp'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff6363',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'c3gmci64tbbrxr77mhf31s0nu',+ name: 'oauth_access_tokens',+ schema: 'public',+ x: -301.242714540207,+ y: 998.1920412264767,+ fields: [+ {+ id: 'lhdnkr4youxt35of3uiackqnm',+ name: 'id',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '8csxkw3io5k8gthjjh23cx7jg',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'qhlhzubmg8yejr3e2nimhchy2',+ name: 'client_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'k1d3snhzos3mncssxqyb5fan9',+ name: 'name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '1nwmll8if7uu170o7u0hddjhq',+ name: 'scopes',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'yww3t06qexqmha7twne1gsdmf',+ name: 'revoked',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'wm31lq740y6q3vq4vulcybedl',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '7g8d1y2kaws2uewbvsnjzxtfe',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '0b383pqz0hbl7n6odk1fcy7jb',+ name: 'expires_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'bqox3qyrr73h5lw48h6g7kdcs',+ name: 'oauth_access_tokens_pkey',+ unique: true,+ fieldIds: ['lhdnkr4youxt35of3uiackqnm'],+ createdAt: Date.now(),+ },+ {+ id: 'kfylg9u68yvsw7n36ne7w2udf',+ name: 'oauth_access_tokens_user_id_index',+ unique: false,+ fieldIds: ['8csxkw3io5k8gthjjh23cx7jg'],+ createdAt: Date.now(),+ },+ ],+ color: '#b067e9',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'clj1kqfqoxa5joaznyjc3o2s8',+ name: 'user_invites',+ schema: 'public',+ x: -260.67816986118777,+ y: 557.8866633275288,+ fields: [+ {+ id: 'r4tyr342ukqcr84ujbqpnlpwy',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'yb6s0cyeaabvbtmui9lqc8yn2',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'i1gfxd8xfvloouw7k3a41h2fn',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ownw0aghfayk6c7fhfldlk8cw',+ name: 'email',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'c8h47k1ks71wlgx8v3yn1neo6',+ name: 'message',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '7ceo9wunkq0pghnguhy4sket8',+ name: 'key',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'rz36wkf8l70lmawn01f1i7mfl',+ name: 'token',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '0k41tvyglfj4hlby02gn960qh',+ name: 'valid_until',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '1o1a9jql0y42cheun0w10lkpt',+ name: 'used_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'qp5ak5fv5e652p0uq9feftm32',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'dzbzvebw0n1chz54dticr8do4',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'fbnedenjnegupa9zgem5te6mw',+ name: 'user_invites_pkey',+ unique: true,+ fieldIds: ['r4tyr342ukqcr84ujbqpnlpwy'],+ createdAt: Date.now(),+ },+ {+ id: 'karvo6bztievsw489wz5zi4jr',+ name: 'user_invites_profile_id_index',+ unique: false,+ fieldIds: ['i1gfxd8xfvloouw7k3a41h2fn'],+ createdAt: Date.now(),+ },+ {+ id: 'nwbzss4bhyold3p9gkhj3njca',+ name: 'user_invites_email_unique',+ unique: true,+ fieldIds: ['ownw0aghfayk6c7fhfldlk8cw'],+ createdAt: Date.now(),+ },+ {+ id: 'f3u2s4vu0zd8pbuk2od1cbm6m',+ name: 'user_invites_user_id_index',+ unique: false,+ fieldIds: ['yb6s0cyeaabvbtmui9lqc8yn2'],+ createdAt: Date.now(),+ },+ {+ id: '1ahxi9e5cz0ms1un6j9411v0e',+ name: 'user_invites_used_at_index',+ unique: false,+ fieldIds: ['1o1a9jql0y42cheun0w10lkpt'],+ createdAt: Date.now(),+ },+ ],+ color: '#8a61f5',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'cycnpxx91953gjt3ijpv8qrgx',+ name: 'user_filters',+ schema: 'public',+ x: 42.70419309913865,+ y: 1022.5563152152635,+ fields: [+ {+ id: 'qhejqwgwsp2cquaan4wslwo68',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ecms3c8pjvz9tkn3wbdfpuuhf',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'plrr373gbm3nodtgpbs4aqqtk',+ name: 'filterable_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'sfswjh8672u2u8lqgdqf71fxb',+ name: 'filterable_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '8g7wkgrgloezj8fws3l72dt03',+ name: 'filter_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'wabuqiljca764v6ktp2aogr25',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'johowj2wns6zgxjn2imfohxpt',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '8ox4wdk55qbf190sk938bfp94',+ name: 'user_filters_filter_type_index',+ unique: false,+ fieldIds: ['8g7wkgrgloezj8fws3l72dt03'],+ createdAt: Date.now(),+ },+ {+ id: '7qgsmf0fl34umvmc81plzqha8',+ name: 'user_filters_user_id_filterable_id_filterable_type_filter_type_',+ unique: true,+ fieldIds: [+ 'ecms3c8pjvz9tkn3wbdfpuuhf',+ 'plrr373gbm3nodtgpbs4aqqtk',+ 'sfswjh8672u2u8lqgdqf71fxb',+ '8g7wkgrgloezj8fws3l72dt03',+ ],+ createdAt: Date.now(),+ },+ {+ id: '2fqxs8dhrvneq9s22wsv15awb',+ name: 'user_filters_pkey',+ unique: true,+ fieldIds: ['qhejqwgwsp2cquaan4wslwo68'],+ createdAt: Date.now(),+ },+ {+ id: '5wphv6b9fcmt3goisne0isg4o',+ name: 'user_filters_user_id_index',+ unique: false,+ fieldIds: ['ecms3c8pjvz9tkn3wbdfpuuhf'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff6363',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'czp5vv25aq28hnh2ko3vyeyum',+ name: 'reports',+ schema: 'public',+ x: 1278.3268966802539,+ y: 1012.3497346023418,+ fields: [+ {+ id: 'ymrd0mq46jekob62b4qb1hbbh',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'b0oryfvlln1kpqo03ryo54s4n',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'vvmvlixviirmdble3hh8jo98x',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '47l2hgbwm2zovhuf979sqozwy',+ name: 'object_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'um0lvpkcsxi54zshw9to9asvw',+ name: 'object_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '78o4h4jytpyytpiwhwrz21lx3',+ name: 'reported_profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'y1816ftoq6oivze9hgihik88j',+ name: 'type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'r1ur84wxz8req87ovd2z5ou3v',+ name: 'message',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ypo9bh732sfnal8uwaxc8hmcs',+ name: 'admin_seen',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'g2o3znokokt10zjaqwl84g291',+ name: 'not_interested',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'par6yicbjb4a7p9tv179antse',+ name: 'spam',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '0396ivfi247107crudspjeb1a',+ name: 'nsfw',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'tcbwz7fy2luka5w0gehv7j3pz',+ name: 'abusive',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'n6dei2lmbgw0kxm9exubzykyf',+ name: 'meta',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'u3afhxbu5h53o0fxx2u72yhkt',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'oxzedbi8wehdrbdeacchsj6wl',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'vrfyg7gnn4llwjklgnp9ngk79',+ name: 'reports_user_id_object_id_object_type_unique',+ unique: true,+ fieldIds: [+ 'vvmvlixviirmdble3hh8jo98x',+ '47l2hgbwm2zovhuf979sqozwy',+ 'um0lvpkcsxi54zshw9to9asvw',+ ],+ createdAt: Date.now(),+ },+ {+ id: 'vesseao6q7vqxhwtmchgbq2aq',+ name: 'reports_pkey',+ unique: true,+ fieldIds: ['ymrd0mq46jekob62b4qb1hbbh'],+ createdAt: Date.now(),+ },+ ],+ color: '#9ef07a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'eie4mbzwdwwphjy55tadsypm0',+ name: 'migrations',+ schema: 'public',+ x: 1595.0756956361693,+ y: 1962.412242118198,+ fields: [+ {+ id: '14lfy1zs54x8nikq677p1jr3i',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'm7rxbp0wq4k812kcnmz3kusk9',+ name: 'migration',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'rkee7m00ni7zknvsbouxpk6h4',+ name: 'batch',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'gjdj1ogft0hb6h4gzr1993fjw',+ name: 'migrations_pkey',+ unique: true,+ fieldIds: ['14lfy1zs54x8nikq677p1jr3i'],+ createdAt: Date.now(),+ },+ ],+ color: '#8eb7ff',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'f1vpp9p8ofn3mnx59ov0wsoj9',+ name: 'avatars',+ schema: 'public',+ x: -639.9237211089011,+ y: -53.43318992335844,+ fields: [+ {+ id: 'f8h39yimt9l07jmtu9t7mnizz',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'lp75gv4wlyfin3zmgnifr3g82',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'alxnt7pd50f5hyqrgpbu2ux2a',+ name: 'media_path',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '8vp9ubn5lvt1luxr8igpqa107',+ name: 'thumb_path',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'i0xsk6clx9yj6njs8ut45jbki',+ name: 'remote_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'cm44nn31yj7arc60eca3pbqcw',+ name: 'change_count',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'n9efd1k9hyaam5pe1rnfq9435',+ name: 'last_fetched_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '2ohamgpjuylqxm8c6504jjjxe',+ name: 'last_processed_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '585r65poic505qs9vuao2pkst',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '1lkdh2b4eiehd12nqhqetbhmz',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'jzs7jnjzodq0wg6rs7db6peug',+ name: 'deleted_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'hxpwr1hh13tgtlrdj9t8z3mrz',+ name: 'avatars_deleted_at_index',+ unique: false,+ fieldIds: ['jzs7jnjzodq0wg6rs7db6peug'],+ createdAt: Date.now(),+ },+ {+ id: 'x0x50ddndn4v0e5voamtvgwhw',+ name: 'avatars_remote_url_index',+ unique: false,+ fieldIds: ['i0xsk6clx9yj6njs8ut45jbki'],+ createdAt: Date.now(),+ },+ {+ id: 'eqv3gnad5ynd3mpzz5314q1s6',+ name: 'avatars_profile_id_unique',+ unique: true,+ fieldIds: ['lp75gv4wlyfin3zmgnifr3g82'],+ createdAt: Date.now(),+ },+ {+ id: 'ogjt1qmok9s9553f6xqdwxnk2',+ name: 'avatars_pkey',+ unique: true,+ fieldIds: ['f8h39yimt9l07jmtu9t7mnizz'],+ createdAt: Date.now(),+ },+ ],+ color: '#7175fa',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'gioe71lb3y0iwg5hshv23vu0d',+ name: 'followers',+ schema: 'public',+ x: 913.1727983645297,+ y: 983.8834764831843,+ fields: [+ {+ id: '0505p3sqczrbgcszdgagyo5jk',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'q44lhhmokah30t1syilkj1otm',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '23mrfqjdbwlw4r8uifkpqwo1v',+ name: 'following_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'v8fa77a79e4tdgf9niqdzmp11',+ name: 'local_profile',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '1x7a21639lgmdckluzcmf2xjd',+ name: 'local_following',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'xtvp320lukrjytkp1cn6pbvrz',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '6kxf9oty9j8nywd47wi3jx2vt',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'p9owkjhb4n5ik7wpbc2gc6w7l',+ name: 'followers_profile_id_following_id_unique',+ unique: true,+ fieldIds: [+ 'q44lhhmokah30t1syilkj1otm',+ '23mrfqjdbwlw4r8uifkpqwo1v',+ ],+ createdAt: Date.now(),+ },+ {+ id: '3ypl7ivxyq9l93udtvilcfwfr',+ name: 'followers_local_following_index',+ unique: false,+ fieldIds: ['1x7a21639lgmdckluzcmf2xjd'],+ createdAt: Date.now(),+ },+ {+ id: 'lnmqlhuztf2yz9vtgl74b6guv',+ name: 'followers_pkey',+ unique: true,+ fieldIds: ['0505p3sqczrbgcszdgagyo5jk'],+ createdAt: Date.now(),+ },+ {+ id: 'hqi9ol1qtnn0jsa5khoagdkgy',+ name: 'followers_local_profile_index',+ unique: false,+ fieldIds: ['v8fa77a79e4tdgf9niqdzmp11'],+ createdAt: Date.now(),+ },+ {+ id: '55ycuhuxgf8h2ja83o3h8avjh',+ name: 'followers_created_at_index',+ unique: false,+ fieldIds: ['xtvp320lukrjytkp1cn6pbvrz'],+ createdAt: Date.now(),+ },+ ],+ color: '#b067e9',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'gn9o5w6irfirq1urqqfx2fvf6',+ name: 'likes',+ schema: 'public',+ x: 2169.459271066772,+ y: 592.403876506104,+ fields: [+ {+ id: '3vdaanybupzeyltlq655c3xzc',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '3rrmfk06cm6uhjhldot9vki0v',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'a23jbv5520lpua1n9018ikhx9',+ name: 'status_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'nsrh9s8c8mxtp335v7rs0751h',+ name: 'flagged',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '3brp5ztcelf0fksfxmlw3ws07',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '39htmn1f8bi2xofl4plvrlmaf',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'yca7l10txzshawyf4juyj4z9k',+ name: 'deleted_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '0f3f879z4g9svxe51xqajj8ru',+ name: 'likes_profile_id_status_id_unique',+ unique: true,+ fieldIds: [+ '3rrmfk06cm6uhjhldot9vki0v',+ 'a23jbv5520lpua1n9018ikhx9',+ ],+ createdAt: Date.now(),+ },+ {+ id: 'mjf6s8wif609bnjr3mrpt5wqd',+ name: 'likes_pkey',+ unique: true,+ fieldIds: ['3vdaanybupzeyltlq655c3xzc'],+ createdAt: Date.now(),+ },+ {+ id: 'llrxsxrcc2fheckgmkwuovywc',+ name: 'likes_deleted_at_index',+ unique: false,+ fieldIds: ['yca7l10txzshawyf4juyj4z9k'],+ createdAt: Date.now(),+ },+ {+ id: 'k3i1ug9n1lekq2so5e9qta0pv',+ name: 'likes_created_at_index',+ unique: false,+ fieldIds: ['3brp5ztcelf0fksfxmlw3ws07'],+ createdAt: Date.now(),+ },+ ],+ color: '#42e0c0',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'gyvpux3c3f5a7w8x4jj6x1wir',+ name: 'oauth_personal_access_clients',+ schema: 'public',+ x: 1995.0756956361693,+ y: 1962.412242118198,+ fields: [+ {+ id: 'xkbayn01gw9l19y9x4vawykp4',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'uh5ju6f0usoj5b64motnniwao',+ name: 'client_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'qaq4wgi4j7t66mbwzhbqtlona',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'cqljkskg4nrjo8dms93y5321w',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'jwqhqj2hgc2pc57lfc6awlj1c',+ name: 'oauth_personal_access_clients_pkey',+ unique: true,+ fieldIds: ['xkbayn01gw9l19y9x4vawykp4'],+ createdAt: Date.now(),+ },+ {+ id: 'zqwrzk8eakjljyexe3cj4cfxt',+ name: 'oauth_personal_access_clients_client_id_index',+ unique: false,+ fieldIds: ['uh5ju6f0usoj5b64motnniwao'],+ createdAt: Date.now(),+ },+ ],+ color: '#c05dcf',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'hcnn2i4vdnbufif2e007d2nvx',+ name: 'collection_items',+ schema: 'public',+ x: -627.8539071981529,+ y: 774.2640687119286,+ fields: [+ {+ id: 'zhyk48513a4qx8nkgx68kq4ra',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '7ev89n81spsn1js7iknhbmcqt',+ name: 'collection_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'e2znddoczq6bb1lb31iuywn6n',+ name: 'order',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'b6hnefjsxhbgelkhohd9q290p',+ name: 'object_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '13kt54xnz8uqmi6naqmzo8dmo',+ name: 'object_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ob6607jo7j070ezx83huvd98k',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'y6veot3s38yondy4sbqn3yma1',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'f9r14ccg9sqec2bjflwop0w2j',+ name: 'collection_items_collection_id_index',+ unique: false,+ fieldIds: ['7ev89n81spsn1js7iknhbmcqt'],+ createdAt: Date.now(),+ },+ {+ id: 'utkgmb3fiehzxunet343whvy3',+ name: 'collection_items_pkey',+ unique: true,+ fieldIds: ['zhyk48513a4qx8nkgx68kq4ra'],+ createdAt: Date.now(),+ },+ {+ id: 'su067umpfyay28c96aay5w1xe',+ name: 'collection_items_object_type_index',+ unique: false,+ fieldIds: ['b6hnefjsxhbgelkhohd9q290p'],+ createdAt: Date.now(),+ },+ {+ id: 'a9ui89qtakdg3111eu2e23f42',+ name: 'collection_items_object_id_index',+ unique: false,+ fieldIds: ['13kt54xnz8uqmi6naqmzo8dmo'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff6363',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'ifznbj518boe9tuyazo15h6wi',+ name: 'email_verifications',+ schema: 'public',+ x: 105.45547863891096,+ y: -417.702704859633,+ fields: [+ {+ id: 'xfhawxvjxu1qv6efa4ynz17oo',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '749t82akcp7oybkryei4uutzy',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'hgbwglcrtxlh95yhlydt3ahxm',+ name: 'email',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'gqfncua9usydxupx993d1nn3v',+ name: 'user_token',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '63c3bfnjjrlqq5w837uj2olxa',+ name: 'random_token',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '6v3m7a1olyf2pm7xxy6lsjh62',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'yydmq8b2hc5ohupvo6drxaty6',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'qmxhtg6bkuue74740fnyiqjaj',+ name: 'email_verifications_random_token_index',+ unique: false,+ fieldIds: ['63c3bfnjjrlqq5w837uj2olxa'],+ createdAt: Date.now(),+ },+ {+ id: 'hbntp6ekwoqopkx1ciuunjr23',+ name: 'email_verifications_pkey',+ unique: true,+ fieldIds: ['xfhawxvjxu1qv6efa4ynz17oo'],+ createdAt: Date.now(),+ },+ {+ id: 'irqonep15fglm2dwl5tbtdnzb',+ name: 'email_verifications_user_token_index',+ unique: false,+ fieldIds: ['gqfncua9usydxupx993d1nn3v'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff9f74',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'it969m4ygwjn3zs55993mca3s',+ name: 'import_datas',+ schema: 'public',+ x: -1031.370849898476,+ y: -394.9747468305832,+ fields: [+ {+ id: 'mvfvha6sna04krorc85bsydcv',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'z2rsvv5m014rovksn5tcqvwbj',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '1ttt02ugj8qilh38d0lqx0til',+ name: 'job_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '3iyw14svss3ij104e4sxllxdn',+ name: 'service',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'aagndbyaljuo0el9fphagshr2',+ name: 'path',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '5ep4gzmofblpz8huzox2k3xo5',+ name: 'stage',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '291dp7qufdo5kpp28g3xjmh8l',+ name: 'original_name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ssmitnyip7sj6r09f9j6v89f8',+ name: 'import_accepted',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'dekml838wx6d1s9il5dzwp3ft',+ name: 'completed_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '20cm9xow7c2w9er1994d3rvf1',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'fayqqemul6yrmg0axl0enl2ye',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'gypxjf1pqz7paxq0z3mbpbpni',+ name: 'import_datas_pkey',+ unique: true,+ fieldIds: ['mvfvha6sna04krorc85bsydcv'],+ createdAt: Date.now(),+ },+ {+ id: 'rn6w4dlkha97ys5gdxund28fg',+ name: 'import_datas_job_id_original_name_unique',+ unique: true,+ fieldIds: [+ '1ttt02ugj8qilh38d0lqx0til',+ '291dp7qufdo5kpp28g3xjmh8l',+ ],+ createdAt: Date.now(),+ },+ ],+ color: '#b067e9',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'itknoh3s4h9h2jx3thxptms7z',+ name: 'websockets_statistics_entries',+ schema: 'public',+ x: 3195.0756956361693,+ y: 1962.412242118198,+ fields: [+ {+ id: 'bap1g7rg6pu3dy5b0k43hnzyi',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'w6nvdcrflrrgilthlcqin3ull',+ name: 'app_id',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ptf06yswajkejuiitxfk4lc4j',+ name: 'peak_connection_count',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '6588efvq4jeczpbjpa9fl0wy0',+ name: 'websocket_message_count',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'vjou34j4zsdwbbh6xpi99lzmi',+ name: 'api_message_count',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ae1qtp313zu1h9zaam6bt6jkl',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '5lrrxh2bujb294cbr9tzuhxog',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '9k7ep6xxuv4v2z0b67p84wmhe',+ name: 'websockets_statistics_entries_pkey',+ unique: true,+ fieldIds: ['bap1g7rg6pu3dy5b0k43hnzyi'],+ createdAt: Date.now(),+ },+ ],+ color: '#7175fa',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'j39t2r6gj4vdctzj6v4uhw0w7',+ name: 'failed_jobs',+ schema: 'public',+ x: 3195.0756956361693,+ y: 1462.412242118198,+ fields: [+ {+ id: '2oa0j1radorrluij9b8oi6wrr',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '1x2wr226qyjb5tdd69reyeh6b',+ name: 'connection',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'dh6kld6ctqeq1yq34dgtx1532',+ name: 'queue',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '2t59bulg6o61md2fprzo0yior',+ name: 'payload',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'hd05htrr0chboqeguz47lr7hz',+ name: 'exception',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '48micjn0a3qsspp44h2j7qj57',+ name: 'failed_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '5t9cilk2mygklp4em66ee4tzf',+ name: 'failed_jobs_pkey',+ unique: true,+ fieldIds: ['2oa0j1radorrluij9b8oi6wrr'],+ createdAt: Date.now(),+ },+ ],+ color: '#42e0c0',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'kjuowkf9bw1f2bk89b4tfgtb0',+ name: 'mentions',+ schema: 'public',+ x: 2050,+ y: -333.0127018922192,+ fields: [+ {+ id: 'apenmlfg448v59mxu4gbw9nuh',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'g7rkislts0k0i6mualhs37out',+ name: 'status_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'pfm7t17aijvljhbkounlqygwa',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'dfk22lzp1nd2xu3jo9i1nzb7k',+ name: 'local',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'kfklp08e5ed7c7g6u2wjnjqfh',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '3ylnizfh4svt5nbuyl8tjsx83',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '5j7d94cg3srm8it5xyfqc3goy',+ name: 'deleted_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '7y01f8om092n6bolzli50jqst',+ name: 'mentions_deleted_at_index',+ unique: false,+ fieldIds: ['5j7d94cg3srm8it5xyfqc3goy'],+ createdAt: Date.now(),+ },+ {+ id: '9b8ovdb8mtgi3u2j6c913mlx5',+ name: 'mentions_pkey',+ unique: true,+ fieldIds: ['apenmlfg448v59mxu4gbw9nuh'],+ createdAt: Date.now(),+ },+ ],+ color: '#b067e9',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'ko0rqta8vuxeoln6tazyu8w20',+ name: 'collections',+ schema: 'public',+ x: -603.5898384862245,+ y: 350.0000000000001,+ fields: [+ {+ id: '4bo9o6kr624kgjtcmjsjmrotu',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'vehryhqptpzg8yviohqf6mrpv',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'k7iuz7bqr5yztudqkqvmkcqpm',+ name: 'title',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '0d5akolkvqgac0uh83n1x1rle',+ name: 'description',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'erotxzk8uutsulce7klolp0re',+ name: 'is_nsfw',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'fjzw1twscmv4n61xzbcr1kph1',+ name: 'visibility',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '2jivw51l7144840con4dn695x',+ name: 'published_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'vjasblzaifu7igdvfwblo8tkw',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'xz9zmp4kj3qiqyk9slu79gttd',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'nlquybezbubav9htdblcjqta8',+ name: 'collections_visibility_index',+ unique: false,+ fieldIds: ['fjzw1twscmv4n61xzbcr1kph1'],+ createdAt: Date.now(),+ },+ {+ id: 'k6jq95px40jc5u7pbd333q853',+ name: 'collections_pkey',+ unique: true,+ fieldIds: ['4bo9o6kr624kgjtcmjsjmrotu'],+ createdAt: Date.now(),+ },+ ],+ color: '#9ef07a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'l24015t8kumdwei4jtn1b1ey9',+ name: 'statuses',+ schema: 'public',+ x: 2100,+ y: 100,+ fields: [+ {+ id: '329airdjoczcr8v8boshu83g4',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '5ncqbm1aki4lz9xesqo7r5w2a',+ name: 'uri',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'rr3mcqwzh3zg70kqzotcn8fnc',+ name: 'caption',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '3ek4zg7gpuu8kadhgt2blr0dp',+ name: 'rendered',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'axb0n3q739ztxlj1o0lnpoapf',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'az2gk467dsgyllo1efd9aq6to',+ name: 'type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'h9sn2c93hap3n4fivkjy159ye',+ name: 'in_reply_to_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'hli6iznm0gsduag4ihthzwonq',+ name: 'reblog_of_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'q7ezq9s0v5zjhw1qrehvut9tf',+ name: 'url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '15omgoffhbvmjxobs3y0fzkpf',+ name: 'is_nsfw',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '09a81708vgaqq8dspjjk6kdaa',+ name: 'scope',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'fj0qanglso06v3e3hx90xhdei',+ name: 'visibility',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'vwtdlkx5zea204b8n2udf7kjv',+ name: 'reply',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'an64ob49acy2dhskat0siotvx',+ name: 'likes_count',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ttzlz5urh053ii06s3s01p1xh',+ name: 'reblogs_count',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '5s8epfj3apwuc0b1jud8laqpg',+ name: 'language',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ykg8oa1voailqyf3n1we8magw',+ name: 'conversation_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'v0ulgei0xn7p42a0s0ud8fn8t',+ name: 'local',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'posh7418s266t6f7zca2t9y7o',+ name: 'application_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'r75dd4fg8yv5c8he3hm058co9',+ name: 'in_reply_to_profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'o1aiqet594xoz74hayug6t3ka',+ name: 'entities',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '0jlah7u0cvfkje0mdm9j4qoj4',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '379l1v4x6ykpvwjczf4mczpwd',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'nl8rvtsrof0e8fznou9fescfh',+ name: 'deleted_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'elif64ejnezn1s6yzoce399um',+ name: 'cw_summary',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'u46eeqanxwn3iv8u837hnz4z0',+ name: 'reply_count',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'v27xnvkkeuweliomosqup5k6a',+ name: 'comments_disabled',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'z1yidu4xltnvdg36xmj8abrso',+ name: 'place_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'yfkpw6dg6yzm1hi4lbbrzg2z7',+ name: 'object_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'q4ncrtd68islo1clc610a7o1n',+ name: 'statuses_deleted_at_index',+ unique: false,+ fieldIds: ['nl8rvtsrof0e8fznou9fescfh'],+ createdAt: Date.now(),+ },+ {+ id: 'edlohs4785h322d9sllmh4m3l',+ name: 'statuses_place_id_index',+ unique: false,+ fieldIds: ['z1yidu4xltnvdg36xmj8abrso'],+ createdAt: Date.now(),+ },+ {+ id: 'dds6vo2gb38y7pv98opc7ri31',+ name: 'statuses_is_nsfw_index',+ unique: false,+ fieldIds: ['15omgoffhbvmjxobs3y0fzkpf'],+ createdAt: Date.now(),+ },+ {+ id: '8dnr3eayhui23rdgdmyvm19a1',+ name: 'statuses_pkey',+ unique: true,+ fieldIds: ['329airdjoczcr8v8boshu83g4'],+ createdAt: Date.now(),+ },+ {+ id: '5r6zzx9yyxy1qegphg4nhaxrm',+ name: 'statuses_local_index',+ unique: false,+ fieldIds: ['v0ulgei0xn7p42a0s0ud8fn8t'],+ createdAt: Date.now(),+ },+ {+ id: 'gha8ahqmazm1pfc4ikew4zeno',+ name: 'statuses_uri_unique',+ unique: true,+ fieldIds: ['5ncqbm1aki4lz9xesqo7r5w2a'],+ createdAt: Date.now(),+ },+ {+ id: 'oz3zhlrjvbbg941s5h1rdq8x3',+ name: 'statuses_created_at_index',+ unique: false,+ fieldIds: ['0jlah7u0cvfkje0mdm9j4qoj4'],+ createdAt: Date.now(),+ },+ {+ id: 'c3qvoy66mamhm3yjngvqo08fh',+ name: 'statuses_object_url_unique',+ unique: true,+ fieldIds: ['yfkpw6dg6yzm1hi4lbbrzg2z7'],+ createdAt: Date.now(),+ },+ {+ id: 'qp79qebd6j9nxdurgo9vsf5jw',+ name: 'statuses_type_index',+ unique: false,+ fieldIds: ['az2gk467dsgyllo1efd9aq6to'],+ createdAt: Date.now(),+ },+ {+ id: 'h6wx2c4xawxb4uvahpowrhr7x',+ name: 'statuses_in_reply_to_id_reblog_of_id_index',+ unique: false,+ fieldIds: [+ 'h9sn2c93hap3n4fivkjy159ye',+ 'hli6iznm0gsduag4ihthzwonq',+ ],+ createdAt: Date.now(),+ },+ {+ id: 'xc0bqihmx4h5kl5nxc49udv7y',+ name: 'statuses_scope_index',+ unique: false,+ fieldIds: ['09a81708vgaqq8dspjjk6kdaa'],+ createdAt: Date.now(),+ },+ {+ id: 'j1xsfctjilhu59mdazpqon17n',+ name: 'statuses_profile_id_index',+ unique: false,+ fieldIds: ['axb0n3q739ztxlj1o0lnpoapf'],+ createdAt: Date.now(),+ },+ {+ id: 'jzsp7u7mpvgbhj0hymmmisu7d',+ name: 'statuses_visibility_index',+ unique: false,+ fieldIds: ['fj0qanglso06v3e3hx90xhdei'],+ createdAt: Date.now(),+ },+ ],+ color: '#b067e9',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'l2nmnnkpmu2bymrkfk7r1pnnr',+ name: 'direct_messages',+ schema: 'public',+ x: 1793.933982822018,+ y: 639.0787190702015,+ fields: [+ {+ id: 'o1qkj3y91jt7xmtog2nj8kxgu',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'd8lak1avea0qfjxn2j0j9zmgd',+ name: 'to_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'xy07oq7vfc47b768o8r64l5zj',+ name: 'from_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '4y964scsxlmf8g7pueakqbd62',+ name: 'from_profile_ids',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'glr3bsag4k7xxleu9fbpswv4w',+ name: 'group_message',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'vglhahja9ep708377ioidstli',+ name: 'status_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 's3tfbcerlorv224d4vi0t06jm',+ name: 'read_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'hozw7rmj8lnxqrisvc8g5rtzx',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '0d8exms97rq2z00tnme8gitkv',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'otfaulvbzm1z3l61kbyfrri9b',+ name: 'direct_messages_pkey',+ unique: true,+ fieldIds: ['o1qkj3y91jt7xmtog2nj8kxgu'],+ createdAt: Date.now(),+ },+ {+ id: 'u4t6tlyxftp2u6ypxn0xi1cbx',+ name: 'direct_messages_to_id_from_id_status_id_unique',+ unique: true,+ fieldIds: [+ 'd8lak1avea0qfjxn2j0j9zmgd',+ 'xy07oq7vfc47b768o8r64l5zj',+ 'vglhahja9ep708377ioidstli',+ ],+ createdAt: Date.now(),+ },+ {+ id: 'c24x2vhelz6t88tzziw62fbfp',+ name: 'direct_messages_from_id_index',+ unique: false,+ fieldIds: ['xy07oq7vfc47b768o8r64l5zj'],+ createdAt: Date.now(),+ },+ {+ id: 'ysr09unyzdk6x4wr9e0y7yplj',+ name: 'direct_messages_to_id_index',+ unique: false,+ fieldIds: ['d8lak1avea0qfjxn2j0j9zmgd'],+ createdAt: Date.now(),+ },+ ],+ color: '#42e0c0',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'lje33vzflmclynecd1n8ouwav',+ name: 'media',+ schema: 'public',+ x: 1405.9249001516905,+ y: 589.2081231967809,+ fields: [+ {+ id: 'ai7om1rvjwbeax1ts6k1tfqtj',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '4sepx03hmo7wg9ym2bmsanjrc',+ name: 'status_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'nsm0sqwgwkz6wjr6gcg9nv9pb',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '48tg96jnu5xi83loi4t8rc9ax',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '61updhqaqtrg75uta2vjgmfk7',+ name: 'is_nsfw',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'd0g4vnatvlomys80z61gqzsut',+ name: 'remote_media',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ygtn3dvfdwigfbcpp0wg0ois5',+ name: 'original_sha256',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '353wskko1gfqz0y3qyc8921bx',+ name: 'optimized_sha256',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '5yxa5hpbyzrgjsqq4wrdv7zwr',+ name: 'media_path',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '7anc3e8ucigcmogbroby4jytt',+ name: 'thumbnail_path',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '80p5nv5d61e2y78fyomjnovoo',+ name: 'cdn_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '8ll611umon9jxmd0c3oe7x71e',+ name: 'optimized_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'wb8hs2gquk9y7frhoi803tklv',+ name: 'thumbnail_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'k3yx2ikd3zmgku2m76q1usxzf',+ name: 'remote_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'cr6tyiqyavhi0tq4w0d2vhvop',+ name: 'caption',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'upymwfpuw7dait5lg1f2v518k',+ name: 'hls_path',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'xua6ko806rckjv8ytk8vjuuaa',+ name: 'order',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'rr61mbcgj2c52rzi87damgckf',+ name: 'mime',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '2ezwa48tkbkj000xty18lyhbc',+ name: 'size',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'yla616fp5uhgf51ehi6ievsty',+ name: 'orientation',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ezuvpj9ujx58jf0znsycs6dlv',+ name: 'filter_name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'bsk4fnwt2nfnspw5a0g7u1opi',+ name: 'filter_class',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'qjxungp2h8bzlrrsoh2lh4nic',+ name: 'license',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'xddcfx9eoqioqzvrxa7ab7udm',+ name: 'processed_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'j2yd2c17jv7s4lwr92hppgukd',+ name: 'hls_transcoded_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'h3ouz12ijx08ubpeq1zgdzusk',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ljrz4sb4lv5jn0uxsjukqkbe2',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '9o4ykq9htmtmwwcplagndw3k9',+ name: 'deleted_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'gek6vz4rdfbj01ek7ipymznon',+ name: 'key',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'a8h53giqj44crbl7avgep2x4n',+ name: 'metadata',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'jbjskwqd0sucrj8n9fa2q9l1v',+ name: 'version',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'sl6avglw8ftxcaad9y9mw9gfo',+ name: 'media_status_id_media_path_unique',+ unique: true,+ fieldIds: [+ '4sepx03hmo7wg9ym2bmsanjrc',+ '5yxa5hpbyzrgjsqq4wrdv7zwr',+ ],+ createdAt: Date.now(),+ },+ {+ id: '0fiurr5rgaosyw73hzh24tvl9',+ name: 'media_user_id_index',+ unique: false,+ fieldIds: ['48tg96jnu5xi83loi4t8rc9ax'],+ createdAt: Date.now(),+ },+ {+ id: '55lktqhi67ne994qcvm3p3sbm',+ name: 'media_deleted_at_index',+ unique: false,+ fieldIds: ['9o4ykq9htmtmwwcplagndw3k9'],+ createdAt: Date.now(),+ },+ {+ id: 'mp1h5xwr87rv44h8lkqsm289b',+ name: 'media_pkey',+ unique: true,+ fieldIds: ['ai7om1rvjwbeax1ts6k1tfqtj'],+ createdAt: Date.now(),+ },+ {+ id: 'f6vgq2m9dj8fsiwwlm4bkv4r8',+ name: 'media_original_sha256_index',+ unique: false,+ fieldIds: ['ygtn3dvfdwigfbcpp0wg0ois5'],+ createdAt: Date.now(),+ },+ {+ id: 'ep8zdyw7afpklpq59i9cydiaq',+ name: 'media_optimized_sha256_index',+ unique: false,+ fieldIds: ['353wskko1gfqz0y3qyc8921bx'],+ createdAt: Date.now(),+ },+ ],+ color: '#42e0c0',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'ljl8ltg6yuqu0k93e0v17oki7',+ name: 'profile_sponsors',+ schema: 'public',+ x: -246.41016151377542,+ y: 1550,+ fields: [+ {+ id: '9kj4pqgkh2d370c0873si6ky1',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'omh9g5aky3gcfg105qrwcqxtv',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '0pp1730sw8t06fbychqimm7q2',+ name: 'sponsors',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '1llgxg25r8m62v54uuy3grmqw',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'yq1cezqh632psshi0m6pyp9oh',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'epdwxe5tfnuchhxfqbtz4oesz',+ name: 'profile_sponsors_profile_id_unique',+ unique: true,+ fieldIds: ['omh9g5aky3gcfg105qrwcqxtv'],+ createdAt: Date.now(),+ },+ {+ id: 'vczq4k0f154nuu33nuych3aiu',+ name: 'profile_sponsors_pkey',+ unique: true,+ fieldIds: ['9kj4pqgkh2d370c0873si6ky1'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff6363',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'mis7zasgt55up8yv8zoyf3caz',+ name: 'follow_requests',+ schema: 'public',+ x: 1313.1727983645296,+ y: 1433.8834764831843,+ fields: [+ {+ id: 'toyv1uoth20pg3o61gijxyog6',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'j4ig4kgoasmqy8h1fyiuuy5ak',+ name: 'follower_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'nm8smq1rhnc5x5ne0sxsjmo9w',+ name: 'following_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'udg06ra4eyhhq7ug78n6hgnqm',+ name: 'is_rejected',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'tdlx2vftw6e7hnryp06sw1160',+ name: 'is_local',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 't2dt8s4bofyd1p0wwgpz2iryu',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'kq1im8rc9lidem2ibkw3osntq',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '92m9x5dy13ff8k5m24daxh6rq',+ name: 'follow_requests_following_id_index',+ unique: false,+ fieldIds: ['nm8smq1rhnc5x5ne0sxsjmo9w'],+ createdAt: Date.now(),+ },+ {+ id: 'oisptsium5bdf4uxc81995sm4',+ name: 'follow_requests_follower_id_index',+ unique: false,+ fieldIds: ['j4ig4kgoasmqy8h1fyiuuy5ak'],+ createdAt: Date.now(),+ },+ {+ id: 'l7pin8mqau8dwyi70k9c5154s',+ name: 'follow_requests_pkey',+ unique: true,+ fieldIds: ['toyv1uoth20pg3o61gijxyog6'],+ createdAt: Date.now(),+ },+ ],+ color: '#b067e9',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'nitr8ityho1j97dto9ukpo2ee',+ name: 'hashtags',+ schema: 'public',+ x: 1300,+ y: 100,+ fields: [+ {+ id: 'kjksy6ej3k1kd825tzps15s3q',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'o4xgn9h0sod8qh8c8cl1r6vnx',+ name: 'name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'gugwaa2yy0vkvthsif3ywse3g',+ name: 'slug',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'z4bswh5e4cvgnk8zwdq7m9zkk',+ name: 'is_nsfw',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'jazowwxix305h87n13jrrevw6',+ name: 'is_banned',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'sg1yat56ayiln54d2rfgblfx7',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'wudhv02tu6t13q77u6z2i8ht0',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'egc53ljr8q1nq0wrfjkz5peww',+ name: 'hashtags_pkey',+ unique: true,+ fieldIds: ['kjksy6ej3k1kd825tzps15s3q'],+ createdAt: Date.now(),+ },+ {+ id: 'y4jscoxgeko9kwxzahboucg43',+ name: 'hashtags_name_unique',+ unique: true,+ fieldIds: ['o4xgn9h0sod8qh8c8cl1r6vnx'],+ createdAt: Date.now(),+ },+ {+ id: 'g9jfjxfhr3gmhs9x0kq813e0i',+ name: 'hashtags_slug_unique',+ unique: true,+ fieldIds: ['gugwaa2yy0vkvthsif3ywse3g'],+ createdAt: Date.now(),+ },+ ],+ color: '#9ef07a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'ov96zdr5ku0t2zqr03sgubumn',+ name: 'hashtag_follows',+ schema: 'public',+ x: 900,+ y: 100,+ fields: [+ {+ id: 'sgh35h5pbycq8o0mjk8g92c77',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'mn03jxjd88r74q77aceea0jon',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ck7p6k1ybvle4pqdrnsi2a9tu',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '7b11pj1falg1wpmg6t649av68',+ name: 'hashtag_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '5ozybqwrrh00ujrevqnc7qzeq',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'mt4szrem1yu89mngrqlqw8e66',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'hso2p0mtu704va1gpbuchutts',+ name: 'hashtag_follows_pkey',+ unique: true,+ fieldIds: ['sgh35h5pbycq8o0mjk8g92c77'],+ createdAt: Date.now(),+ },+ {+ id: 'u4vikgi72kykxrh88v3gz6o3c',+ name: 'hashtag_follows_user_id_profile_id_hashtag_id_unique',+ unique: true,+ fieldIds: [+ 'mn03jxjd88r74q77aceea0jon',+ 'ck7p6k1ybvle4pqdrnsi2a9tu',+ '7b11pj1falg1wpmg6t649av68',+ ],+ createdAt: Date.now(),+ },+ {+ id: 'x2qpnt1ttejlj5lr4xhffns0g',+ name: 'hashtag_follows_hashtag_id_index',+ unique: false,+ fieldIds: ['7b11pj1falg1wpmg6t649av68'],+ createdAt: Date.now(),+ },+ {+ id: 'h4wv3kyrggvc0y17lalvbx1u4',+ name: 'hashtag_follows_user_id_index',+ unique: false,+ fieldIds: ['mn03jxjd88r74q77aceea0jon'],+ createdAt: Date.now(),+ },+ {+ id: '2v178nkkayn5db0r3lwv6dx98',+ name: 'hashtag_follows_profile_id_index',+ unique: false,+ fieldIds: ['ck7p6k1ybvle4pqdrnsi2a9tu'],+ createdAt: Date.now(),+ },+ ],+ color: '#4dee8a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 's3xytprsnu6sdgfv1yz9kiwft',+ name: 'password_resets',+ schema: 'public',+ x: 2795.0756956361693,+ y: 1962.412242118198,+ fields: [+ {+ id: 'qu264nhb06c7nvqnpfpabcmnh',+ name: 'email',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'lrlsu7haswgkxob6h89ejqvy6',+ name: 'token',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'wda0ugpt82ma2srz2fxnksh9x',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'tv5i7l7siaxxboheantaxusfb',+ name: 'password_resets_email_index',+ unique: false,+ fieldIds: ['qu264nhb06c7nvqnpfpabcmnh'],+ createdAt: Date.now(),+ },+ ],+ color: '#4dee8a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 's87ez8fcx9gezivuesx4laowq',+ name: 'bookmarks',+ schema: 'public',+ x: 2500,+ y: 100,+ fields: [+ {+ id: 'oh2v9j340x7oey7roxgndiygx',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '5narocluude7tm3box71rasw1',+ name: 'status_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'mwzs8sjtw8lamemg62zyn69fx',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'jo9irfdyzw4yfaz2kzqpg0otk',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'iasu300jsaax87c2nzdnawk1s',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'l8r86ikvep6ewjrowl33etp9q',+ name: 'bookmarks_status_id_profile_id_unique',+ unique: true,+ fieldIds: [+ '5narocluude7tm3box71rasw1',+ 'mwzs8sjtw8lamemg62zyn69fx',+ ],+ createdAt: Date.now(),+ },+ {+ id: 'ccw48cwkdc7azou6fnez97ypt',+ name: 'bookmarks_pkey',+ unique: true,+ fieldIds: ['oh2v9j340x7oey7roxgndiygx'],+ createdAt: Date.now(),+ },+ ],+ color: '#42e0c0',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'ssvdpq9oa6mw4z9uyppbd2b4w',+ name: 'report_logs',+ schema: 'public',+ x: -1300,+ y: 533.0127018922195,+ fields: [+ {+ id: 'w2si1twt1vdn11ydzsln92mku',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '2o9zp3wbj3cnbr4kryozr7fvy',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '8qo54sei6erartpeekhvtf4xc',+ name: 'item_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'vrccyydw1kql2vjiwl363bpcp',+ name: 'item_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'zdepo9b6bldkyxi67io3l7dap',+ name: 'action',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ze1drggw3vamftc0gjbszbr4b',+ name: 'system_message',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'k13mkzpep6a4h11y2xlggz82w',+ name: 'metadata',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '84v4ruvrpn6wdsxu947smukcj',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '1ljjocx023er5y6bv4pbu4qi5',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'l0ibjfzd5vz2h04j0sppvcge3',+ name: 'report_logs_pkey',+ unique: true,+ fieldIds: ['w2si1twt1vdn11ydzsln92mku'],+ createdAt: Date.now(),+ },+ ],+ color: '#7175fa',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'tkjfrpgsvzccopbrvl175i89c',+ name: 'story_views',+ schema: 'public',+ x: 300.0000000000001,+ y: 1883.0127018922194,+ fields: [+ {+ id: 'm3bb8i3h1rjhzf56768d7jutw',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '24tvwa63kf9aghcjohjq6zoi0',+ name: 'story_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'nsg4xuev850uu4mtpe4jo6xsm',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'gbn0jvt186cooeejrmby3589i',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'mzec8vrfykx4wibf6qrmx4kgr',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'bxcr2gyw2w4c46l6ryeerdopq',+ name: 'story_views_story_id_profile_id_unique',+ unique: true,+ fieldIds: [+ '24tvwa63kf9aghcjohjq6zoi0',+ 'nsg4xuev850uu4mtpe4jo6xsm',+ ],+ createdAt: Date.now(),+ },+ {+ id: 'hayxwtcr9usg8zt31rkimaj14',+ name: 'story_views_pkey',+ unique: true,+ fieldIds: ['m3bb8i3h1rjhzf56768d7jutw'],+ createdAt: Date.now(),+ },+ {+ id: 'ur2vynazlqtmalh5ult9u7c3v',+ name: 'story_views_profile_id_index',+ unique: false,+ fieldIds: ['nsg4xuev850uu4mtpe4jo6xsm'],+ createdAt: Date.now(),+ },+ {+ id: 'd9terzgz8nrmvaqydmr0fl93h',+ name: 'story_views_story_id_index',+ unique: false,+ fieldIds: ['24tvwa63kf9aghcjohjq6zoi0'],+ createdAt: Date.now(),+ },+ ],+ color: '#ffe374',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'v0dm3jw835co51bh3gth4f9w0',+ name: 'places',+ schema: 'public',+ x: 2512.4837944255737,+ y: 527.4598220212517,+ fields: [+ {+ id: 'r3xgf80e1b8ikef8gjp1oklq0',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'mfpnvgvhbni1t9v49mvarfcu4',+ name: 'slug',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'dqcizzuk0krdjx3265pkxsdq9',+ name: 'name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '696aa2xbto0rm9swy6fvi223r',+ name: 'country',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'a8jbhrsd5ldagnei063bbgk6x',+ name: 'aliases',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'xhs2bbxhwfl9yvsqb66gfd4mu',+ name: 'lat',+ type: {+ id: 'numeric',+ name: 'numeric',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ precision: 8,+ scale: 2,+ createdAt: Date.now(),+ },+ {+ id: 'afvi96p27gl189v8pa4zc04n2',+ name: 'long',+ type: {+ id: 'numeric',+ name: 'numeric',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ precision: 8,+ scale: 2,+ createdAt: Date.now(),+ },+ {+ id: 'k73egbuy1ty61xmbieozd3gjr',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'rwdwg7b41zyhaju1a9yda6suf',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'nze5z53uuynqpnoq35vwfnwiw',+ name: 'places_slug_country_lat_long_unique',+ unique: true,+ fieldIds: [+ 'mfpnvgvhbni1t9v49mvarfcu4',+ '696aa2xbto0rm9swy6fvi223r',+ 'xhs2bbxhwfl9yvsqb66gfd4mu',+ 'afvi96p27gl189v8pa4zc04n2',+ ],+ createdAt: Date.now(),+ },+ {+ id: 'm70jodv43xix6r3vkuyetwafg',+ name: 'places_name_index',+ unique: false,+ fieldIds: ['dqcizzuk0krdjx3265pkxsdq9'],+ createdAt: Date.now(),+ },+ {+ id: 'u96uo16ibbd6sy1dcy8r9eb0j',+ name: 'places_pkey',+ unique: true,+ fieldIds: ['r3xgf80e1b8ikef8gjp1oklq0'],+ createdAt: Date.now(),+ },+ {+ id: 'hol7et3fo89vpxecgotek3cmx',+ name: 'places_country_index',+ unique: false,+ fieldIds: ['696aa2xbto0rm9swy6fvi223r'],+ createdAt: Date.now(),+ },+ {+ id: 'xs1z95w8vs1hi8of3mc5c1oob',+ name: 'places_slug_index',+ unique: false,+ fieldIds: ['mfpnvgvhbni1t9v49mvarfcu4'],+ createdAt: Date.now(),+ },+ ],+ color: '#b067e9',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'vvj24s3xq02htxry3wjl7hxp1',+ name: 'contacts',+ schema: 'public',+ x: 789.3218301388121,+ y: -357.88666332752865,+ fields: [+ {+ id: '1ovlw6c2g3a1e3kkps9jqp4bd',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'k27g5n1miqtrwe4abnuwaf2fa',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'fetevj4bxnmkez80fxapi8svb',+ name: 'response_requested',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'st732zeztc8tog0jc6ns11f2u',+ name: 'message',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '4w401tdj18263iohfvrgyjp60',+ name: 'response',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'xc8wukfsfbwghay9td53nmfev',+ name: 'read_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '9lhwzdrlejcd0uykhntc8va10',+ name: 'responded_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'hnauicnkdius7doch1liaoek4',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'qem46dzauoc9gaia49agsddbw',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'tlz4c0qf4w08w5q1vgqlvqxhs',+ name: 'contacts_pkey',+ unique: true,+ fieldIds: ['1ovlw6c2g3a1e3kkps9jqp4bd'],+ createdAt: Date.now(),+ },+ {+ id: 'rqer6o2ro1p9c12d8ntzo2rwk',+ name: 'contacts_user_id_index',+ unique: false,+ fieldIds: ['k27g5n1miqtrwe4abnuwaf2fa'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff6b8a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'wbscp6sk0ii67awjdbjb95zbo',+ name: 'comments',+ schema: 'public',+ x: 1724.1229516856365,+ y: -371.0100716628343,+ fields: [+ {+ id: 'l7mm7kkylwx8d6wh9m7786kmn',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '0crzfdf3e2femlw4kkrdkncqc',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '75lta7hmk20vefx5cerf4zsg7',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'cb1rdqf9th3wv9uyu4qj92lp6',+ name: 'status_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'yostahd1w7y84po6k92xci1vc',+ name: 'comment',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'auchlxdnyo1aigjek8dalpzew',+ name: 'rendered',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'nzkcdax5ds2v20xdye0olqjaw',+ name: 'entities',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '4nprt4zjntivwn5pm5bebhqja',+ name: 'is_remote',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'fe6f8i1zw09tybhefe3eczji0',+ name: 'rendered_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'olnvlr6gxcppy1823uemmipra',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '4wth6ggqcqo0p8qz3p1j8glo7',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'eha527byf6kkvxr2m7kdn91uz',+ name: 'comments_pkey',+ unique: true,+ fieldIds: ['l7mm7kkylwx8d6wh9m7786kmn'],+ createdAt: Date.now(),+ },+ ],+ color: '#b067e9',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'wbyq0tczdvsbscqbt0so64z08',+ name: 'mod_logs',+ schema: 'public',+ x: 229.08737134970346,+ y: -867.8619553365659,+ fields: [+ {+ id: 'lbmp44veu7me9x82xihya0ozz',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '9b6x50nrke80q0wbxfcotnr2f',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '0war5hzdwkxjknnawjp1l1e4d',+ name: 'user_username',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '45yd1vb99lj9xinx5kiydxdw8',+ name: 'object_uid',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'x44rd5do77d07q6aw0rt858cd',+ name: 'object_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '3a8lgxakwuiwtp1crf5bu7f1l',+ name: 'object_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '3cyml8elxiijlh3t8lnnjr2ys',+ name: 'action',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ewjp6phnov1e69tkq2xygkx00',+ name: 'message',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '134ftbssdhcq5ty7wz31z9i8t',+ name: 'metadata',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'jlokesl4e9mo7lwxzu8qo9rm5',+ name: 'access_level',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 's7l19yk3axdoesf6cf44mov69',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'f4k22zdxdzizyhfl9ej3im94t',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'ku7lk6sf0yrnua93svxsth9iw',+ name: 'mod_logs_pkey',+ unique: true,+ fieldIds: ['lbmp44veu7me9x82xihya0ozz'],+ createdAt: Date.now(),+ },+ {+ id: 'dwcv15f5cj0sc7gyebcqfmkva',+ name: 'mod_logs_object_id_index',+ unique: false,+ fieldIds: ['x44rd5do77d07q6aw0rt858cd'],+ createdAt: Date.now(),+ },+ {+ id: 'ou5ux5r5d72dyic60lfh6sxzv',+ name: 'mod_logs_object_uid_index',+ unique: false,+ fieldIds: ['45yd1vb99lj9xinx5kiydxdw8'],+ createdAt: Date.now(),+ },+ {+ id: '009qnvnb6jkxc1syjdhssjswb',+ name: 'mod_logs_user_id_index',+ unique: false,+ fieldIds: ['9b6x50nrke80q0wbxfcotnr2f'],+ createdAt: Date.now(),+ },+ {+ id: 'f87l70k057wc1snen0v5o5nel',+ name: 'mod_logs_object_type_index',+ unique: false,+ fieldIds: ['3a8lgxakwuiwtp1crf5bu7f1l'],+ createdAt: Date.now(),+ },+ ],+ color: '#4dee8a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'wktdj5utkfy811t69oktf0kng',+ name: 'stories',+ schema: 'public',+ x: 700.0000000000001,+ y: 1883.0127018922194,+ fields: [+ {+ id: '4w4pumhbheaok8o8t72sox51y',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 's4ette4bbl8h83get1cpnnw00',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'qr22ezvoaleg9lxg908z1qya0',+ name: 'type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ubxk44uwgulcsc2xeionmdvt8',+ name: 'size',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'vhmbr3ye173ivbl6gc9a2805r',+ name: 'mime',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '22885v0b8y98re9i9q3cmq635',+ name: 'duration',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '65thgfytdous1496ak0fi5dwq',+ name: 'path',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'y5d25ssua02ko9s9dhoflkvwr',+ name: 'cdn_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'qsh77pw5nfomudgv6qx984gy4',+ name: 'public',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'dog4smux1i50abndwixdlco0q',+ name: 'local',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '4wbotigvhqqrhf52nch703rcp',+ name: 'view_count',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'luhrvaljoh4s5o3b6g3ryhovs',+ name: 'comment_count',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '3492d909fzb45c1l1nkvs9ify',+ name: 'story',+ type: {+ id: 'json',+ name: 'json',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'aahr1lzhlw61xzf4x46ichz2t',+ name: 'expires_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'pfl4igeqplbxsx50ou9o2p9g3',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'myhr5uslq3zhnyatqz7ufg6pi',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'juiygpwwy3d1hjirf1ockxfll',+ name: 'stories_profile_id_path_unique',+ unique: true,+ fieldIds: [+ 's4ette4bbl8h83get1cpnnw00',+ '65thgfytdous1496ak0fi5dwq',+ ],+ createdAt: Date.now(),+ },+ {+ id: 'pew6ywpoh77lpzcedvpks1s3z',+ name: 'stories_profile_id_index',+ unique: false,+ fieldIds: ['s4ette4bbl8h83get1cpnnw00'],+ createdAt: Date.now(),+ },+ {+ id: '1y93vyyagn6uy9uhue9ih51iz',+ name: 'stories_pkey',+ unique: true,+ fieldIds: ['4w4pumhbheaok8o8t72sox51y'],+ createdAt: Date.now(),+ },+ {+ id: '1sotaivg12ykv3f1tx8ai3a17',+ name: 'stories_expires_at_index',+ unique: false,+ fieldIds: ['aahr1lzhlw61xzf4x46ichz2t'],+ createdAt: Date.now(),+ },+ {+ id: 'r87lzx0by5htnma2civ7q6kyl',+ name: 'stories_local_index',+ unique: false,+ fieldIds: ['dog4smux1i50abndwixdlco0q'],+ createdAt: Date.now(),+ },+ {+ id: '346xrvl7egad2rmbjhr3alczy',+ name: 'stories_public_index',+ unique: false,+ fieldIds: ['qsh77pw5nfomudgv6qx984gy4'],+ createdAt: Date.now(),+ },+ ],+ color: '#42e0c0',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'x405s25ppbcdoymvupuorg6ej',+ name: 'notifications',+ schema: 'public',+ x: 1122.7664335835198,+ y: -406.98658051663256,+ fields: [+ {+ id: '7fntoqt47vjii9v2tlhlvih8z',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'h9nauf8iu39uspmj34aoogz89',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '89szuc9oahmaaa3f7kb3qfzzm',+ name: 'actor_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'f5m4dywj3tyjh7gds1h0lbhdq',+ name: 'item_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '0nn96yi9qv3sik94abcrur0e4',+ name: 'item_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '4cx6a1qvft05fzoen7l3o9qxz',+ name: 'action',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '3coo034e2vke4dhdgex8drnhh',+ name: 'message',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '0bx63ukxitwmxd3s0qgkuk4yd',+ name: 'rendered',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '1cr16cha0u1kan21pzp75c41v',+ name: 'read_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '662yxlkvbhqnea5o6wfvguiyb',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ncdyqpcwphrqq4gbekajmxu30',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'kvpr979knenc7fukocrqcyhh4',+ name: 'deleted_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'wx7qaem606194phci0a6w4ofd',+ name: 'notifications_created_at_index',+ unique: false,+ fieldIds: ['662yxlkvbhqnea5o6wfvguiyb'],+ createdAt: Date.now(),+ },+ {+ id: 'at6fit1gut6tomytof9bi4l1v',+ name: 'notifications_profile_id_index',+ unique: false,+ fieldIds: ['h9nauf8iu39uspmj34aoogz89'],+ createdAt: Date.now(),+ },+ {+ id: 'jwj0kovdsg96lqj6520jppzx6',+ name: 'notifications_actor_id_index',+ unique: false,+ fieldIds: ['89szuc9oahmaaa3f7kb3qfzzm'],+ createdAt: Date.now(),+ },+ {+ id: 'kn6n2whye70ezcoofnutjy6jh',+ name: 'notifications_pkey',+ unique: true,+ fieldIds: ['7fntoqt47vjii9v2tlhlvih8z'],+ createdAt: Date.now(),+ },+ {+ id: 'hxiwq8z59uke3sn9attgtf4kx',+ name: 'notifications_deleted_at_index',+ unique: false,+ fieldIds: ['kvpr979knenc7fukocrqcyhh4'],+ createdAt: Date.now(),+ },+ ],+ color: '#8eb7ff',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'xi6fn3mrizqvytop319qeq2m5',+ name: 'newsroom',+ schema: 'public',+ x: 891.2323305229953,+ y: -822.5563152152636,+ fields: [+ {+ id: 'evnt1ktkf8s93m79ylt38e1wd',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'hmhla6x7p1h5qhw6t7lt981e2',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'mo2pywhdui29v5xfmkw4r0v5f',+ name: 'header_photo_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '306oinx95j6wbspbzjp3xoyzw',+ name: 'title',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'qqjx6yidyq1vehyajgpvc3lcl',+ name: 'slug',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'vniuaic3vwjeegtsc3jrhd0tn',+ name: 'category',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'jcdij13dv5kpex7atv1vbrg9y',+ name: 'summary',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'wlyqnotizq64iiwt8t10eqmvd',+ name: 'body',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'mwv9y62m8hw20ejdpvgfvizcc',+ name: 'body_rendered',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'oub1vagdie8zzhcwrwko1us9n',+ name: 'link',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '5ocg2fcdkdq29v4h9wpznz6go',+ name: 'force_modal',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'a950he3i4nxu2n9a6r66a4gei',+ name: 'show_timeline',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'wakwzn0dir1c4ws8zhg7sond7',+ name: 'show_link',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '5wx8hvk6adh8ddjqkwxnvgx19',+ name: 'auth_only',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '15f5wsrpkw9qe6wrtst3rq6h1',+ name: 'published_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'x38qo6i5jnoir8hh1h7xlyrl9',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'xz2sezh5r9u81hhxoqoobmblq',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '56om4xybsp9fcwwodisxjax3e',+ name: 'newsroom_pkey',+ unique: true,+ fieldIds: ['evnt1ktkf8s93m79ylt38e1wd'],+ createdAt: Date.now(),+ },+ {+ id: 'hli97m6um05o0y0du2gfz1omy',+ name: 'newsroom_slug_unique',+ unique: true,+ fieldIds: ['qqjx6yidyq1vehyajgpvc3lcl'],+ createdAt: Date.now(),+ },+ ],+ color: '#c05dcf',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'xjqgxhodqk13un31kgegz63du',+ name: 'sessions',+ schema: 'public',+ x: -276.0535691945242,+ y: -86.29037219339165,+ fields: [+ {+ id: 'bgywh6o8xy87dsyoav1w71d63',+ name: 'id',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'zyi6uriyr1au3ho5jferamcu2',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ajlonplolfn1ms3dcre282i5v',+ name: 'ip_address',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'xsevsf5lf7to5q9r4k6a5ojf9',+ name: 'user_agent',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '252bmieha8bmllxql6zkwchv9',+ name: 'payload',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'xkxhutx25h9dcgoq82z2v40pq',+ name: 'last_activity',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '1s2ihwlwehbevgccwqg34ykk6',+ name: 'sessions_id_unique',+ unique: true,+ fieldIds: ['bgywh6o8xy87dsyoav1w71d63'],+ createdAt: Date.now(),+ },+ ],+ color: '#7175fa',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'xjwrpoqdsu3xmfdt80wfjnim1',+ name: 'jobs',+ schema: 'public',+ x: -631.3708498984761,+ y: -544.9747468305832,+ fields: [+ {+ id: 'ym292wzzo3w6thuzjve81ugt0',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '856jze7cjua52diwem7lab4yg',+ name: 'queue',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'p53zj64yrochonul8ygn7z8sf',+ name: 'payload',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'oue5yyer2v2t391xo866w80dv',+ name: 'attempts',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'bkfesif2d39s0nc7tm88wqh9w',+ name: 'reserved_at',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'jl8xtm9ctjzix5burvgxvyg75',+ name: 'available_at',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '5c9c6arhnb7nbm1or2r6vfcg8',+ name: 'created_at',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'se876d4t8o1u5rh2q2hy8xdac',+ name: 'jobs_queue_index',+ unique: false,+ fieldIds: ['856jze7cjua52diwem7lab4yg'],+ createdAt: Date.now(),+ },+ {+ id: 'vysi8aiqkuu0i52eacr2z853v',+ name: 'jobs_pkey',+ unique: true,+ fieldIds: ['ym292wzzo3w6thuzjve81ugt0'],+ createdAt: Date.now(),+ },+ ],+ color: '#9ef07a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'yfzdlbxmoyv60qjgg9uq6nv1m',+ name: 'pages',+ schema: 'public',+ x: 2395.0756956361693,+ y: 1962.412242118198,+ fields: [+ {+ id: 'hjj4xbb4aridfnz9lgtl605jd',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ehdsjpg260pdp1nhb0alv5noz',+ name: 'root',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '2sjphxw26qyxwpohtpsqomqwp',+ name: 'slug',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'zaobt66vruknh0oi2v0hyi3ad',+ name: 'title',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'j91of389x6kpcb4qbdqojgqs1',+ name: 'category_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'qkcmnrreifjlabd9ifk04heol',+ name: 'content',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '02t4oym10j2wv5l2utvo0upck',+ name: 'template',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'lvf2wzqdfv2oz2xlnq6rfqtmg',+ name: 'active',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'v5z0fsqc9pa2qmk81u2libmer',+ name: 'cached',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'riajr75m9j4ql7dae0a8q9va6',+ name: 'active_until',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '7t3i0xqm7shi2as4qqa27qe35',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'zo08r9tjdnpohfcvscg2n1o3e',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'lba7xa6b9npwedssg0i7m8d8m',+ name: 'pages_pkey',+ unique: true,+ fieldIds: ['hjj4xbb4aridfnz9lgtl605jd'],+ createdAt: Date.now(),+ },+ {+ id: 'morfkus43w22f75q5mflkxint',+ name: 'pages_category_id_index',+ unique: false,+ fieldIds: ['j91of389x6kpcb4qbdqojgqs1'],+ createdAt: Date.now(),+ },+ {+ id: 'dld410dfxklfe52zsu8z8aif5',+ name: 'pages_cached_index',+ unique: false,+ fieldIds: ['v5z0fsqc9pa2qmk81u2libmer'],+ createdAt: Date.now(),+ },+ {+ id: 'wfhp99grkvkf7gcxb0w2azdry',+ name: 'pages_active_index',+ unique: false,+ fieldIds: ['lvf2wzqdfv2oz2xlnq6rfqtmg'],+ createdAt: Date.now(),+ },+ {+ id: '9hjlivv18w03bxhzbvtx186b7',+ name: 'pages_slug_unique',+ unique: true,+ fieldIds: ['2sjphxw26qyxwpohtpsqomqwp'],+ createdAt: Date.now(),+ },+ {+ id: 'k6nlv20o0x70ooxoclil4b9ab',+ name: 'pages_template_index',+ unique: false,+ fieldIds: ['02t4oym10j2wv5l2utvo0upck'],+ createdAt: Date.now(),+ },+ {+ id: 'v6vbost3ucy23bxrlbpf3ra30',+ name: 'pages_root_index',+ unique: false,+ fieldIds: ['ehdsjpg260pdp1nhb0alv5noz'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff6363',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'zdoltsz7hwpeuu3kmzxnj8f5r',+ name: 'circle_profiles',+ schema: 'public',+ x: -974.2640687119283,+ y: 1024.2640687119288,+ fields: [+ {+ id: 'iz8id3w3dvsgje6b98x2g1l0b',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '66sgfpvzapllekh94j3dpi6q2',+ name: 'owner_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'd6n1n5nxdndwggik7hq0dg2o9',+ name: 'circle_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'fdthw59u8yyqx8ojy9b1o50jb',+ name: 'profile_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'yffaket0ohbv8jlmfbwrh7xz8',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'dgm20q325g2u0w1l032lidiiu',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '8ohqdlzsvk1z1dqln2d80zmq0',+ name: 'circle_profiles_pkey',+ unique: true,+ fieldIds: ['iz8id3w3dvsgje6b98x2g1l0b'],+ createdAt: Date.now(),+ },+ {+ id: 'crmhvyg5jvmo26j4b0gu1jw9q',+ name: 'circle_profiles_circle_id_profile_id_unique',+ unique: true,+ fieldIds: [+ 'd6n1n5nxdndwggik7hq0dg2o9',+ 'fdthw59u8yyqx8ojy9b1o50jb',+ ],+ createdAt: Date.now(),+ },+ {+ id: 'lpolm707bn9lkkndaeox0if2f',+ name: 'circle_profiles_profile_id_index',+ unique: false,+ fieldIds: ['fdthw59u8yyqx8ojy9b1o50jb'],+ createdAt: Date.now(),+ },+ {+ id: '69ijyu60s2977klmrmugmszdp',+ name: 'circle_profiles_circle_id_index',+ unique: false,+ fieldIds: ['d6n1n5nxdndwggik7hq0dg2o9'],+ createdAt: Date.now(),+ },+ {+ id: '8ov7p7uzomcv9t1ejc86bfgxo',+ name: 'circle_profiles_owner_id_index',+ unique: false,+ fieldIds: ['66sgfpvzapllekh94j3dpi6q2'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff6b8a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ ],+ relationships: [+ {+ id: '052z11zzpcflst3ytj8jgkith',+ name: 'statuses_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'l24015t8kumdwei4jtn1b1ey9',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 'axb0n3q739ztxlj1o0lnpoapf',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '09ocvkfe2x0je9ox4v9brxy9l',+ name: 'oauth_auth_codes_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'a8gecrohh6ekpk27qvvm8zxo7',+ targetTableId: '7n14mt4xe1iunnez0bz80a9gm',+ sourceFieldId: '7n02rv24nzvs19vprwfc17r2f',+ targetFieldId: 'r0xn8ef1b4t0870tqa9v4fotf',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '0huj5b3csbwhb5l4ksv86dki3',+ name: 'avatars_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'f1vpp9p8ofn3mnx59ov0wsoj9',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 'lp75gv4wlyfin3zmgnifr3g82',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'one',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '0l6gao1okdtnwndbp54aqbzo7',+ name: 'reports_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'czp5vv25aq28hnh2ko3vyeyum',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 'b0oryfvlln1kpqo03ryo54s4n',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '1fxe84hsz52lhikblmcehm19h',+ name: 'oauth_clients_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: '0nkcr3xd8uu25d9yfvmy2fpgt',+ targetTableId: '7n14mt4xe1iunnez0bz80a9gm',+ sourceFieldId: 'kf8iiel6fgyyaiyk5ru4ptypc',+ targetFieldId: 'r0xn8ef1b4t0870tqa9v4fotf',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '1yg6j8p2grz6zk8qan2t37zws',+ name: 'media_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'lje33vzflmclynecd1n8ouwav',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 'nsm0sqwgwkz6wjr6gcg9nv9pb',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '28wrg2obnjiidztuurfl6true',+ name: 'report_comments_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: '4idcib9szjmx602bbq1ty4s7n',+ targetTableId: '7n14mt4xe1iunnez0bz80a9gm',+ sourceFieldId: 'lz46wd9kgm4nko4rvnrckr2t1',+ targetFieldId: 'r0xn8ef1b4t0870tqa9v4fotf',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '47gaegml3v5mk4f4ms3wb568a',+ name: 'contacts_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'vvj24s3xq02htxry3wjl7hxp1',+ targetTableId: '7n14mt4xe1iunnez0bz80a9gm',+ sourceFieldId: 'k27g5n1miqtrwe4abnuwaf2fa',+ targetFieldId: 'r0xn8ef1b4t0870tqa9v4fotf',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '4f96jap0of4gcasi6xodnmwvw',+ name: 'comments_status_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'wbscp6sk0ii67awjdbjb95zbo',+ targetTableId: 'l24015t8kumdwei4jtn1b1ey9',+ sourceFieldId: 'cb1rdqf9th3wv9uyu4qj92lp6',+ targetFieldId: '329airdjoczcr8v8boshu83g4',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '4kujpgj9kcl87ev0z8tbkmj2f',+ name: 'import_datas_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'it969m4ygwjn3zs55993mca3s',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 'z2rsvv5m014rovksn5tcqvwbj',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '54b0mp8kzi4hiycrm7gktv7ql',+ name: 'notifications_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'x405s25ppbcdoymvupuorg6ej',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 'h9nauf8iu39uspmj34aoogz89',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '57q9yzegbrn9dzf5xneaiff71',+ name: 'stories_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'wktdj5utkfy811t69oktf0kng',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 's4ette4bbl8h83get1cpnnw00',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '5pt5rluuux6qptjh2howtw7ls',+ name: 'mod_logs_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'wbyq0tczdvsbscqbt0so64z08',+ targetTableId: '7n14mt4xe1iunnez0bz80a9gm',+ sourceFieldId: '9b6x50nrke80q0wbxfcotnr2f',+ targetFieldId: 'r0xn8ef1b4t0870tqa9v4fotf',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '5qvsr24awjszl87ixhhsskq90',+ name: 'statuses_place_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'l24015t8kumdwei4jtn1b1ey9',+ targetTableId: 'v0dm3jw835co51bh3gth4f9w0',+ sourceFieldId: 'z1yidu4xltnvdg36xmj8abrso',+ targetFieldId: 'r3xgf80e1b8ikef8gjp1oklq0',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '67arkhoat1m7wdgc07fd9ecad',+ name: 'story_views_story_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'tkjfrpgsvzccopbrvl175i89c',+ targetTableId: 'wktdj5utkfy811t69oktf0kng',+ sourceFieldId: '24tvwa63kf9aghcjohjq6zoi0',+ targetFieldId: '4w4pumhbheaok8o8t72sox51y',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '7vlcvfmwglatlopqt7o7oh7ac',+ name: 'profiles_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ targetTableId: '7n14mt4xe1iunnez0bz80a9gm',+ sourceFieldId: '3hyw0knoli89c7q4hy8usqyiu',+ targetFieldId: 'r0xn8ef1b4t0870tqa9v4fotf',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '7yxyxcv9tbbkzagiocxvtf18x',+ name: 'profile_sponsors_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'ljl8ltg6yuqu0k93e0v17oki7',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 'omh9g5aky3gcfg105qrwcqxtv',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'one',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '8kljwnql3w0rm85itn3dt66bf',+ name: 'user_devices_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: '7jx63zw29lr4ssbq3v3h21w58',+ targetTableId: '7n14mt4xe1iunnez0bz80a9gm',+ sourceFieldId: 'gczryyjayn7el00ijqrprqwz6',+ targetFieldId: 'r0xn8ef1b4t0870tqa9v4fotf',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '8o2znho6l03vnn5at8ipnq9t3',+ name: 'newsroom_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'xi6fn3mrizqvytop319qeq2m5',+ targetTableId: '7n14mt4xe1iunnez0bz80a9gm',+ sourceFieldId: 'hmhla6x7p1h5qhw6t7lt981e2',+ targetFieldId: 'r0xn8ef1b4t0870tqa9v4fotf',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '8ukjgnt7ruxdzi0elqsnk85p2',+ name: 'user_invites_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'clj1kqfqoxa5joaznyjc3o2s8',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 'i1gfxd8xfvloouw7k3a41h2fn',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '9gt084gyhw7i9aopbp6zqnbtz',+ name: 'follow_requests_follower_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'mis7zasgt55up8yv8zoyf3caz',+ targetTableId: 'gioe71lb3y0iwg5hshv23vu0d',+ sourceFieldId: 'j4ig4kgoasmqy8h1fyiuuy5ak',+ targetFieldId: '0505p3sqczrbgcszdgagyo5jk',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '9htt4j99ostp5bswud1vg8ifk',+ name: 'oauth_access_tokens_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'c3gmci64tbbrxr77mhf31s0nu',+ targetTableId: '7n14mt4xe1iunnez0bz80a9gm',+ sourceFieldId: '8csxkw3io5k8gthjjh23cx7jg',+ targetFieldId: 'r0xn8ef1b4t0870tqa9v4fotf',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '9pm5wiymdw22qqbl4ujmfzzqq',+ name: 'import_datas_job_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'it969m4ygwjn3zs55993mca3s',+ targetTableId: 'xjwrpoqdsu3xmfdt80wfjnim1',+ sourceFieldId: '1ttt02ugj8qilh38d0lqx0til',+ targetFieldId: 'ym292wzzo3w6thuzjve81ugt0',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'a0uak3mpsn9x31t8eosqxlcao',+ name: 'import_jobs_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: '7565kdfj912hp1bcizcg7lbe8',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 'f56lkdj9fqesow1hmr1xmec8c',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'aamsf0nwe55br3cpnsq7ugawb',+ name: 'direct_messages_status_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'l2nmnnkpmu2bymrkfk7r1pnnr',+ targetTableId: 'l24015t8kumdwei4jtn1b1ey9',+ sourceFieldId: 'vglhahja9ep708377ioidstli',+ targetFieldId: '329airdjoczcr8v8boshu83g4',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'b2fab6lrjhmmhz9m9yogaacao',+ name: 'discover_categories_media_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'bz4a75wz51cdavho5dyji3sqs',+ targetTableId: 'lje33vzflmclynecd1n8ouwav',+ sourceFieldId: 'qak5yd4a5oljdtkg8iht7r4bk',+ targetFieldId: 'ai7om1rvjwbeax1ts6k1tfqtj',+ sourceCardinality: 'one',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'd0sxjx65cjylfrc14furg929d',+ name: 'collection_items_collection_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'hcnn2i4vdnbufif2e007d2nvx',+ targetTableId: 'ko0rqta8vuxeoln6tazyu8w20',+ sourceFieldId: '7ev89n81spsn1js7iknhbmcqt',+ targetFieldId: '4bo9o6kr624kgjtcmjsjmrotu',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'd3zixfu8xp7oucxnr267wr9v2',+ name: 'users_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: '7n14mt4xe1iunnez0bz80a9gm',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 'kw1okdr3c7i9jkpvl2ybdcb5m',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'one',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'demga3qyyb7oeboyq4n7rfbam',+ name: 'status_hashtags_hashtag_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: '2k48rdn062doo3wzpufn4rn92',+ targetTableId: 'nitr8ityho1j97dto9ukpo2ee',+ sourceFieldId: 'lv4wqm690tspmwlwoiqvm8l7h',+ targetFieldId: 'kjksy6ej3k1kd825tzps15s3q',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'dhx63hbabqvqi7du17j6azbqx',+ name: 'email_verifications_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'ifznbj518boe9tuyazo15h6wi',+ targetTableId: '7n14mt4xe1iunnez0bz80a9gm',+ sourceFieldId: '749t82akcp7oybkryei4uutzy',+ targetFieldId: 'r0xn8ef1b4t0870tqa9v4fotf',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'efijegr3ddjgb87abiijqyr20',+ name: 'user_invites_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'clj1kqfqoxa5joaznyjc3o2s8',+ targetTableId: '7n14mt4xe1iunnez0bz80a9gm',+ sourceFieldId: 'yb6s0cyeaabvbtmui9lqc8yn2',+ targetFieldId: 'r0xn8ef1b4t0870tqa9v4fotf',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'eqopg1swbv5tl95ob1aqzjh18',+ name: 'report_comments_report_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: '4idcib9szjmx602bbq1ty4s7n',+ targetTableId: 'czp5vv25aq28hnh2ko3vyeyum',+ sourceFieldId: 'nmmwmrlqszzl5h2c6qvkyg6jd',+ targetFieldId: 'ymrd0mq46jekob62b4qb1hbbh',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'fb7nrig58ia1nju5ijgw4ccdm',+ name: 'discover_category_hashtags_hashtag_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'a5edkbajocdy1epmvdjuebx6h',+ targetTableId: 'nitr8ityho1j97dto9ukpo2ee',+ sourceFieldId: 'vxqan4amlria7bdbwccjy1ntc',+ targetFieldId: 'kjksy6ej3k1kd825tzps15s3q',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'ij26kv92892pactjoz7p3qk0b',+ name: 'sessions_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'xjqgxhodqk13un31kgegz63du',+ targetTableId: '7n14mt4xe1iunnez0bz80a9gm',+ sourceFieldId: 'zyi6uriyr1au3ho5jferamcu2',+ targetFieldId: 'r0xn8ef1b4t0870tqa9v4fotf',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'izzndnuf5cuczxd425ejq2qc5',+ name: 'user_settings_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'a7kj3ghywi0vbmm61nn42jgrb',+ targetTableId: '7n14mt4xe1iunnez0bz80a9gm',+ sourceFieldId: 'h3j0zpdu48znfx6hn1jfmz79g',+ targetFieldId: 'r0xn8ef1b4t0870tqa9v4fotf',+ sourceCardinality: 'one',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'jp1omwq6a4q1g5dq05hmne7gh',+ name: 'hashtag_follows_hashtag_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'ov96zdr5ku0t2zqr03sgubumn',+ targetTableId: 'nitr8ityho1j97dto9ukpo2ee',+ sourceFieldId: '7b11pj1falg1wpmg6t649av68',+ targetFieldId: 'kjksy6ej3k1kd825tzps15s3q',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'jw8tjmzeb1vg06ms3npbgmgkp',+ name: 'user_filters_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'cycnpxx91953gjt3ijpv8qrgx',+ targetTableId: '7n14mt4xe1iunnez0bz80a9gm',+ sourceFieldId: 'ecms3c8pjvz9tkn3wbdfpuuhf',+ targetFieldId: 'r0xn8ef1b4t0870tqa9v4fotf',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'jy6qoub2ukm58t7rnwq4oibx0',+ name: 'report_logs_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'ssvdpq9oa6mw4z9uyppbd2b4w',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: '2o9zp3wbj3cnbr4kryozr7fvy',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'k0uye7y0b3h84m31ph4oxk9hf',+ name: 'hashtag_follows_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'ov96zdr5ku0t2zqr03sgubumn',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 'ck7p6k1ybvle4pqdrnsi2a9tu',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'n6kc7vfe5re4qmoz5qhmg77jp',+ name: 'hashtag_follows_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'ov96zdr5ku0t2zqr03sgubumn',+ targetTableId: '7n14mt4xe1iunnez0bz80a9gm',+ sourceFieldId: 'mn03jxjd88r74q77aceea0jon',+ targetFieldId: 'r0xn8ef1b4t0870tqa9v4fotf',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'n7w9guxq7y4teofffnlf5ojpw',+ name: 'mentions_status_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'kjuowkf9bw1f2bk89b4tfgtb0',+ targetTableId: 'l24015t8kumdwei4jtn1b1ey9',+ sourceFieldId: 'g7rkislts0k0i6mualhs37out',+ targetFieldId: '329airdjoczcr8v8boshu83g4',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'nfcliou4agyguvsvl9ql3vqub',+ name: 'comments_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'wbscp6sk0ii67awjdbjb95zbo',+ targetTableId: '7n14mt4xe1iunnez0bz80a9gm',+ sourceFieldId: '75lta7hmk20vefx5cerf4zsg7',+ targetFieldId: 'r0xn8ef1b4t0870tqa9v4fotf',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'ngrznmwob6mj75tze5i5os6vr',+ name: 'oauth_refresh_tokens_access_token_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'a5uy3pye4chd8fgsjueall6s4',+ targetTableId: 'c3gmci64tbbrxr77mhf31s0nu',+ sourceFieldId: '6e76ijhk1etw8t9z0e33pz3dz',+ targetFieldId: 'lhdnkr4youxt35of3uiackqnm',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'nrl5qtvko3giokq065bwfb7bk',+ name: 'bookmarks_status_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 's87ez8fcx9gezivuesx4laowq',+ targetTableId: 'l24015t8kumdwei4jtn1b1ey9',+ sourceFieldId: '5narocluude7tm3box71rasw1',+ targetFieldId: '329airdjoczcr8v8boshu83g4',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'o0t2urzot8u8l6x8gnkhwx1gd',+ name: 'mentions_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'kjuowkf9bw1f2bk89b4tfgtb0',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 'pfm7t17aijvljhbkounlqygwa',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'ox507ild48fw5o0okka8687aw',+ name: 'report_comments_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: '4idcib9szjmx602bbq1ty4s7n',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 'wzecx9wrg2rpf5qd3z1fqeoag',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'p8ydssm2ot92wdt2zmh442tl3',+ name: 'status_hashtags_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: '2k48rdn062doo3wzpufn4rn92',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 'd9rbli2gaq1ztyymjphamqob0',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'q0as5c2p0b8ebrg4k3xaf7zcd',+ name: 'circle_profiles_circle_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'zdoltsz7hwpeuu3kmzxnj8f5r',+ targetTableId: '6dq04hznmrtuutrpc1qbwkxlr',+ sourceFieldId: 'd6n1n5nxdndwggik7hq0dg2o9',+ targetFieldId: 'axjsp5gelny78j0wfyugg030n',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'qtsayhvxe3m33zwlotd8lj1wl',+ name: 'media_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'lje33vzflmclynecd1n8ouwav',+ targetTableId: '7n14mt4xe1iunnez0bz80a9gm',+ sourceFieldId: '48tg96jnu5xi83loi4t8rc9ax',+ targetFieldId: 'r0xn8ef1b4t0870tqa9v4fotf',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'qvf26l14vx2lvycbj3bmi8rv5',+ name: 'likes_status_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'gn9o5w6irfirq1urqqfx2fvf6',+ targetTableId: 'l24015t8kumdwei4jtn1b1ey9',+ sourceFieldId: 'a23jbv5520lpua1n9018ikhx9',+ targetFieldId: '329airdjoczcr8v8boshu83g4',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 's2hlijj4bfhuwwp64367i0msv',+ name: 'media_status_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'lje33vzflmclynecd1n8ouwav',+ targetTableId: 'l24015t8kumdwei4jtn1b1ey9',+ sourceFieldId: '4sepx03hmo7wg9ym2bmsanjrc',+ targetFieldId: '329airdjoczcr8v8boshu83g4',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'swg8h80zha1ihr2iwxubwztpn',+ name: 'story_views_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'tkjfrpgsvzccopbrvl175i89c',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 'nsg4xuev850uu4mtpe4jo6xsm',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'sye016o39otbs4nkd2asmo52k',+ name: 'circles_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: '6dq04hznmrtuutrpc1qbwkxlr',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 'nsmkoj0z6zsyctv35cqqvb4p1',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 't9j0el4xtaxhmsld0l2qftyh0',+ name: 'collections_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'ko0rqta8vuxeoln6tazyu8w20',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 'vehryhqptpzg8yviohqf6mrpv',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'ua98flhx052z9mc56ywe9sw7h',+ name: 'discover_category_hashtags_discover_category_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'a5edkbajocdy1epmvdjuebx6h',+ targetTableId: 'bz4a75wz51cdavho5dyji3sqs',+ sourceFieldId: 'mawg4vnzetytewpev637ju0vs',+ targetFieldId: '575v7mb1ppvhivy4pcl2hiw73',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'ue4cn5x7gnm7iu0sy2yql1bu1',+ name: 'bookmarks_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 's87ez8fcx9gezivuesx4laowq',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 'mwzs8sjtw8lamemg62zyn69fx',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'urur0py9ufc968virv0var1m2',+ name: 'reports_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'czp5vv25aq28hnh2ko3vyeyum',+ targetTableId: '7n14mt4xe1iunnez0bz80a9gm',+ sourceFieldId: 'vvmvlixviirmdble3hh8jo98x',+ targetFieldId: 'r0xn8ef1b4t0870tqa9v4fotf',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'us4dyfw7g2dop97x2vgysv0o2',+ name: 'followers_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'gioe71lb3y0iwg5hshv23vu0d',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 'q44lhhmokah30t1syilkj1otm',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'vp1uimxipfjnsjj2ihzbcq287',+ name: 'circle_profiles_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'zdoltsz7hwpeuu3kmzxnj8f5r',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: 'fdthw59u8yyqx8ojy9b1o50jb',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'woygz6csrc3q3w5qb9ymdr0pg',+ name: 'status_hashtags_status_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: '2k48rdn062doo3wzpufn4rn92',+ targetTableId: 'l24015t8kumdwei4jtn1b1ey9',+ sourceFieldId: '52gky3ftxfhlr5nloz9sm04fa',+ targetFieldId: '329airdjoczcr8v8boshu83g4',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'xnyoiw4t2pxi0kkknbd3stfq8',+ name: 'comments_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'wbscp6sk0ii67awjdbjb95zbo',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: '0crzfdf3e2femlw4kkrdkncqc',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'yvcvkmv37xbt3irycmod30et7',+ name: 'account_logs_user_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: '7nx2kcrzl2k46t54lun1cokkg',+ targetTableId: '7n14mt4xe1iunnez0bz80a9gm',+ sourceFieldId: 'okqvkestthjbj6uysxbc8ifal',+ targetFieldId: 'r0xn8ef1b4t0870tqa9v4fotf',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'zc54ne53j9f34xjtt2enf1wvy',+ name: 'likes_profile_id_foreign',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'gn9o5w6irfirq1urqqfx2fvf6',+ targetTableId: '9zsuekfjkk70o36pnlqcoh4ot',+ sourceFieldId: '3rrmfk06cm6uhjhldot9vki0v',+ targetFieldId: '8dajoszgwucwqu3lvshp9ush5',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ ],+ dependencies: [],+ },+};diff --git a/src/templates-data/templates/polr-db.ts b/src/templates-data/templates/polr-db.tsnew file mode 100644index 00000000..b75c171b--- /dev/null+++ b/src/templates-data/templates/polr-db.ts@@ -0,0 +1,664 @@+import { DatabaseType } from '@/lib/domain/database-type';+import type { Template } from '../templates-data';+import image from '@/assets/templates/polr-db.png';+import imageDark from '@/assets/templates/polr-db-dark.png';++export const polrDb: Template = {+ slug: 'polr-database',+ name: 'Polr',+ shortDescription: 'PHP URL shortener',+ description:+ 'Self-hostable open-source link shortening web application with a robust API.',+ image,+ imageDark,+ tags: ['MySQL', 'Open Source', 'PHP'],+ featured: false,+ url: 'https://github.com/cydrobolt/polr',+ diagram: {+ id: 'polr_db',+ name: 'polr-database',+ createdAt: new Date(),+ updatedAt: new Date(),+ databaseType: DatabaseType.MYSQL,+ tables: [+ {+ id: '0lsdvj78zgegh2gz9uh7zmx66',+ name: 'clicks',+ schema: 't_polr_db',+ x: 500,+ y: 100,+ fields: [+ {+ id: 'kgtm6jaq58t2jkijb00algpc5',+ name: 'id',+ type: {+ id: 'int',+ name: 'int',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'wh79vs5is2p71qgwfm2q1xjd6',+ name: 'ip',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: 'gquejga8shuepyrmt7tg9ybx9',+ name: 'country',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: 'da9s0f5bt328v4p62ohs4nodh',+ name: 'referer',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: '5nkav4n7aj3235dx85c8boh66',+ name: 'referer_host',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: 'psglfcj4h46haqwp0ig9bg3gw',+ name: 'user_agent',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: 'keznm2av4y80x44f7txhecacu',+ name: 'link_id',+ type: {+ id: 'int',+ name: 'int',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '361nfo7h72n1os022uddktax9',+ name: 'created_at',+ type: {+ id: 'timestamp',+ name: 'timestamp',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'nuzr6cqsdhc3wkp1z7ss8oely',+ name: 'updated_at',+ type: {+ id: 'timestamp',+ name: 'timestamp',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'hk5badxmy74dlokbcr292mvek',+ name: 'PRIMARY',+ unique: true,+ fieldIds: ['kgtm6jaq58t2jkijb00algpc5'],+ createdAt: Date.now(),+ },+ {+ id: '4s1inmwhxoeckrcvpei7010tv',+ name: 'clicks_ip_index',+ unique: false,+ fieldIds: ['wh79vs5is2p71qgwfm2q1xjd6'],+ createdAt: Date.now(),+ },+ {+ id: '8hkgarsd8t0swl1decny3iocb',+ name: 'clicks_referer_host_index',+ unique: false,+ fieldIds: ['5nkav4n7aj3235dx85c8boh66'],+ createdAt: Date.now(),+ },+ {+ id: '5lajf33tjvpkth4e3x50qjxu9',+ name: 'clicks_link_id_index',+ unique: false,+ fieldIds: ['keznm2av4y80x44f7txhecacu'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff6b8a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'bdray3djsnbwxgo4cias5df53',+ name: 'users',+ schema: 't_polr_db',+ x: -300,+ y: 100.00000000000006,+ fields: [+ {+ id: 'rhzuv3cnea9bgbc21p6q77sa1',+ name: 'id',+ type: {+ id: 'int',+ name: 'int',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'oqakkn270xj3ous3s78ah3k2r',+ name: 'username',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: true,+ nullable: false,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: 'ehpqeqrcgf3lg3iyq9wkqr9ra',+ name: 'password',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: '32a9b1mna5kp2d4f4mekw630y',+ name: 'email',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: '94a91jb901wuon0vj1qpi5x3j',+ name: 'ip',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: '7fv223y9ir0pxkzot925ody5u',+ name: 'recovery_key',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: 'ezkw1dmmwrza1r9kwymzralln',+ name: 'role',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: 'nq8o8fhdensbp0khdiyby0dht',+ name: 'active',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: 'ax306dc8wfnisyz8idb1roafk',+ name: 'api_key',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: '36urcvljl56r2waz0l25zee40',+ name: 'api_active',+ type: {+ id: 'tinyint',+ name: 'tinyint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '9bogobkgyc2zx7dnfu7hojotq',+ name: 'api_quota',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: 'tlw0deqyvgz6iqk5j7oeux573',+ name: 'created_at',+ type: {+ id: 'timestamp',+ name: 'timestamp',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'jrr624v76oh62ipfuo4pzckzf',+ name: 'updated_at',+ type: {+ id: 'timestamp',+ name: 'timestamp',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '2rpset68mf77ydzr7pcpztadm',+ name: 'deleted_at',+ type: {+ id: 'timestamp',+ name: 'timestamp',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'jrh7z26izbn4b698wzgpjgys1',+ name: 'PRIMARY',+ unique: true,+ fieldIds: ['rhzuv3cnea9bgbc21p6q77sa1'],+ createdAt: Date.now(),+ },+ {+ id: 'oz2yv75k3gdg5jj0abijrmnzt',+ name: 'users_username_unique',+ unique: true,+ fieldIds: ['oqakkn270xj3ous3s78ah3k2r'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff6363',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'bwgql9vythfflx4mhj2og1cwe',+ name: 'links',+ schema: 't_polr_db',+ x: 100,+ y: 100,+ fields: [+ {+ id: 'xfjt5ngd1mvl6ybacn9fgvz3d',+ name: 'id',+ type: {+ id: 'int',+ name: 'int',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'lxbxvyd8eav2whky7nl1tjk4l',+ name: 'short_url',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: true,+ nullable: false,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: 'e15aklssal71awtclnll0vfw6',+ name: 'long_url',+ type: {+ id: 'longtext',+ name: 'longtext',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: 'vo9iouon6qb05j9bf3qob6fq0',+ name: 'ip',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: 'uvgsfa638u0onkfw6gidg6awl',+ name: 'creator',+ type: {+ id: 'int',+ name: 'int',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'qrbvgyp68h7snowl51i3d93az',+ name: 'clicks',+ type: {+ id: 'int',+ name: 'int',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'uxuvbw98fuet2ipq77rye955v',+ name: 'secret_key',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: 'onqgu3esoe9nzi2d3j59lqu3q',+ name: 'is_disabled',+ type: {+ id: 'tinyint',+ name: 'tinyint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '2ap7g6l9h6l68airaaf084dgd',+ name: 'is_custom',+ type: {+ id: 'tinyint',+ name: 'tinyint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'vthxy5bw4loh6gq8j85cmtglj',+ name: 'is_api',+ type: {+ id: 'tinyint',+ name: 'tinyint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '26n43hbv8cuvfrhrtlkmiqnoy',+ name: 'created_at',+ type: {+ id: 'timestamp',+ name: 'timestamp',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '1ovgh9c7jh2odcg4w1058jrmp',+ name: 'updated_at',+ type: {+ id: 'timestamp',+ name: 'timestamp',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '9betkha18wdkmnv74u7sxdddt',+ name: 'long_url_hash',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'jaddak8i90c0b91yr94tie4ti',+ name: 'PRIMARY',+ unique: true,+ fieldIds: ['xfjt5ngd1mvl6ybacn9fgvz3d'],+ createdAt: Date.now(),+ },+ {+ id: 'cx6mwimm49769z1x3i1y4va0v',+ name: 'links_short_url_unique',+ unique: true,+ fieldIds: ['lxbxvyd8eav2whky7nl1tjk4l'],+ createdAt: Date.now(),+ },+ {+ id: 'vcmbt3bmihkqwj02m9wnyduju',+ name: 'links_creator_is_api_created_at_index',+ unique: false,+ fieldIds: [+ 'uvgsfa638u0onkfw6gidg6awl',+ 'vthxy5bw4loh6gq8j85cmtglj',+ '26n43hbv8cuvfrhrtlkmiqnoy',+ ],+ createdAt: Date.now(),+ },+ {+ id: 'adp7jzvlcc6oqf5cl8pqoy5he',+ name: 'links_long_url_hash_index',+ unique: false,+ fieldIds: ['9betkha18wdkmnv74u7sxdddt'],+ createdAt: Date.now(),+ },+ ],+ color: '#8eb7ff',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'e4puc5depog884eji5fi2jux7',+ name: 'migrations',+ schema: 't_polr_db',+ x: 102.4822984244671,+ y: -103.44813484708065,+ fields: [+ {+ id: 'cem9o4nq35pkolhweoqao0lg1',+ name: 'migration',+ type: {+ id: 'varchar',+ name: 'varchar',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ collation: 'utf8mb4_0900_ai_ci',+ createdAt: Date.now(),+ },+ {+ id: 'eeq962lch0ycptc6h647rtdd4',+ name: 'batch',+ type: {+ id: 'int',+ name: 'int',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [],+ color: '#4dee8a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ ],+ relationships: [+ {+ id: 'jqd3pzdzgl37vdbj7tafsvu6p',+ name: 'links_creator_foreign',+ sourceSchema: 't_polr_db',+ targetSchema: 't_polr_db',+ sourceTableId: 'bwgql9vythfflx4mhj2og1cwe',+ targetTableId: 'bdray3djsnbwxgo4cias5df53',+ sourceFieldId: 'uvgsfa638u0onkfw6gidg6awl',+ targetFieldId: 'rhzuv3cnea9bgbc21p6q77sa1',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'm6tzl115376nbia481mnzsuym',+ name: 'clicks_link_id_foreign',+ sourceSchema: 't_polr_db',+ targetSchema: 't_polr_db',+ sourceTableId: '0lsdvj78zgegh2gz9uh7zmx66',+ targetTableId: 'bwgql9vythfflx4mhj2og1cwe',+ sourceFieldId: 'keznm2av4y80x44f7txhecacu',+ targetFieldId: 'xfjt5ngd1mvl6ybacn9fgvz3d',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ ],+ dependencies: [],+ },+};