Database diagrams editor that allows you to visualize and design your DB with a single query.
TypeScript databasedbdb-migrationeditorerdmariadbmssqlmysqlpostgresqlreactreact-flowschema-migrationssqlsqlitetypescriptvisualizationxyflow
import { DatabaseType } from '@/lib/domain/database-type';
import type { Template } from '../templates-data';
import image from '@/assets/templates/monica-db.png';
import imageDark from '@/assets/templates/monica-db-dark.png';
const now = Date.now();
export const monicaDb: Template = {
slug: 'monica-database',
name: 'Monica',
shortDescription: 'eCommerce framework',
description: 'Open Source eCommerce Framework on Symfony',
image,
imageDark,
tags: ['MySQL', 'Open Source', 'Laravel'],
featured: true,
url: 'https://github.com/monicahq/monica',
diagram: {
id: 'monica_db',
name: 'monica-database',
createdAt: new Date(),
updatedAt: new Date(),
databaseType: DatabaseType.MYSQL,
tables: [
{
id: '15fw27vmreg9035luh1f7mfea',
name: 'password_resets',
schema: 'monica',
x: 3700,
y: 2980,
fields: [
{
id: 'vl7k097k8m7gywafgh1h0lgor',
name: 'email',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'k8dkn697yh79rqxdad5k0q5aj',
name: 'token',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'j35fnp2l5fmpl0jj79fw624au',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: 'dqq25b460czpy8lqfsbgmwu2i',
name: 'password_resets_email_index',
unique: false,
fieldIds: ['vl7k097k8m7gywafgh1h0lgor'],
createdAt: now,
},
{
id: 'w8i03typ4thlo9e03spd5p4gw',
name: 'password_resets_token_index',
unique: false,
fieldIds: ['k8dkn697yh79rqxdad5k0q5aj'],
createdAt: now,
},
],
color: '#ff6b8a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '2ezsg10jkalrwhi8ayaumds82',
name: 'activities',
schema: 'monica',
x: 500,
y: 100,
fields: [
{
id: 'tia8kk26e9b9v4hcorfrqlq3p',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'a4zac86zcao3mm1uxh1qk5afm',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '5r68qw3eriwwycmy0r6zs5bct',
name: 'activity_type_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'hfoy7s3vn7932155zbs9jo3b1',
name: 'summary',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'oghn2gyqz7sii3i3lxqos10el',
name: 'description',
type: {
id: 'longtext',
name: 'longtext',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'kzvxf80coxwyj4u2d8kcbexae',
name: 'happened_at',
type: {
id: 'date',
name: 'date',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'xu5n8xgxarlwv2njcnk1eeode',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'h4tvox50ybi9jlspt3bg3i25g',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'x5d4la8z1ui0ld8tvupu4l5sa',
name: 'activities_account_id_foreign',
unique: false,
fieldIds: ['a4zac86zcao3mm1uxh1qk5afm'],
createdAt: now,
},
{
id: 'q200vcsub3ttkts0zybszl8ua',
name: 'activities_activity_type_id_foreign',
unique: false,
fieldIds: ['5r68qw3eriwwycmy0r6zs5bct'],
createdAt: now,
},
{
id: '6l5fqkl8zdp2ozjlwnfrfsvre',
name: 'PRIMARY',
unique: true,
fieldIds: ['tia8kk26e9b9v4hcorfrqlq3p'],
createdAt: now,
},
],
color: '#8eb7ff',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '2q104qgiobz1oddaodyjco5hd',
name: 'notes',
schema: 'monica',
x: -582.842712474619,
y: 953.5533905932739,
fields: [
{
id: 'xoc5e00bp88oiq5q6d2ztaoqb',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'bsu2uzn0g049h1ui3jekn8onz',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'vjbyi4csv28bsc3jdknjzc3r5',
name: 'contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'z1ovmer2o7u0v5bo9hooc3cer',
name: 'body',
type: {
id: 'mediumtext',
name: 'mediumtext',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'u7m60lhm50b3dk7rze1pis306',
name: 'is_favorited',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'qk2rbl2k2nlexc2c925o1ery3',
name: 'favorited_at',
type: {
id: 'date',
name: 'date',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '64vjo9czj5rfewnogsepn3i24',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'nysigzyc8jisc9ogmazff20w6',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'kpoxepxskvjxvw19eixdvo4nd',
name: 'notes_account_id_foreign',
unique: false,
fieldIds: ['bsu2uzn0g049h1ui3jekn8onz'],
createdAt: now,
},
{
id: '4vkq12urte0dje0zsudbsk3ub',
name: 'notes_contact_id_foreign',
unique: false,
fieldIds: ['vjbyi4csv28bsc3jdknjzc3r5'],
createdAt: now,
},
{
id: 'q9dk4r29ffe1xh8fft1pegbc3',
name: 'PRIMARY',
unique: true,
fieldIds: ['xoc5e00bp88oiq5q6d2ztaoqb'],
createdAt: now,
},
],
color: '#8eb7ff',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '396ft1lfmydo80dcs78azy4fy',
name: 'emotion_call',
schema: 'monica',
x: 903.9480412679006,
y: 1592.462120245875,
fields: [
{
id: 'vuxkz7md5a20asbi05khrtf9a',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'ppr2b354vipaec3nsgzt3b404',
name: 'call_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '7l5xv1w0akv4yw1s33wz823zo',
name: 'emotion_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'ov48v2tjgj8ylp7cjszifxip7',
name: 'contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '5kbflwd4se7ksoksr921s64pq',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '4urtgurgkzk8ty5vbs69j5hr1',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: '11vjur9e0zap3iw7xwtikpxs5',
name: 'emotion_call_account_id_foreign',
unique: false,
fieldIds: ['vuxkz7md5a20asbi05khrtf9a'],
createdAt: now,
},
{
id: 'szv74c63qwyr8q8znlpi5st3d',
name: 'emotion_call_call_id_foreign',
unique: false,
fieldIds: ['ppr2b354vipaec3nsgzt3b404'],
createdAt: now,
},
{
id: 'p4aijxuohrllk10sj6e1e4nmk',
name: 'emotion_call_contact_id_foreign',
unique: false,
fieldIds: ['ov48v2tjgj8ylp7cjszifxip7'],
createdAt: now,
},
{
id: 'vseo5vzow7ompqfqt8gh6q500',
name: 'emotion_call_emotion_id_foreign',
unique: false,
fieldIds: ['7l5xv1w0akv4yw1s33wz823zo'],
createdAt: now,
},
],
color: '#7175fa',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '3lnrdvcntaz8c7uy93xkntkz7',
name: 'days',
schema: 'monica',
x: 1989.9711648727293,
y: 211.26046697815718,
fields: [
{
id: 'bgd6inatg18wlhhfpj189lnoq',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'j66m88x9mgy8jitlcryi9te8c',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '3zh9a7exjcpysdra042bjfif9',
name: 'date',
type: {
id: 'date',
name: 'date',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'ic0c2lpoekaatlo7w1wzx5fzx',
name: 'rate',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'z9edwjv843urvdjnjiercoej5',
name: 'comment',
type: {
id: 'mediumtext',
name: 'mediumtext',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'pd11x9bbby63qoacz9dfmpbzq',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'okimr3uyupbi7ccccz8vcdgll',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'x6elpq536isk6xjjvjq96b6ha',
name: 'days_account_id_foreign',
unique: false,
fieldIds: ['j66m88x9mgy8jitlcryi9te8c'],
createdAt: now,
},
{
id: 'e5yy5uv92i77g8nbp58snq1wb',
name: 'PRIMARY',
unique: true,
fieldIds: ['bgd6inatg18wlhhfpj189lnoq'],
createdAt: now,
},
],
color: '#8a61f5',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '4r0ee44ymz2byvjoxgvg8miz2',
name: 'life_event_categories',
schema: 'monica',
x: -204.5941546018392,
y: 78.41854729038045,
fields: [
{
id: 'ferud2z75087tvlug15r2if23',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '5nuk7gu548xg6tbb776h44l8a',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'x8yf39tdm3zyrxecrteru78ey',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '4br36u6zk1djc27b4b763jl7q',
name: 'default_life_event_category_key',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '7su8ez6j1neup7o2hz4fe0zce',
name: 'core_monica_data',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'cy9g3o0pl0t4mwh79cmzq2aed',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '3jnw7qnhdxrh3q306bnder4sh',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: '6lumx1l1wxbctcgxgnbdj6tlk',
name: 'life_event_categories_account_id_foreign',
unique: false,
fieldIds: ['5nuk7gu548xg6tbb776h44l8a'],
createdAt: now,
},
{
id: 'zlvphw2ug5qg9d2g3549z2usa',
name: 'PRIMARY',
unique: true,
fieldIds: ['ferud2z75087tvlug15r2if23'],
createdAt: now,
},
],
color: '#ffe374',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '5kxrtubks9js1ykc2gxpr5dk5',
name: 'default_contact_field_types',
schema: 'monica',
x: 4100,
y: 1980,
fields: [
{
id: '9ryn84ijcuf5s7rmkzd05a0lv',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'le0c5hb8bz8499by81mw1keb7',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'lhv70ztmpwmzh5h2xa8638w1w',
name: 'fontawesome_icon',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '9q53hr4kwxoqipha0p0jb3986',
name: 'protocol',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'almtc5ydc34s6m1621h3x1539',
name: 'migrated',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'o3dz040gr77leksatne3o6iql',
name: 'delible',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'oatn18pb3cxpoytq8cficsifw',
name: 'type',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '2r6cpbzc03tqvrjn4gcfa0h4q',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'him6533gltf1d3gf8r0ou0kei',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 't7iu1w51uw7s7mt93cndsnuw6',
name: 'PRIMARY',
unique: true,
fieldIds: ['9ryn84ijcuf5s7rmkzd05a0lv'],
createdAt: now,
},
],
color: '#7175fa',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '5wwnk3epibvkzkkzdqyaxefoo',
name: 'contact_field_contact_field_label',
schema: 'monica',
x: 2086.3703305156273,
y: 1529.4095225512604,
fields: [
{
id: 'z79xy5gxh8nw9r47y3x7fe0a9',
name: 'contact_field_label_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'pidj0sc6a7s29rptq4vj6blm3',
name: 'contact_field_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'fz3oco83w55d17g2wxfbh5cp6',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: 'lo4oitmdivce35te8g47fjc10',
name: 'contact_field_contact_field_label_account_id_foreign',
unique: false,
fieldIds: ['fz3oco83w55d17g2wxfbh5cp6'],
createdAt: now,
},
{
id: '6uapt1h6ptscufhyhjf3s2oqj',
name: 'contact_field_contact_field_label_contact_field_id_foreign',
unique: false,
fieldIds: ['pidj0sc6a7s29rptq4vj6blm3'],
createdAt: now,
},
{
id: 'l1nncuqnm4jhamgxnnuevx5hx',
name: 'contact_field_contact_field_label_contact_field_label_id_foreign',
unique: false,
fieldIds: ['z79xy5gxh8nw9r47y3x7fe0a9'],
createdAt: now,
},
],
color: '#ff6363',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '5zymo5zxmgtgrrkqkwbiasify',
name: 'contacts',
schema: 'monica',
x: 900,
y: 600,
fields: [
{
id: '5ard00pebx3iqnsw5ii6lnf58',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'soerzddcnf26irapg40tbi93w',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '033a4k4c4y7ofhoemgff8m3m8',
name: 'first_name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'q5cp5box3kuudmbocx78qvkxd',
name: 'middle_name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'gjqzhfpp0hc3s6fnz9yfordkn',
name: 'last_name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '400kqkevi9vmxvy3fh5d75lu5',
name: 'nickname',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'cb964v1v9n2mtgy8njwvtwwnu',
name: 'gender_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '9kfrn75uupm38kr4v9cohh46q',
name: 'description',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'lbbd3zuj28jtmv1lw4yxhty53',
name: 'uuid',
type: {
id: 'char',
name: 'char',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'bymxdfpbdj8gnoheyd6nf9prb',
name: 'is_starred',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'jww0tidibeh6lv70jq1rgrezf',
name: 'is_partial',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '3p63sk9nu27jzm5b79fruf6eo',
name: 'is_active',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '4kksyagv5g3oqz3l6gzgvm3b7',
name: 'is_dead',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'a7brrc6kd3fqqvdrgtrrfgfgo',
name: 'deceased_special_date_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'xddtzwmjqeiqyul6hm1ak07fo',
name: 'deceased_reminder_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '3egclsil02dhlvps8v0jv2jej',
name: 'last_talked_to',
type: {
id: 'date',
name: 'date',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '9u6hhtxp75wh64uxdldvm1eto',
name: 'stay_in_touch_frequency',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '69ixk2cjlmkyawkdw0gnb9yff',
name: 'stay_in_touch_trigger_date',
type: {
id: 'datetime',
name: 'datetime',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'u1dl26xjhg83or6e90ucngf46',
name: 'birthday_special_date_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'cdcselurv2gfg07t8evhxqc9l',
name: 'birthday_reminder_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '1trjw7bjakmdqyzc2uezrr8ai',
name: 'first_met_through_contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'kngraetgrt0ptocs7f819m2h3',
name: 'first_met_special_date_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '125ih5jwpnokpo0mk3wrg7xbi',
name: 'first_met_reminder_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'llt48hmll9qbvof1xblwrlzfi',
name: 'first_met_where',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '0v9jre4ysiuca6vgslxc54gwo',
name: 'first_met_additional_info',
type: {
id: 'longtext',
name: 'longtext',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '5yfaa5t2orwg29fg9ffm0sgcx',
name: 'job',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'yfj60h1jf7dn494449piwzl5i',
name: 'company',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'i7rh4m3opejen2fp3jc4nh6lo',
name: 'food_preferences',
type: {
id: 'longtext',
name: 'longtext',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'mls5uvkjoqo2y1tdboes4iof4',
name: 'avatar_source',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'a3gkwx7yr2tyrw5iuh8zk7j7g',
name: 'avatar_gravatar_url',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'saup6bra19gaum9qjdj4cv2t5',
name: 'avatar_adorable_uuid',
type: {
id: 'char',
name: 'char',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'cgatsunxax16xd66h4cpq32uu',
name: 'avatar_adorable_url',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '69w2p5330pqzmeb53o4rgm40b',
name: 'avatar_default_url',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '3q55ij53957xef1ujse9wydnv',
name: 'avatar_photo_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '2btw8aot3r2pfn12x1ow4ngaw',
name: 'has_avatar',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '5gtnjf7pwyxse75vqgnem7uho',
name: 'avatar_external_url',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'u652xhswm1bzvn7l7toiia29x',
name: 'avatar_file_name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '5y56etmcb3abtprmswj4lprdi',
name: 'avatar_location',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '45a9khdgks4ntmc0v80g68eye',
name: 'gravatar_url',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '4jrtar9h56rog7ke3q83xln96',
name: 'last_consulted_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'al11eozs2r54j8jrx8b8rt57r',
name: 'number_of_views',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'v06idcofvvq6et9lh3ymqf48x',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'fwvvujvv3xlgo9ptdiz234sw0',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'slucyfg5yiep7wfdes6az3jkd',
name: 'default_avatar_color',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'v1fglk8a9eerkd0adwub0w7ag',
name: 'has_avatar_bool',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: 'qrbyl58dov3r2db69bvseuzc4',
name: 'contacts_account_id_foreign',
unique: false,
fieldIds: ['soerzddcnf26irapg40tbi93w'],
createdAt: now,
},
{
id: '7cs9yb0tup3k5q5jogiwgutao',
name: 'contacts_gender_id_foreign',
unique: false,
fieldIds: ['cb964v1v9n2mtgy8njwvtwwnu'],
createdAt: now,
},
{
id: 'lff8mw7hgat2m6f6vsxlhxxtv',
name: 'PRIMARY',
unique: true,
fieldIds: ['5ard00pebx3iqnsw5ii6lnf58'],
createdAt: now,
},
],
color: '#9ef07a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '6ckwqmssuxo5pukhszmhnigcw',
name: 'subscriptions',
schema: 'monica',
x: -1029.462302570274,
y: 1869.7739645477825,
fields: [
{
id: 'bklihe77p7kzbocn0ncv0oqfc',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'gnz23buvh2hw42665xnt3tzqq',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'r0ci8dsm3dlz251ufs9lpoict',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'ea7fik7iqlxwgz6ajaqt7ip6j',
name: 'stripe_id',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '6rxe88nn1jwaa75bv14kz0g0q',
name: 'stripe_status',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'ia02qji6xrzp4gqu8kxba0p1t',
name: 'stripe_plan',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '8vdg0hz31rh1698kkefzqd7jd',
name: 'quantity',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '3k7y56xx8hcecc7bxsa6uff26',
name: 'trial_ends_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'o6m15o260nts6o9oii5x0y1yj',
name: 'ends_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'xiuel8i4ibl3x6nlt9tum7ufm',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '1gh22p5h5o1k41nta1sg1ybzq',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'wf3d03zchnfu6s94uu2jb0s9j',
name: 'PRIMARY',
unique: true,
fieldIds: ['bklihe77p7kzbocn0ncv0oqfc'],
createdAt: now,
},
{
id: '044fsngbu4kk7b58ly15uft5d',
name: 'subscriptions_account_id_stripe_status_index',
unique: false,
fieldIds: [
'gnz23buvh2hw42665xnt3tzqq',
'6rxe88nn1jwaa75bv14kz0g0q',
],
createdAt: now,
},
],
color: '#c05dcf',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '6gieut3obexstlaejy6bd771a',
name: 'default_life_event_types',
schema: 'monica',
x: 2920,
y: 70,
fields: [
{
id: 'hgzod87rxnot1m2p6yqwn2l7b',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'cgo6sn5w97tenkwcmjehxxs6z',
name: 'default_life_event_category_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '069se8b2yje3am2s14ar2hcja',
name: 'translation_key',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'buxo2yzf8funhx1x36dnfg471',
name: 'specific_information_structure',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'mfdaogx6fu52etwev4b9mj59p',
name: 'migrated',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'nmccbpljao3tpyvrqr4z53auf',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'oepymam3lxukzjr73gcyp4v8u',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'vw8m8xmji8vkdb9swthawds8x',
name: 'default_life_event_types_default_life_event_category_id_foreign',
unique: false,
fieldIds: ['cgo6sn5w97tenkwcmjehxxs6z'],
createdAt: now,
},
{
id: '334zhdlqtiknkd61izdof00jz',
name: 'PRIMARY',
unique: true,
fieldIds: ['hgzod87rxnot1m2p6yqwn2l7b'],
createdAt: now,
},
],
color: '#ff6363',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '72nldbxqzpy0y4kt9m2uqjzt7',
name: 'contact_field_labels',
schema: 'monica',
x: 1686.3703305156273,
y: 1529.4095225512604,
fields: [
{
id: '3q8p199pmsnejefeyei0rqpgd',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'vq2ffoha5zrxpcc6wipuvp5jg',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'cprc0tk3jp33chqqjj1tci5ss',
name: 'label_i18n',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'rk9js6cukq6ojys9s6a2jw1im',
name: 'label',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'jybcvbkc34uh5su1riylrvxug',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'qjb7kxwcddjykvxf9z66zjqbv',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'xlx8fskbbmkd3gu4k7t8530wr',
name: 'contact_field_labels_account_id_foreign',
unique: false,
fieldIds: ['vq2ffoha5zrxpcc6wipuvp5jg'],
createdAt: now,
},
{
id: '9kv93t4nv4y8x9vzepkwyhi3i',
name: 'PRIMARY',
unique: true,
fieldIds: ['3q8p199pmsnejefeyei0rqpgd'],
createdAt: now,
},
],
color: '#4dee8a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '7c3dssh64ud193zx0nqehadzz',
name: 'default_relationship_type_groups',
schema: 'monica',
x: 2500,
y: 2480,
fields: [
{
id: 'fsftyhrbzqemzdoh8olm3sc7j',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '4wca5fr6gauf3hxuueb6noci7',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'ygze1772v3ovwpmslvvh8cee1',
name: 'delible',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'be19jra9y97ryj4toxlf5r582',
name: 'migrated',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 't4o4uhiq29h2b8epomvyx19f2',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '52ma5mcma1mk3vlh68vrzjwpw',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'bppk9q52gax8ovlwgosioaplf',
name: 'PRIMARY',
unique: true,
fieldIds: ['fsftyhrbzqemzdoh8olm3sc7j'],
createdAt: now,
},
],
color: '#c05dcf',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '7vlenb916r3luci2iarw2vtoc',
name: 'calls',
schema: 'monica',
x: 928.2121099798293,
y: 1168.1980515339465,
fields: [
{
id: 'vjvoyxmdu80zas55129mp5nuu',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '4674rihcot3g1ltn5p97tjsr9',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '4ugbp497kcoij5r792nfmhebz',
name: 'contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'mdy0b04vxwj56oga86fnh66iy',
name: 'called_at',
type: {
id: 'datetime',
name: 'datetime',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '43lgeywennm8qaq36a8intipn',
name: 'content',
type: {
id: 'mediumtext',
name: 'mediumtext',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'zcb8bajrjnryavxu2du4d8z13',
name: 'contact_called',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'dx42jjfns343981xck1d9i22o',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'xlf9anbzmyj9izvs6aa6rgqhs',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'sev3kzw1udmco0mq4cup877gr',
name: 'calls_account_id_foreign',
unique: false,
fieldIds: ['4674rihcot3g1ltn5p97tjsr9'],
createdAt: now,
},
{
id: 'li3tz64v524ioib8rc697uhhe',
name: 'calls_contact_id_foreign',
unique: false,
fieldIds: ['4ugbp497kcoij5r792nfmhebz'],
createdAt: now,
},
{
id: 'go9qbecz39e7x0tfrzewgezfu',
name: 'PRIMARY',
unique: true,
fieldIds: ['vjvoyxmdu80zas55129mp5nuu'],
createdAt: now,
},
],
color: '#ff6b8a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '80scipcg0bsxbikhzdm0zhdfb',
name: 'synctoken',
schema: 'monica',
x: 562.4634889936173,
y: 3256.8727610510236,
fields: [
{
id: '2xtb4s6j4q6abbvlhg265xejk',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'lzmvfcvvm4bpbytkolbfjzjev',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'qdhjdlyqzxvgxy78db8rgxp7s',
name: 'user_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'epr1fcf0xa3aika7whf9wanh0',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '3qpr9nvh3y7i1a1was6kwv3j9',
name: 'timestamp',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'hxaip4n2bvd5p18c5pb9gdsl8',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'j2b9ms7pfrwdpaiya70vcrixh',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'p434601tengue4caiqnom30do',
name: 'PRIMARY',
unique: true,
fieldIds: ['2xtb4s6j4q6abbvlhg265xejk'],
createdAt: now,
},
{
id: 'eppl4nvv3iylk6k2ql9tecoql',
name: 'synctoken_account_id_user_id_name_index',
unique: false,
fieldIds: [
'lzmvfcvvm4bpbytkolbfjzjev',
'qdhjdlyqzxvgxy78db8rgxp7s',
'epr1fcf0xa3aika7whf9wanh0',
],
createdAt: now,
},
{
id: 'la7q92co3nmh990rwkqjg46px',
name: 'synctoken_user_id_foreign',
unique: false,
fieldIds: ['qdhjdlyqzxvgxy78db8rgxp7s'],
createdAt: now,
},
],
color: '#8a61f5',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '8a3brjk6l866tiavvdglp4bs3',
name: 'contact_field_types',
schema: 'monica',
x: 2886.3703305156273,
y: 1529.4095225512604,
fields: [
{
id: 'in9u161q6g99u7ypn4oi60jvu',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'ksxd2bxizb8zsk2xbz7lhu12a',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'enz70w7vx08wtrc40ym22x815',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'bg41ety0551s04s0cpe2rk4j4',
name: 'fontawesome_icon',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'yq6xhpu7i8po5jtph6bd7v3mo',
name: 'protocol',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'lf3ckwxv8uye3ifpj8z74uj6c',
name: 'delible',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'g0ce01zs950qrnc8jvwiu35u3',
name: 'type',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'aqo0ubj0cce2082o46nftz957',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '9m6jkirsbwgs5hgl2a4ff7va0',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'q4tw4si3eojcmwx63kjjf2p84',
name: 'contact_field_types_account_id_foreign',
unique: false,
fieldIds: ['ksxd2bxizb8zsk2xbz7lhu12a'],
createdAt: now,
},
{
id: 'swxxgkix2j2lza947rc7blryb',
name: 'PRIMARY',
unique: true,
fieldIds: ['in9u161q6g99u7ypn4oi60jvu'],
createdAt: now,
},
],
color: '#ff6363',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '8c4tpzrkawbn3gxzitujv957g',
name: 'companies',
schema: 'monica',
x: 953.5898384862243,
y: -350,
fields: [
{
id: 'mu4sqikzntlayjrybqtuewwqk',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '5s0ugqb9r1367d9uqauh0wm2i',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'mb452k986xut8aennlo962t5q',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'tmrrdpr5ueln2uwx28n6spuxj',
name: 'website',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'xfbn7ag38qkwdu5jyj49ta6yr',
name: 'number_of_employees',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'o87mb2tafpk9p5o3c0ytbh4bt',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '5sxl8j6n9bzy9qim4vbaxwcrt',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'e7i1gpk3mvy6qab5zeyymyjjk',
name: 'companies_account_id_foreign',
unique: false,
fieldIds: ['5s0ugqb9r1367d9uqauh0wm2i'],
createdAt: now,
},
{
id: 'zgjt8cfckcgzj2j0ibrrh5pcz',
name: 'PRIMARY',
unique: true,
fieldIds: ['mu4sqikzntlayjrybqtuewwqk'],
createdAt: now,
},
],
color: '#42e0c0',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '8ole580zqnbz8lug0j80mg8lk',
name: 'contact_tag',
schema: 'monica',
x: 103.5276180410084,
y: 1082.962913144534,
fields: [
{
id: 'rlv90f47sy4zy5ae2of78bpb1',
name: 'contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '4lg3vu67ijtsbmgignvxr670d',
name: 'tag_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'pdndw584o9m2irhx12s1tlfqv',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'ygb5iwx3mqyhgbw2u2iqopmbi',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'f0t2esggmf2yr04awjshnafyd',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'se0ku3x3cbqwwb74upg0eofqf',
name: 'contact_tag_account_id_foreign',
unique: false,
fieldIds: ['pdndw584o9m2irhx12s1tlfqv'],
createdAt: now,
},
{
id: '1fzph2pt9kobu6k8ku6k4u0y4',
name: 'contact_tag_contact_id_foreign',
unique: false,
fieldIds: ['rlv90f47sy4zy5ae2of78bpb1'],
createdAt: now,
},
{
id: 'l06jprov3mwwvf5rli3zlx1wn',
name: 'contact_tag_tag_id_foreign',
unique: false,
fieldIds: ['4lg3vu67ijtsbmgignvxr670d'],
createdAt: now,
},
],
color: '#ff6363',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '99z4uctn294hxu8samhg8n7ld',
name: 'default_life_event_categories',
schema: 'monica',
x: 2520,
y: 70,
fields: [
{
id: 'y4nxorebma31zhd358a26yuta',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'y3db64aenff5ufjh2bppp9gri',
name: 'translation_key',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '3huk2v3j1gyh3sqzrc1hgkp4u',
name: 'migrated',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'indo5smnppiihf22x9m730fy5',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '3p7wwn8go2789rxutztt2uzl2',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'tn0ntsr00h5r5ez4rm2n0r0sz',
name: 'PRIMARY',
unique: true,
fieldIds: ['y4nxorebma31zhd358a26yuta'],
createdAt: now,
},
],
color: '#9ef07a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '9cpfcw2cbix4uwoodhijc1q2o',
name: 'currencies',
schema: 'monica',
x: 163.60389693210732,
y: 2557.2767706041477,
fields: [
{
id: 'tykv7fbsf9y5mi87syl4jpekb',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'hu4ncrvgzh9qf0l5uqvcmnr0f',
name: 'iso',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'fk8n43u2b7wwt4ufcnjevzqwn',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'r0fs0d64rf66kuvsummkvshix',
name: 'symbol',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '9e4hus6feg70lbfh8lzg95a69',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'dbpflcg9lj6bcezvl3et3ed6l',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'b3ardv4oegl4xm8dxnn8v6toe',
name: 'PRIMARY',
unique: true,
fieldIds: ['tykv7fbsf9y5mi87syl4jpekb'],
createdAt: now,
},
],
color: '#ff6363',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: '9p3bouxe8r8a59iue63kdsqlk',
name: 'crons',
schema: 'monica',
x: 3700,
y: 1980,
fields: [
{
id: 'bbdnf2y1slo2y1om1oa0g415z',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'xq7i7304hre1udndehr5wc31j',
name: 'command',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: true,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'e2doiror2y9cmgsv2remna4kk',
name: 'last_run',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'bt56vgtt0reiymo9yiia6zbju',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '5cz9usom68yf1uitj3642dx6f',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'x5f5jbb2alwstvn34kq0co78p',
name: 'crons_command_unique',
unique: true,
fieldIds: ['xq7i7304hre1udndehr5wc31j'],
createdAt: now,
},
{
id: 'f3j9l9os5wvu73djjp7nr1zok',
name: 'PRIMARY',
unique: true,
fieldIds: ['bbdnf2y1slo2y1om1oa0g415z'],
createdAt: now,
},
],
color: '#ff6363',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'a85c08byvmlhcgmj9i6nbxgy8',
name: 'tasks',
schema: 'monica',
x: 553.5898384862244,
y: -850.0000000000002,
fields: [
{
id: 'hvkxcvlosy8ydumgo5y1i62sf',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'b999yh9gmf8zfucdzhytepg5e',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '6ognnzzm1zycguq35ldrzp40w',
name: 'contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'jndigubl4ayl4983ji1qfqm0l',
name: 'uuid',
type: {
id: 'char',
name: 'char',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'a3sv8yhrgqp5v7t9bublgqq9f',
name: 'title',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'qimu0uipte1ke6nyg6hopgugm',
name: 'description',
type: {
id: 'longtext',
name: 'longtext',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '679mkuynwezlokegyvyaxs3dz',
name: 'completed',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'taj7at7yuw2qdq1ib5pp3xoxa',
name: 'completed_at',
type: {
id: 'datetime',
name: 'datetime',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '4n96oh0p5rwt91iemkzoteofp',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'dnbkp5fxg807h079pb3rxz50e',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'q4z072fxv2a48n85klr06ag84',
name: 'PRIMARY',
unique: true,
fieldIds: ['hvkxcvlosy8ydumgo5y1i62sf'],
createdAt: now,
},
{
id: 'o3p899m95ja1w6ljtff4f2b3r',
name: 'tasks_account_id_uuid_index',
unique: false,
fieldIds: [
'b999yh9gmf8zfucdzhytepg5e',
'jndigubl4ayl4983ji1qfqm0l',
],
createdAt: now,
},
{
id: 'nrk88vgl0fymxy4rheobi916l',
name: 'tasks_contact_id_foreign',
unique: false,
fieldIds: ['6ognnzzm1zycguq35ldrzp40w'],
createdAt: now,
},
],
color: '#ff9f74',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'adrrm3yigiokzfkno5qohe1e1',
name: 'emotions',
schema: 'monica',
x: 1303.9480412679006,
y: 2042.462120245875,
fields: [
{
id: 'oa9re4z1nysdbv1jr71l7y5kg',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'qt4t1s7wepb4hxzp14v62m5mc',
name: 'emotion_primary_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'vza1gtra7jhx0ofhrzj30pg6x',
name: 'emotion_secondary_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'whdqhqgq17lkpsti7cqo9fjn2',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'rzs8wc66d8ammdkoj9m8rv0vx',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'q56v7eztv8aib8g4qgguipkk5',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'cxketkx3gmzzd6meobrnnjyso',
name: 'PRIMARY',
unique: true,
fieldIds: ['oa9re4z1nysdbv1jr71l7y5kg'],
createdAt: now,
},
],
color: '#ffe374',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'ao8sgnsn49zu3qrru6u0wzvua',
name: 'u2f_key',
schema: 'monica',
x: 185.01829823719333,
y: 3092.4166916968734,
fields: [
{
id: '4wzmo7x6ignt2od6i5cyk0djm',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'cx1unjdcv1ha1ylvk5m3ambwf',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'ltmw6291503sg62gxslmnwf47',
name: 'user_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '5roiowhmaukds0o78rex2sa70',
name: 'keyHandle',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'q93d9ihgxs6e88x380irrxr1a',
name: 'publicKey',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: true,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'a9448n1k15zxs7oa91yd9p95x',
name: 'certificate',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'w0y5b0ufqjqxzhlb5fk5hglhi',
name: 'counter',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'z2sju40omwzh9n46jd9g2zlo9',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'chm8yfmsi3zru1nw7toy6zh83',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'vm8jwd484v6fqn1ajfcicl6of',
name: 'PRIMARY',
unique: true,
fieldIds: ['4wzmo7x6ignt2od6i5cyk0djm'],
createdAt: now,
},
{
id: 'ed8h21mbv29ouoildwnhpsqyo',
name: 'u2f_key_publickey_unique',
unique: true,
fieldIds: ['q93d9ihgxs6e88x380irrxr1a'],
createdAt: now,
},
{
id: 'pj6gq8ghsp6luvh62p81qd4rw',
name: 'u2f_key_user_id_foreign',
unique: false,
fieldIds: ['ltmw6291503sg62gxslmnwf47'],
createdAt: now,
},
],
color: '#ff6363',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'at09s8opo3f0xbgf5c4cqymgl',
name: 'oauth_refresh_tokens',
schema: 'monica',
x: 3300,
y: 2980,
fields: [
{
id: 'zouo1tqongc65epjroito1hni',
name: 'id',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: true,
unique: true,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'tv5855t3ux31dvcu1brgldkgm',
name: 'access_token_id',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '3434ixkxexouy3botstmm7voj',
name: 'revoked',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'ee9r05nebwxcndthocw9q5s1f',
name: 'expires_at',
type: {
id: 'datetime',
name: 'datetime',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: '5l9eld2qxm19pl30ptx54uuqc',
name: 'PRIMARY',
unique: true,
fieldIds: ['zouo1tqongc65epjroito1hni'],
createdAt: now,
},
],
color: '#ff6363',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'aufbk0zunowqnxqvlztn1mk14',
name: 'audit_logs',
schema: 'monica',
x: -457.10927064454233,
y: -798.6119165501851,
fields: [
{
id: 'pckm7on5iqjyow2hr9pdzwqx0',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'acspdu1rfs88eddhya4gwp959',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'mxzk5auumd9qr9d7g02140wml',
name: 'author_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '44737gq4katbk3vwl7o2pvig6',
name: 'about_contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'po1nkvdberkard2cv1p28tsp9',
name: 'author_name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'qo8aglm1nzx8plrnzfcnjbwcq',
name: 'action',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'wid6zoq32maqtg3jnow9bg28p',
name: 'objects',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'k0vgsjbw3l0gw5hk155c9b7wk',
name: 'audited_at',
type: {
id: 'datetime',
name: 'datetime',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '92u2be0ixcyzxj7e131dl68gy',
name: 'should_appear_on_dashboard',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'f05x6x3rz6ppropy9e3bszis9',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'ggqtclij5jq7xso0p6ruxegj3',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: '2fl83ian609esbvh2premjupd',
name: 'audit_logs_account_id_foreign',
unique: false,
fieldIds: ['acspdu1rfs88eddhya4gwp959'],
createdAt: now,
},
{
id: 'nw0e2xshk1xylnlifcma3w70k',
name: 'PRIMARY',
unique: true,
fieldIds: ['pckm7on5iqjyow2hr9pdzwqx0'],
createdAt: now,
},
],
color: '#4dee8a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'c9g84zb1ubirudws38xjhu1f4',
name: 'pet_categories',
schema: 'monica',
x: -586.3703305156273,
y: 429.4095225512606,
fields: [
{
id: '3nh1ditvxlz5b74dy3wh0j73e',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '3kd7wv9jg7dgae8097j1078dm',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'bunvh97r4ecwl2xdt5219eoik',
name: 'is_common',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'fb554q3jly07fueaaw2gelxf5',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'zjeubsqmoesfbibtpqxxb5fjy',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'o7l2scxy6z0guv0hycyc0xap7',
name: 'PRIMARY',
unique: true,
fieldIds: ['3nh1ditvxlz5b74dy3wh0j73e'],
createdAt: now,
},
],
color: '#c05dcf',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'cnf5s04umrp46wp3ocvotvnc7',
name: 'oauth_clients',
schema: 'monica',
x: 2500,
y: 2980,
fields: [
{
id: 'b77wiuuci14wux1nk138m0sns',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'umw6lwlm3vyj2y1fu6bsibiqe',
name: 'user_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'af46f8o0gbefet2srbkn7odq2',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '7opto4dqhqj8d6nmf1baw9k30',
name: 'secret',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'y5v58lom71q179gu71263mecq',
name: 'redirect',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '82c96ss1nm6r2lqhy5dos69lu',
name: 'personal_access_client',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '14nwi2j7h12p3x084i6w75sdh',
name: 'password_client',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'q0ux82t9jzleu06p0xd0hmlzh',
name: 'revoked',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'wh3f8tosvlvbcr2circ4c4nad',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'loca7iv4viinwh0q9uzm50lwb',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: '0qxuo6fo96yirmj1x81gmd21f',
name: 'PRIMARY',
unique: true,
fieldIds: ['b77wiuuci14wux1nk138m0sns'],
createdAt: now,
},
],
color: '#8eb7ff',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'dr2wlpiqfs05cz1sgf24gcojw',
name: 'occupations',
schema: 'monica',
x: 553.5898384862243,
y: -350,
fields: [
{
id: '0d50zjjjk4w6b3ehzpm331w24',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'alkjutnh0f1sie0n35yr71zh6',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '2ybakpofj7x3xmfnczi3pb2pm',
name: 'contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'dhavgilnd6bajhdfmwarl283f',
name: 'company_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'uw3tp6osynoq3h6e7yuedm324',
name: 'title',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '3bicmzppzu50y8cp9ljy02p57',
name: 'description',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'hn58zomxfdov1k4qkzf57ut0r',
name: 'salary',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'h5v4syryqvqsrl2p6n46dfb89',
name: 'salary_unit',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '14opzr76arlvtg7xuedi0jkf0',
name: 'currently_works_here',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'ptyvaauv6gaaup7zu9j92e53w',
name: 'start_date',
type: {
id: 'date',
name: 'date',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'fdw4xqa9m2egp37fkqpg21umg',
name: 'end_date',
type: {
id: 'date',
name: 'date',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'jmjmtkm3hq2imtwppk8x5mfcf',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'c7od3s30b1ct7sc1mopcam7ga',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'bjwh9nbinkz0t7p7dt59fnial',
name: 'occupations_account_id_foreign',
unique: false,
fieldIds: ['alkjutnh0f1sie0n35yr71zh6'],
createdAt: now,
},
{
id: 'mhno3rjrxuh3f250talbolvqh',
name: 'occupations_company_id_foreign',
unique: false,
fieldIds: ['dhavgilnd6bajhdfmwarl283f'],
createdAt: now,
},
{
id: 'z8lqfhmfsa0j4yamdyybc20ca',
name: 'occupations_contact_id_foreign',
unique: false,
fieldIds: ['2ybakpofj7x3xmfnczi3pb2pm'],
createdAt: now,
},
{
id: 'weizl05jww74xkulyf5nswhli',
name: 'PRIMARY',
unique: true,
fieldIds: ['0d50zjjjk4w6b3ehzpm331w24'],
createdAt: now,
},
],
color: '#8a61f5',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'dyulv16i6fspuczd274w471v2',
name: 'address_contact_field_label',
schema: 'monica',
x: 1286.3703305156273,
y: 1529.4095225512604,
fields: [
{
id: 'cw4omifebauwkbks3bzugcvnq',
name: 'contact_field_label_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'wk991moya9e6b0bbrqo3eebif',
name: 'address_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'k2pqmnr2s9ohzhopjqr6ldzl7',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: '5a3b3eog3gjqu5onrg4sz6qgl',
name: 'address_contact_field_label_account_id_foreign',
unique: false,
fieldIds: ['k2pqmnr2s9ohzhopjqr6ldzl7'],
createdAt: now,
},
{
id: 'jy9uek8pq3x146esb5er414e3',
name: 'address_contact_field_label_address_id_foreign',
unique: false,
fieldIds: ['wk991moya9e6b0bbrqo3eebif'],
createdAt: now,
},
{
id: 'g1l9ctx56bnwgzcs513aakgcu',
name: 'address_contact_field_label_contact_field_label_id_foreign',
unique: false,
fieldIds: ['cw4omifebauwkbks3bzugcvnq'],
createdAt: now,
},
],
color: '#8eb7ff',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'edk5cjh7f6uu4sr266xi5111y',
name: 'metadata_love_relationships',
schema: 'monica',
x: -54.594154601839364,
y: -354.59415460183914,
fields: [
{
id: 'jlhjdek8ppzc6bqvq5xrv4pvj',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'uyo2bt2bj9oo8jjohqa3wcc59',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '3uj2usbmfda237yitto34xsbv',
name: 'relationship_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '8tgbhg4a7jkzy6aby67bcp7mr',
name: 'is_active',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '7o46w6sdf0gvcvxa4tglk2kt2',
name: 'notes',
type: {
id: 'mediumtext',
name: 'mediumtext',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'nh9pkecxynerchbdotv0y76qa',
name: 'meet_date',
type: {
id: 'datetime',
name: 'datetime',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '6954bppjns2f1eucf84a49xts',
name: 'official_date',
type: {
id: 'datetime',
name: 'datetime',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'jfn4p9ld7z8p7naujbu9r3avm',
name: 'breakup_date',
type: {
id: 'datetime',
name: 'datetime',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'nsrzd328b3k7a51twvty985fn',
name: 'breakup_reason',
type: {
id: 'mediumtext',
name: 'mediumtext',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '834nvkvnmyj3tdnclgqcj4lfm',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '7ja7iifcuabaz22a3dy6typ7w',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'xwrbbyiu9zetgebp4qysptmmy',
name: 'metadata_love_relationships_account_id_foreign',
unique: false,
fieldIds: ['uyo2bt2bj9oo8jjohqa3wcc59'],
createdAt: now,
},
{
id: 'xcws5c98lzl8jce3zlb8kynqo',
name: 'metadata_love_relationships_relationship_id_foreign',
unique: false,
fieldIds: ['3uj2usbmfda237yitto34xsbv'],
createdAt: now,
},
{
id: 'o67xraipwj2zgcr1lascn8nv3',
name: 'PRIMARY',
unique: true,
fieldIds: ['jlhjdek8ppzc6bqvq5xrv4pvj'],
createdAt: now,
},
],
color: '#ff6363',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'egnsfprhiva3a7nw1ubmobnuh',
name: 'gift_photo',
schema: 'monica',
x: 875.7359312880715,
y: 2057.2767706041477,
fields: [
{
id: 'gb2oqfxj9bitjgkghditvvyn5',
name: 'photo_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '5yvnu91rkiow6d04ydp9oqc1v',
name: 'gift_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'xhkl5qmcbs6q7rc63le3j0qkz',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'wt6i5kto0ir1of9a6nkj0cybv',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'vk86yfam0yckuuigf2mw13ml7',
name: 'gift_photo_gift_id_foreign',
unique: false,
fieldIds: ['5yvnu91rkiow6d04ydp9oqc1v'],
createdAt: now,
},
{
id: 'edua5qnlux5pazrtu3s7kk6oj',
name: 'PRIMARY',
unique: true,
fieldIds: [
'gb2oqfxj9bitjgkghditvvyn5',
'5yvnu91rkiow6d04ydp9oqc1v',
],
createdAt: now,
},
],
color: '#c05dcf',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'fhe7tfkplxd73su31tu8jxi8v',
name: 'special_dates',
schema: 'monica',
x: 1362.1578069082295,
y: -377.93765997511775,
fields: [
{
id: 'q8dq2m39jni1ki8sodo0ym9yg',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'd2iej8bxwe6mw2atatw6d4vjs',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'zq1tfonsv5godr46zngkggejp',
name: 'contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '5a8x13q949dgg500k58lr4mnf',
name: 'uuid',
type: {
id: 'char',
name: 'char',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'sic1t66ijgzav4pn0v8452t3z',
name: 'is_age_based',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'vjb9tanvcn7xy7kp85g2mv7gh',
name: 'is_year_unknown',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'jyl5cnvpj1oa2v2wh9suwddi8',
name: 'date',
type: {
id: 'date',
name: 'date',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'ogzq67280qzkug5he29kdje7x',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 's5j5lyzfouwa66gc5de4g03xx',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: '3ac6xnqzyjj15mc0sbgscc581',
name: 'PRIMARY',
unique: true,
fieldIds: ['q8dq2m39jni1ki8sodo0ym9yg'],
createdAt: now,
},
{
id: '4wwtshaasndbau7hdp2ymrvi3',
name: 'special_dates_account_id_uuid_index',
unique: false,
fieldIds: [
'd2iej8bxwe6mw2atatw6d4vjs',
'5a8x13q949dgg500k58lr4mnf',
],
createdAt: now,
},
{
id: '5rz61mr977pe67rptl72yfu5s',
name: 'special_dates_contact_id_foreign',
unique: false,
fieldIds: ['zq1tfonsv5godr46zngkggejp'],
createdAt: now,
},
],
color: '#8eb7ff',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'fingxcqfdio2a8cjxus62t8x1',
name: 'activity_type_categories',
schema: 'monica',
x: 1300,
y: 100,
fields: [
{
id: 'v0pxqzm0byg4i06b9u1np68po',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'wp5acqosgbeijs3wnwas0ry6h',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'zl3nmr711dicsr4yu35xz5i0t',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'bkv432805ud44n1pguwejar78',
name: 'translation_key',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'w1qcm4xlq6i68tjpxsrg3ic33',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'jgv17ancxuhivc7jb24il8ksz',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'ivf3avrswbhr1wm99yfkbbbf6',
name: 'activity_type_categories_account_id_foreign',
unique: false,
fieldIds: ['wp5acqosgbeijs3wnwas0ry6h'],
createdAt: now,
},
{
id: 'j31wi4piru45p43i4agl027em',
name: 'PRIMARY',
unique: true,
fieldIds: ['v0pxqzm0byg4i06b9u1np68po'],
createdAt: now,
},
],
color: '#4dee8a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'g9799psycp9vxp6g4y9wiyicq',
name: 'activity_types',
schema: 'monica',
x: 900,
y: 100,
fields: [
{
id: 'b8ffanauiknoykouf9bq3muuj',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'm13ozzsrd83vl292myx5sf89r',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'zxpcps1vhg7as0ckv0i5de0lf',
name: 'activity_type_category_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'uxomnpdkfxovbq9xicajkd6o1',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '8h950e6h72hnx328lf978r21s',
name: 'translation_key',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'uvb3oj1d85fmscdw32nyzjx1p',
name: 'location_type',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'nnjvdetd7l18i0y48tdbz7j02',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'rbqhwhgy7cb8df41af58knrc9',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: '9xyqzhskhcbvzlt32q6itlift',
name: 'activity_types_account_id_foreign',
unique: false,
fieldIds: ['m13ozzsrd83vl292myx5sf89r'],
createdAt: now,
},
{
id: 'dl5qakuutcssjkyj7pkh1bvwy',
name: 'activity_types_activity_type_category_id_foreign',
unique: false,
fieldIds: ['zxpcps1vhg7as0ckv0i5de0lf'],
createdAt: now,
},
{
id: '3xv3nmwupa10bfn2sw2iaw17r',
name: 'PRIMARY',
unique: true,
fieldIds: ['b8ffanauiknoykouf9bq3muuj'],
createdAt: now,
},
],
color: '#8eb7ff',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'gbw75ru8k3b0wiy6m88xphazr',
name: 'accounts',
schema: 'monica',
x: 100,
y: 100,
fields: [
{
id: 'ijpw95fqzjbklg36n32jrnpid',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '4i77dendj0sd5654cxkfsbyiq',
name: 'has_access_to_paid_version_for_free',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'y020a8h3oz773bn9vv30jbilx',
name: 'api_key',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'w9t23jterdv2a5vyzxsxwobds',
name: 'number_of_invitations_sent',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '8eqrstf0izwg2rqe63uzk2rm3',
name: 'default_time_reminder_is_sent',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'w3wkr8ik9n1osu1cvxcyt2h8u',
name: 'default_gender_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'iqg4pa1yk5j448caqumb2yh78',
name: 'stripe_id',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'a6buljl1z2k3oh43njp7yvpqm',
name: 'card_brand',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'ljk2ufvj0zg3tsunccf7f0593',
name: 'card_last_four',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '59c0hyt27zoxtupxdmqcmpni1',
name: 'trial_ends_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'ick0ay4691e944wf8r3m5skwd',
name: 'legacy_free_plan_unlimited_contacts',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'v1hptr5txga9tlg1npr6dyhav',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'zsaqqhbeens1eqnf33x313q00',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'upomqg2t4m6zpkysdctt6wdzv',
name: 'accounts_stripe_id_index',
unique: false,
fieldIds: ['iqg4pa1yk5j448caqumb2yh78'],
createdAt: now,
},
{
id: 'swdm8xe3gz69e6ivk32swrbbf',
name: 'PRIMARY',
unique: true,
fieldIds: ['ijpw95fqzjbklg36n32jrnpid'],
createdAt: now,
},
],
color: '#9ef07a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'gfdzqmt9ibtny7k4ew4kgq4mn',
name: 'weather',
schema: 'monica',
x: 2086.3703305156273,
y: 1029.4095225512604,
fields: [
{
id: 'iypsyhmqhlyqbq9ddvdcnpweb',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'h16ikv7dquxqmsspsti65cd0n',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '6y1013dhadzh4zhslvm31v2st',
name: 'place_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '1oiafwweu087wuo20v3fhoo1t',
name: 'weather_json',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '7egabajb44v6p84abk2i6oye2',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 's8wr8ev21krbm79z18m3fle4g',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'hsxsprapjff1saetclnqeddqy',
name: 'PRIMARY',
unique: true,
fieldIds: ['iypsyhmqhlyqbq9ddvdcnpweb'],
createdAt: now,
},
{
id: '3fttf4t7j2p2qrysft2e9uks3',
name: 'weather_account_id_foreign',
unique: false,
fieldIds: ['h16ikv7dquxqmsspsti65cd0n'],
createdAt: now,
},
{
id: 'vs5vcgjgxy8osq9nmzng2qlzi',
name: 'weather_place_id_foreign',
unique: false,
fieldIds: ['6y1013dhadzh4zhslvm31v2st'],
createdAt: now,
},
],
color: '#9ef07a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'i9dfzx3rs0bcbdviy4amd6eyh',
name: 'reminder_outbox',
schema: 'monica',
x: 463.6038969321073,
y: 1957.276770604148,
fields: [
{
id: '2oe3b5vdr7qav4k347ag4zpqz',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'faa8wzc4q8q6mus05oorfwxzn',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '5ftsy537yo1fft18gu8astuvd',
name: 'reminder_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'jnm0f6meeulih4l81igov83uo',
name: 'user_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'n7qfl85zd3qyatxjr5uvy0olp',
name: 'planned_date',
type: {
id: 'date',
name: 'date',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'tn4y3ewm48ass4r3cs9xpx40n',
name: 'nature',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'rypqvz07mjqe4nlvpipzk5pw4',
name: 'notification_number_days_before',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'wj2ex9w51jh7a4iq2dvqtx0lh',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'f6qf8o23t191tviygukrw1b2d',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'l5stwbtfa7hseqqqahpzdrsfu',
name: 'PRIMARY',
unique: true,
fieldIds: ['2oe3b5vdr7qav4k347ag4zpqz'],
createdAt: now,
},
{
id: 'xlyiy6s63xzhw9r7ygqxv9cy7',
name: 'reminder_outbox_account_id_foreign',
unique: false,
fieldIds: ['faa8wzc4q8q6mus05oorfwxzn'],
createdAt: now,
},
{
id: '8ornlwq9hknl0m5gegm1hnl6s',
name: 'reminder_outbox_reminder_id_foreign',
unique: false,
fieldIds: ['5ftsy537yo1fft18gu8astuvd'],
createdAt: now,
},
{
id: '7uiyu8kh44cq0k9juirmbrt29',
name: 'reminder_outbox_user_id_foreign',
unique: false,
fieldIds: ['jnm0f6meeulih4l81igov83uo'],
createdAt: now,
},
],
color: '#8a61f5',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'i9xw6u7ngkli7hqxks2jacz5x',
name: 'statistics',
schema: 'monica',
x: 4100,
y: 2980,
fields: [
{
id: 'ammj96cosbuam2im6cqup0hzy',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'el0b851hbw3ewd1anmjqn4vqt',
name: 'number_of_users',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'dzum8lrhhg0p9726ocb6lzlyp',
name: 'number_of_contacts',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'cga6zvrvgvqw7yh8rcvk4zp7c',
name: 'number_of_notes',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'r64pf8m7hf0h02y6ar36b95kr',
name: 'number_of_oauth_access_tokens',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'dd2pm65gow0wp8bzb7obp7884',
name: 'number_of_oauth_clients',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'xazv2qjekbvs3eik6zrecuhu9',
name: 'number_of_offsprings',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'mdr856wr55qclevpzsk5n5z2a',
name: 'number_of_progenitors',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'rj17t1dt8qlmd5hexkiv6ujhh',
name: 'number_of_relationships',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'bosf3xjian07x8xzr496mhz6m',
name: 'number_of_subscriptions',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'esfptczlqrxnz0fwgc09zm3lt',
name: 'number_of_reminders',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'tbzeontat2gi74ixb1y9reql7',
name: 'number_of_tasks',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'ypwwbi1wou3eodrab06j7wrad',
name: 'number_of_kids',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'yfrk293ni57lyu5y6mwm8mtxc',
name: 'number_of_activities',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'jlyphs75lf84tuwf81t1m3zou',
name: 'number_of_addresses',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'uv6kksikdudibbt5s440ovodf',
name: 'number_of_api_calls',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'g2on82l6qxamgkx2nzoi5xfc8',
name: 'number_of_calls',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'ysgg2yr083ntf303otxbfd6x8',
name: 'number_of_contact_fields',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'quinr8o0ndxbaqv9lzyep83qc',
name: 'number_of_contact_field_types',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '91e9exgha9ai50zmsy1vz66r6',
name: 'number_of_debts',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '6axcy5ocndoupgfwykn48w840',
name: 'number_of_entries',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '7pyuof6nwqpj4pn8w6mo5tmy3',
name: 'number_of_gifts',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'ttjlip99ksu5g6aj0kasriazl',
name: 'number_of_invitations_sent',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '26kajjjac2t9kh5d17a00mjoz',
name: 'number_of_accounts_with_more_than_one_user',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'r5qsoy6b9bp8oge8bla62q4ea',
name: 'number_of_tags',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'rd1k8vc26bi2yusw5lrmywjpv',
name: 'number_of_import_jobs',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'c76dey0xms2cbtgyi89f9g4uj',
name: 'number_of_conversations',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'd50kcybltpbnrrvtx2ee1fho0',
name: 'number_of_messages',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '4kzghpyyi979h89767krcfcg7',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'm5rgny0oppf4bii9qfbkzq6ln',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'y8y0ik85rbvci7zfm1qnic1pc',
name: 'PRIMARY',
unique: true,
fieldIds: ['ammj96cosbuam2im6cqup0hzy'],
createdAt: now,
},
],
color: '#c05dcf',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'iiof996jziigci4mplb51fxo1',
name: 'relationships',
schema: 'monica',
x: -454.59415460183936,
y: -354.59415460183914,
fields: [
{
id: 'e8jnfbg3rubiax9ec43z0o5sj',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'b0of2hx8gz0qeksci9fkne0nh',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'i54uaxd0jmshdgv91q81t7x0y',
name: 'relationship_type_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'y7ewhx9gjicl0t8lzswvz6u64',
name: 'contact_is',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'osqw8wq53jymjctjsx05ad5fn',
name: 'of_contact',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'onmgw3fni8o3hobzmhrg49gmu',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'lmajzhl0xnifovi3sxwadosw7',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'w1ecrx8mj1q7m4crnlio58ogt',
name: 'PRIMARY',
unique: true,
fieldIds: ['e8jnfbg3rubiax9ec43z0o5sj'],
createdAt: now,
},
{
id: '7ofmojesw7rf1j0zw7xqjtze2',
name: 'relationships_account_id_foreign',
unique: false,
fieldIds: ['b0of2hx8gz0qeksci9fkne0nh'],
createdAt: now,
},
{
id: 'd3dwum65gak7uz4eu7mt59u0u',
name: 'relationships_contact_is_foreign',
unique: false,
fieldIds: ['y7ewhx9gjicl0t8lzswvz6u64'],
createdAt: now,
},
{
id: 'mtuxj36mx1pys8rl3a97bnhl3',
name: 'relationships_of_contact_foreign',
unique: false,
fieldIds: ['osqw8wq53jymjctjsx05ad5fn'],
createdAt: now,
},
{
id: 'kep2vrixspjqfgyoyc75xm0au',
name: 'relationships_relationship_type_id_foreign',
unique: false,
fieldIds: ['i54uaxd0jmshdgv91q81t7x0y'],
createdAt: now,
},
],
color: '#ff6363',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'jib3s3miuuvzy5hz5rtjb44f6',
name: 'cache',
schema: 'monica',
x: 3300,
y: 1980,
fields: [
{
id: 'ir6ki86azagmag92yr5gh6s5q',
name: 'key',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: true,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '7yy7whbj6s6gydgb89j8mzb9h',
name: 'value',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '1zephsnvxu1uewun9xkq7fbv0',
name: 'expiration',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: 'ysrrpuqy19z4rnsvkw4vwlt9v',
name: 'cache_key_unique',
unique: true,
fieldIds: ['ir6ki86azagmag92yr5gh6s5q'],
createdAt: now,
},
],
color: '#4dee8a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'jvhmgkovpe3c1uqk7mi8efah9',
name: 'genders',
schema: 'monica',
x: 1607.1067811865473,
y: 529.2893218813451,
fields: [
{
id: 'wrgzahw9tc8cb8f2550t8g32m',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'mn4605s5sxxk5x1b9r4mdhyg5',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '9spis3ha3dpbt5zbt8r8k26l4',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'wfnkpb44rq3wcfhicsi0yuefo',
name: 'type',
type: {
id: 'char',
name: 'char',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'mm95qqj9b4vxyahf9shyu1wbm',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'kk8fvziavnnvlus76jpttjbub',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'b3kupgfgos57dk6nqohoqunr1',
name: 'genders_account_id_foreign',
unique: false,
fieldIds: ['mn4605s5sxxk5x1b9r4mdhyg5'],
createdAt: now,
},
{
id: 'za74fj24pg42f14y9ay47g3os',
name: 'PRIMARY',
unique: true,
fieldIds: ['wrgzahw9tc8cb8f2550t8g32m'],
createdAt: now,
},
],
color: '#ff9f74',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'jxdhlhtf01xdrus9szbg27nwk',
name: 'import_jobs',
schema: 'monica',
x: 1713.6038969321073,
y: 2557.2767706041477,
fields: [
{
id: '7tyg1kava0cj665365b4w0svv',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'jk0ejoskr1wzmssxrl4uadcdf',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'c0wrda6mmsga0m80wsm3darsq',
name: 'user_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'cxpfhupynqci1g5glrzrtdlgg',
name: 'type',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '4scm723i0blyy8oclg679f19i',
name: 'contacts_found',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'xhbcah7zp1q67o26xti288fbm',
name: 'contacts_skipped',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '0dc6b1g4w3eeubug686yyt9vc',
name: 'contacts_imported',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '67jnn0021r2m7cniw4vf4z44c',
name: 'filename',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '2ji2klrkaebgp0pc6ffap6ht1',
name: 'started_at',
type: {
id: 'date',
name: 'date',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'm95hwxyee81nx77qvj56qfxkd',
name: 'ended_at',
type: {
id: 'date',
name: 'date',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'aer84mmpus3cgmkjhusc10ngw',
name: 'failed',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'd7ah1dwis5s3tz78vujpqwvu0',
name: 'failed_reason',
type: {
id: 'mediumtext',
name: 'mediumtext',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'iqacrlt7092bh7i8hhkmso07l',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'ywvias9phrtz3pxvnum8wmtw3',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'attyxbdfbv6m6874dcoqug7r1',
name: 'import_jobs_account_id_foreign',
unique: false,
fieldIds: ['jk0ejoskr1wzmssxrl4uadcdf'],
createdAt: now,
},
{
id: 'sxqwgyiw2kax74ykb09l0rvd0',
name: 'import_jobs_user_id_foreign',
unique: false,
fieldIds: ['c0wrda6mmsga0m80wsm3darsq'],
createdAt: now,
},
{
id: 'c9sh8wjm229ipsvqhrbnw21nk',
name: 'PRIMARY',
unique: true,
fieldIds: ['7tyg1kava0cj665365b4w0svv'],
createdAt: now,
},
],
color: '#4dee8a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'kdkfd81gzbxoh3lyhdnebqz84',
name: 'default_activity_types',
schema: 'monica',
x: 3460,
y: 700,
fields: [
{
id: 'rt2ep3ji5u46a1ynmtwmdwea2',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'oys61mpcdwwh2hegqzgq8ahqf',
name: 'default_activity_type_category_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'vn3h4pmhsgy6dw06edjvouk92',
name: 'translation_key',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '5oinpo2pt589kjxwrljiogtt3',
name: 'location_type',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 't071qnrvmyuq4kuctfa50u7ib',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '6r3s3jqpaky7d4sz3nd35ekpc',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'ax8uc16efgs9kmh9b16rw2xum',
name: 'default_activity_types_default_activity_type_category_id_foreign',
unique: false,
fieldIds: ['oys61mpcdwwh2hegqzgq8ahqf'],
createdAt: now,
},
{
id: '0lhhbiw7clilbrlvp85tovq3c',
name: 'PRIMARY',
unique: true,
fieldIds: ['rt2ep3ji5u46a1ynmtwmdwea2'],
createdAt: now,
},
],
color: '#8a61f5',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'kmz9vrg3kvgnl7e1wxwj0v3v1',
name: 'terms',
schema: 'monica',
x: 483.8778902987032,
y: 2417.862425948252,
fields: [
{
id: '6vryypu214lijhkstbzdeui1r',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'i4dsll5vhacqjs17t4v7jur4u',
name: 'term_version',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'iro0qmmog82nvtgxys8keujks',
name: 'term_content',
type: {
id: 'mediumtext',
name: 'mediumtext',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'c2jz9j1o7l9lef1i0en5lfc3t',
name: 'privacy_version',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'lvzuwpqdq171upjr1p5t2v3at',
name: 'privacy_content',
type: {
id: 'mediumtext',
name: 'mediumtext',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 't1gk9wfz1y3bhg65icn9vxh7t',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'ys082wu5h85lh7uvnpait6268',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'tlg35h0aka32p1rwiereptanf',
name: 'PRIMARY',
unique: true,
fieldIds: ['6vryypu214lijhkstbzdeui1r'],
createdAt: now,
},
],
color: '#8eb7ff',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'kqtfvb3iz99qurdg8bez27zl9',
name: 'oauth_auth_codes',
schema: 'monica',
x: 4500,
y: 2480,
fields: [
{
id: 'fc74bz4t77nhk3lhyof228bul',
name: 'id',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: true,
unique: true,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'kadi6lmf0kcauqvt343mdntqx',
name: 'user_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '35dm51qk1cnt5jo14z6s7yi0q',
name: 'client_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '13l9b6m3nflyzyccevsqqe0z0',
name: 'scopes',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'u8qyii2366d31lclkh7rbarty',
name: 'revoked',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '9zsadvkg3pbzidvcbzslfubjh',
name: 'expires_at',
type: {
id: 'datetime',
name: 'datetime',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: '177h4mn0geri9gbo19bmldkc8',
name: 'PRIMARY',
unique: true,
fieldIds: ['fc74bz4t77nhk3lhyof228bul'],
createdAt: now,
},
],
color: '#8a61f5',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'lhq77mpxkjsc0p14hxtyc6isp',
name: 'messages',
schema: 'monica',
x: 3686.3703305156273,
y: 1529.4095225512604,
fields: [
{
id: '9jsfujlgx5h49uzi64zju9375',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'z1wy7byduzvg94ak3b9r5bb5p',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'nkxd786r9wybdl6zwx1jpr04t',
name: 'contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'f26j4bvbzqskd4rgzvgg0r4fz',
name: 'conversation_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'edimrc190uqwd1n5g8dm4fazh',
name: 'content',
type: {
id: 'longtext',
name: 'longtext',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '5eionavv8ujox1e1afmv0m5t4',
name: 'written_at',
type: {
id: 'datetime',
name: 'datetime',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'rmp3q56wbi9uhserb4bwtodgb',
name: 'written_by_me',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'sjlo06lckogeky9ynwll3raxx',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '0t1n1p2bezuz64g6w86dfz2oq',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'i1bvkwikvy96h54kj2za9otio',
name: 'messages_account_id_foreign',
unique: false,
fieldIds: ['z1wy7byduzvg94ak3b9r5bb5p'],
createdAt: now,
},
{
id: 'dskibranmtmgi0pcw737cfzmg',
name: 'messages_contact_id_foreign',
unique: false,
fieldIds: ['nkxd786r9wybdl6zwx1jpr04t'],
createdAt: now,
},
{
id: '2cmaf4juyju4yka05mv0yd052',
name: 'messages_conversation_id_foreign',
unique: false,
fieldIds: ['f26j4bvbzqskd4rgzvgg0r4fz'],
createdAt: now,
},
{
id: 'e6elnuitq3jp5ltixqdunpg4q',
name: 'PRIMARY',
unique: true,
fieldIds: ['9jsfujlgx5h49uzi64zju9375'],
createdAt: now,
},
],
color: '#ff6b8a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'lravzkco7cj4lgez3v1snmfhj',
name: 'activity_statistics',
schema: 'monica',
x: 1300,
y: 600,
fields: [
{
id: 'ros1llp4i3rgtaodhot8zg8ir',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'dij2knxd3ej22a491w39e0i5v',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '1n9exbwr61yn83ipfb3pcuqli',
name: 'contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'd5r8nh8hxul8gjkrhovexwxjm',
name: 'year',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'gnhdl77gn5nwmu17jndna26fc',
name: 'count',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'gw3bi1kw9fmn6mxk9yb5m3bnh',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '84m1b1jmitt778y3h0y9rnum7',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'iu2lmmh7rdaefvd436x6r8l5e',
name: 'activity_statistics_account_id_foreign',
unique: false,
fieldIds: ['dij2knxd3ej22a491w39e0i5v'],
createdAt: now,
},
{
id: 'sa4yahs65088kf4iczix15i1m',
name: 'activity_statistics_contact_id_foreign',
unique: false,
fieldIds: ['1n9exbwr61yn83ipfb3pcuqli'],
createdAt: now,
},
{
id: 'h8do67n539rf774zrvvuzlwy2',
name: 'PRIMARY',
unique: true,
fieldIds: ['ros1llp4i3rgtaodhot8zg8ir'],
createdAt: now,
},
],
color: '#8eb7ff',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'lwj7zy5q8b3ekb5hy4ivhqzmr',
name: 'emotion_activity',
schema: 'monica',
x: 1703.9480412679006,
y: 2042.462120245875,
fields: [
{
id: 'tkir6121de1vr9z6y5rgl4dax',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'm7mxm50fz1hi2swg4z24mzgrn',
name: 'activity_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'zczclm2qwmnlb6muh4zz124h6',
name: 'emotion_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '4l1cs2uuzpbd4zirqdjo2ic7n',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '2d4vwmp1s51ev7fn2x7u3hbdi',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'ffkz6im9ajm68y82ajqpizt1h',
name: 'emotion_activity_account_id_foreign',
unique: false,
fieldIds: ['tkir6121de1vr9z6y5rgl4dax'],
createdAt: now,
},
{
id: 'qozkgqzho177mfm4xgv2qp8hy',
name: 'emotion_activity_activity_id_foreign',
unique: false,
fieldIds: ['m7mxm50fz1hi2swg4z24mzgrn'],
createdAt: now,
},
{
id: 'y5nsl8pom5wb2hiogw5vk1bbd',
name: 'emotion_activity_emotion_id_foreign',
unique: false,
fieldIds: ['zczclm2qwmnlb6muh4zz124h6'],
createdAt: now,
},
],
color: '#ff9f74',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'm78s9roaddhmt5g5yjglbds6j',
name: 'debts',
schema: 'monica',
x: 51.47186257614317,
y: 1948.528137423857,
fields: [
{
id: 'h2qszbe9xgzyecz1pjnq2jo01',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'aom4m7txg1vzeq8ecq89sa5f9',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'vlkfmtscxlcfykrvk9boe8z2d',
name: 'contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '1lwiswxlj6jkhjiow02pnnqks',
name: 'in_debt',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '0m33updgfc6w2irhd72x4gi59',
name: 'status',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '2npbvtdtkurwtdtdgctem69up',
name: 'amount',
type: {
id: 'decimal',
name: 'decimal',
},
primaryKey: false,
unique: false,
nullable: false,
precision: 8,
scale: 2,
createdAt: now,
},
{
id: 'a1slj5iv4orz83clbhqyd66te',
name: 'reason',
type: {
id: 'longtext',
name: 'longtext',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'j7ryvs3yiwptfaar60kf0i1qq',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'elopys46tdntuv4p597lqhrgg',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'cv2qwd0tuof2n0xop08ljpmhs',
name: 'debts_account_id_foreign',
unique: false,
fieldIds: ['aom4m7txg1vzeq8ecq89sa5f9'],
createdAt: now,
},
{
id: '0ziezeiktxinokmxwge9ewfmr',
name: 'debts_contact_id_foreign',
unique: false,
fieldIds: ['vlkfmtscxlcfykrvk9boe8z2d'],
createdAt: now,
},
{
id: '5fduzse8kj8ch5j5im7smvu9w',
name: 'PRIMARY',
unique: true,
fieldIds: ['h2qszbe9xgzyecz1pjnq2jo01'],
createdAt: now,
},
],
color: '#7175fa',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'mbwz3dxyegzvkx1epozc7wa0u',
name: 'addresses',
schema: 'monica',
x: 1286.3703305156273,
y: 1029.4095225512604,
fields: [
{
id: 'j3900c89cgx60wtdcshwlv6gy',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'ribkk1mzgnnbq2libmf9nj7vh',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'jg070okya08kx3auir6c3a5e0',
name: 'place_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'bf4uf7kijocjd88sd0306gnhe',
name: 'contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '1pd3d2y6r0h6jlgkmn9gorz13',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'cce3vnn8lq0ct541sipeip7fn',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '2mvz7tnps6vue47nhngw7h5so',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'lh8givpn21l4k8bk9l33mmq4o',
name: 'addresses_account_id_foreign',
unique: false,
fieldIds: ['ribkk1mzgnnbq2libmf9nj7vh'],
createdAt: now,
},
{
id: 'p6fbs1dnwu4ppvo3m63ya8wkc',
name: 'addresses_contact_id_foreign',
unique: false,
fieldIds: ['bf4uf7kijocjd88sd0306gnhe'],
createdAt: now,
},
{
id: '33lkvnhpsj6v82mw82dccgl7d',
name: 'addresses_place_id_foreign',
unique: false,
fieldIds: ['jg070okya08kx3auir6c3a5e0'],
createdAt: now,
},
{
id: 'ctzteyrlr6rqimoytej2fr0uv',
name: 'PRIMARY',
unique: true,
fieldIds: ['j3900c89cgx60wtdcshwlv6gy'],
createdAt: now,
},
],
color: '#c05dcf',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'mdv5s3lyn073h0uoipuf0474u',
name: 'instances',
schema: 'monica',
x: 3300,
y: 2480,
fields: [
{
id: 'm0p9ru7uhtrdzw1duyi72p63q',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '4usm5q547jxpsgzxh7by6l50f',
name: 'uuid',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'u7eevr44n5t91bzsai1txnyo3',
name: 'current_version',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'p1dvatcdoci4gphaby6t7vbrh',
name: 'latest_version',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '5dpwrgfvqllihpekjt0k26zis',
name: 'latest_release_notes',
type: {
id: 'mediumtext',
name: 'mediumtext',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'xhec4c646fdn49wfg5zf3ve2o',
name: 'number_of_versions_since_current_version',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'lo1kec5psza56c5hl31jbca9j',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'bxs9w8graip94mzqvjrbmglim',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: '68qcmfhuzh7mb4fm328eexsuh',
name: 'PRIMARY',
unique: true,
fieldIds: ['m0p9ru7uhtrdzw1duyi72p63q'],
createdAt: now,
},
],
color: '#7175fa',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'msr1aor1ovk3xe9be6ilcj70y',
name: 'invitations',
schema: 'monica',
x: -706.3386417968356,
y: 1483.6680585165825,
fields: [
{
id: '79d6at8nfpfven6yeatqwge4d',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'wg2qx9x6ateoi1j18q4s26s6b',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '8wey4sh8mjz8ktxzgpzf5a4i1',
name: 'invited_by_user_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'l0p5x7840897i00nigk2mxr9g',
name: 'email',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'f1usw48mprda9pgx33pa5ljef',
name: 'invitation_key',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'eitwac0rur8qi1vcbjk8s5bnk',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'jb6gm00540v4d2qmt8rcs8crn',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'of3ko20bezkyub5ofijabqoct',
name: 'invitations_account_id_foreign',
unique: false,
fieldIds: ['wg2qx9x6ateoi1j18q4s26s6b'],
createdAt: now,
},
{
id: 'eu59cp56x64cvhtj4rv83enjq',
name: 'PRIMARY',
unique: true,
fieldIds: ['79d6at8nfpfven6yeatqwge4d'],
createdAt: now,
},
],
color: '#7175fa',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'n9sw1fm35q45gyasxcb9knigg',
name: 'photos',
schema: 'monica',
x: 475.7359312880715,
y: 1457.276770604148,
fields: [
{
id: 'vzfcln9nhehgnk33mxf120ub3',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'ixtiqcr5bok3qylovlj3ewfk6',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'pdkszv9v5h9ka8g8d2uiaflgj',
name: 'original_filename',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'qovi9iseqedhumv552kc1k2p8',
name: 'new_filename',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'z8n4nj3aimrmjg6ts96rdrtaw',
name: 'filesize',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'uy3iv359kvyfpkvgnahcqh7h6',
name: 'mime_type',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '3ljpjlrddqdla5ce9w8eia1qy',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'x2g8n2ton1wcm3n7rlkhjoe4j',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'sr8cxo3exmgfednzm0280tfen',
name: 'photos_account_id_foreign',
unique: false,
fieldIds: ['ixtiqcr5bok3qylovlj3ewfk6'],
createdAt: now,
},
{
id: 'ljtm7gqigi461nbtzeq9wpwhs',
name: 'PRIMARY',
unique: true,
fieldIds: ['vzfcln9nhehgnk33mxf120ub3'],
createdAt: now,
},
],
color: '#b067e9',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'nleq1ibh1795e9a3o97pwh3xe',
name: 'term_user',
schema: 'monica',
x: 2928.3797600337275,
y: 1032.3991299311992,
fields: [
{
id: 'heeei9rznhaglikesesoet54q',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'fdycd4le5wuva06figtqtmq2x',
name: 'user_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'es5jy6pns8ohrouv1if97x2e9',
name: 'term_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '9bggisqbxm5cgbebckgiv8jzp',
name: 'ip_address',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '149lv9wv514a87gn0elqf62la',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '1dwwun3qsh9jy52wl59yjhenh',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'dcjv24nx2igxcygdd8qfhuf9v',
name: 'term_user_account_id_foreign',
unique: false,
fieldIds: ['heeei9rznhaglikesesoet54q'],
createdAt: now,
},
{
id: '4outnwmz1yc15mbyjdb4sdy83',
name: 'term_user_term_id_foreign',
unique: false,
fieldIds: ['es5jy6pns8ohrouv1if97x2e9'],
createdAt: now,
},
{
id: 'gh8hhmoxw08chn4u12l3d42xz',
name: 'term_user_user_id_foreign',
unique: false,
fieldIds: ['fdycd4le5wuva06figtqtmq2x'],
createdAt: now,
},
],
color: '#ff6363',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'o3lk4zp7d9qtjjhp3tx2s3ob1',
name: 'documents',
schema: 'monica',
x: -253.52761804100817,
y: 1082.9629131445345,
fields: [
{
id: 'kb5k7r83ghm0gzh2op6fbz7bv',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'k4030gg04hgwckeljp9l33zgk',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'x589r3rfqpil2f68pqq18tna2',
name: 'contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'v7qboymi8fu25lgrqrt3rttbh',
name: 'original_filename',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'o59tsary6z5bda6jritpml8rb',
name: 'new_filename',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '92piknbsy1zvvj1s3fajdriw3',
name: 'filesize',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'lxjj7bscmcs40zlqrzwce4s3k',
name: 'type',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'i7u3rrdq6jw3o2w97qugegvgv',
name: 'mime_type',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'z5s3sx5zykrf4m7zocgqr8ndr',
name: 'number_of_downloads',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'qs3yk8gj2kjykimnmuuzdpgf7',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'd1oveuxea797slbvo4e75ewpr',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: '786v6jhmsb4rqczzax22f40ym',
name: 'documents_account_id_foreign',
unique: false,
fieldIds: ['k4030gg04hgwckeljp9l33zgk'],
createdAt: now,
},
{
id: '1p2svrrava4zaby46vnfzpizi',
name: 'documents_contact_id_foreign',
unique: false,
fieldIds: ['x589r3rfqpil2f68pqq18tna2'],
createdAt: now,
},
{
id: 's6gnkjq2jjmbca0sjgww23uhn',
name: 'PRIMARY',
unique: true,
fieldIds: ['kb5k7r83ghm0gzh2op6fbz7bv'],
createdAt: now,
},
],
color: '#b067e9',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'pbdguhzw9n2y96kqglja101pp',
name: 'oauth_personal_access_clients',
schema: 'monica',
x: 2900,
y: 2980,
fields: [
{
id: 'srmsz6eq5bvjxaymypk8qopdq',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'xnh6zm6j91qahbpo2vvajcjlj',
name: 'client_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'xouwykdkq1e9ksjj0mxaj08be',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'jrs4r74syja0nwe7viu1h6b4d',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'qaaihbtun51s4gzf5qjrjp25j',
name: 'PRIMARY',
unique: true,
fieldIds: ['srmsz6eq5bvjxaymypk8qopdq'],
createdAt: now,
},
],
color: '#8a61f5',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'pbevxy8oetclo9utignkiflkx',
name: 'default_relationship_types',
schema: 'monica',
x: -953.1222920256964,
y: -703.122292025696,
fields: [
{
id: 'k5la9zyeju4kvl0jh4ny89u1x',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'vhlekh1onu4tucah1qsyb1jev',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'dl6skntggboc35jwxm2akbces',
name: 'name_reverse_relationship',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'svh63g721pujvtlsgg5et70yi',
name: 'relationship_type_group_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '53rxn1wa0atz0a2520er5f2sq',
name: 'delible',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'fmaf2acp0p7o7kz88iommyw6f',
name: 'migrated',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'u4g2rujyohtl9x095e8tfi593',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'rnmy4iih9m63v8rg7u4yewy6s',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'd6aow9e31una89h82dddnfrvo',
name: 'default_relationship_types_relationship_type_group_id_foreign',
unique: false,
fieldIds: ['svh63g721pujvtlsgg5et70yi'],
createdAt: now,
},
{
id: 'lvn8u134t64s0unw8g34msq4f',
name: 'PRIMARY',
unique: true,
fieldIds: ['k5la9zyeju4kvl0jh4ny89u1x'],
createdAt: now,
},
],
color: '#b067e9',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'ps5mn2d71mhigbllgzxzs4kfb',
name: 'life_event_types',
schema: 'monica',
x: -180.3300858899106,
y: 502.6826160023089,
fields: [
{
id: 'u4xnc2lwjxxb4yipljx8pc2wm',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'ggxbnwln7mbztaw3wjxa7rrri',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'ehmi6qe7tniyy3sh3uqxsojwl',
name: 'life_event_category_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '3eim7yjdawqvxdmojw9zml3lf',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'sdc8gj8a80yc7nc2uarfmgeeu',
name: 'default_life_event_type_key',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'fe80409w43rxbv4r5215ztv2f',
name: 'core_monica_data',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'whfn9fn64k5q3xjb1yr44w28s',
name: 'specific_information_structure',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '1vyhs6koqr0phnhmtqtu0hfh3',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '4b4wl2n2chy2707bepfz23tq8',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'js08c82ihw1zd2p5ypvxa1tg8',
name: 'life_event_types_account_id_foreign',
unique: false,
fieldIds: ['ggxbnwln7mbztaw3wjxa7rrri'],
createdAt: now,
},
{
id: 'bu3ojqcoerzxeimqkh2uq07u4',
name: 'life_event_types_life_event_category_id_foreign',
unique: false,
fieldIds: ['ehmi6qe7tniyy3sh3uqxsojwl'],
createdAt: now,
},
{
id: 'hq6l291c7xkikyc16ri09d7mw',
name: 'PRIMARY',
unique: true,
fieldIds: ['u4xnc2lwjxxb4yipljx8pc2wm'],
createdAt: now,
},
],
color: '#ff6363',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'pt0n1b722zvb4yja8i2poguae',
name: 'places',
schema: 'monica',
x: 1686.3703305156273,
y: 1029.4095225512604,
fields: [
{
id: 'gvlilgqa93pmaszxgomu13nzb',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '5b07m1me1o4fwclav5c8jv4z0',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'mn7o7pvzokny176m76rrz7tdy',
name: 'street',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'namwcd2zt5pj989y25x3505z9',
name: 'city',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '66xgnqq1hr2wkkdg4kbndau2o',
name: 'province',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'ogafg1zuysm2y0wc2iukvr5s5',
name: 'postal_code',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 's1nxeo4y93nvg035jqit8y5al',
name: 'country',
type: {
id: 'char',
name: 'char',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'fdi3rxsoma60o1rgd8opj2371',
name: 'latitude',
type: {
id: 'double',
name: 'double',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'lo4h9knxy2jg6r3gorv775xzk',
name: 'longitude',
type: {
id: 'double',
name: 'double',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '6x8jx4bysqf4lwdrz5fr5cp6c',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '9nj7w1zk44don8q132l8khdp6',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'btnwjrl9en9cpuxdqmmw1mzfz',
name: 'places_account_id_foreign',
unique: false,
fieldIds: ['5b07m1me1o4fwclav5c8jv4z0'],
createdAt: now,
},
{
id: 'yfrlzewlx8la5qwimzrxf0mbb',
name: 'PRIMARY',
unique: true,
fieldIds: ['gvlilgqa93pmaszxgomu13nzb'],
createdAt: now,
},
],
color: '#7175fa',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'qlb6cpxhcd4yeejktecblfu3a',
name: 'entries',
schema: 'monica',
x: 1538.213503903168,
y: -795.520640802238,
fields: [
{
id: 'ghgn60m7jgl0kkt4ehwrqzaoz',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '6di773qsfx8ze6rizbhk8ykl6',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '83nvu9sn338bjuf5e4p5ilcze',
name: 'title',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '0gzgf05unkcom147fxkpog6sb',
name: 'post',
type: {
id: 'longtext',
name: 'longtext',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'wup3tqr8bqjj4qeziun7djho8',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'vulvlodx1g6hbvx7ee6ltib93',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'ppuuyhtnvblwkw3tmqv7zayyp',
name: 'entries_account_id_foreign',
unique: false,
fieldIds: ['6di773qsfx8ze6rizbhk8ykl6'],
createdAt: now,
},
{
id: 'uzt5lyer20ku7v4sn1omy2v19',
name: 'PRIMARY',
unique: true,
fieldIds: ['ghgn60m7jgl0kkt4ehwrqzaoz'],
createdAt: now,
},
],
color: '#ffe374',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'qnm2tjfjphximkl1sbrbehie1',
name: 'users',
schema: 'monica',
x: -507.007365599638,
y: 2081.670338810798,
fields: [
{
id: '323tf1rhetkr8ru3bjq47dszz',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'nq1sifryvvpbdosp56nswiw4x',
name: 'first_name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'xcp75mppilqo2ygpvof7u5mqg',
name: 'last_name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'wvq69j20zrahx4fjzghuy8z4h',
name: 'email',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: true,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'ejd2wl5vczvqwerf037nyd6rd',
name: 'me_contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '2dxqj0btmw69f5lbvjn9dtdnr',
name: 'admin',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '9ib2bbljastrzwvbfqc7mcc4x',
name: 'email_verified_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '0g9kqwsm35phnmnfkeeyd0ltw',
name: 'password',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'idw6ybevy2ognb86gd1x4dugu',
name: 'remember_token',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'mt226oa8aj7hwgcrlderdwoim',
name: 'google2fa_secret',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'hvzwu93vf7gdpo3ro4tu0uwr7',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '2hvyp2kax50eiayfin9idgby8',
name: 'timezone',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '1efqf4z6avfs2ahtpype372i7',
name: 'currency_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'io3cpwbo122kxgagy5ql70zcf',
name: 'locale',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'iw4fnhffj2wby3nn9qc9uo3a5',
name: 'metric',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '84qz3e88y7ogcr9s0i8iaxayq',
name: 'fluid_container',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '4r1wdq8go431db39yy0l74rro',
name: 'contacts_sort_order',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '9bz5us61k4z7raka9zr1s85q6',
name: 'name_order',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'ff0ovdhsj61nfy0xaylfsru7g',
name: 'invited_by_user_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '53m4bfl478coawmgrkrit5dvb',
name: 'dashboard_active_tab',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'e3e3uhjfrh892taexhmt988uy',
name: 'gifts_active_tab',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'dasmhz0rrxud6vll7fg2yfth3',
name: 'profile_active_tab',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'l0y8b5v6kafujk1lfmd8mlk9x',
name: 'profile_new_life_event_badge_seen',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'op7dlpsve9fmxs5j1nn0hme95',
name: 'temperature_scale',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'qm9ltt1c6sxygu94opg3khk2m',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '4m7bmk9kwxpqkjspems6fl6u6',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'rhs23q3gkuigywinylro7qess',
name: 'PRIMARY',
unique: true,
fieldIds: ['323tf1rhetkr8ru3bjq47dszz'],
createdAt: now,
},
{
id: 'fbc3al7kvoc5h12vnyihgludq',
name: 'users_account_id_foreign',
unique: false,
fieldIds: ['hvzwu93vf7gdpo3ro4tu0uwr7'],
createdAt: now,
},
{
id: 'xmjzsqcwzu518s2l6ldpzpiei',
name: 'users_currency_id_foreign',
unique: false,
fieldIds: ['1efqf4z6avfs2ahtpype372i7'],
createdAt: now,
},
{
id: 'm5d0upackrkah7r9tsneycir7',
name: 'users_email_unique',
unique: true,
fieldIds: ['wvq69j20zrahx4fjzghuy8z4h'],
createdAt: now,
},
{
id: 'ntzljfh0rv31vyk3t8nkq75y8',
name: 'users_invited_by_user_id_foreign',
unique: false,
fieldIds: ['ff0ovdhsj61nfy0xaylfsru7g'],
createdAt: now,
},
{
id: 'lnfddtb770sei4t07vyhrhfk8',
name: 'users_me_contact_id_foreign',
unique: false,
fieldIds: ['ejd2wl5vczvqwerf037nyd6rd'],
createdAt: now,
},
],
color: '#ff6363',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'rkkdg3v14enrutp57sep8k5ds',
name: 'tags',
schema: 'monica',
x: 79.26354932907992,
y: 1507.2269818564625,
fields: [
{
id: 'ykdwel55yrss1qky0xva7pqmr',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'bdq40b7isid3z6dhzjiuoceqq',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '60zo02gohtsicxrig5jux3475',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'h5s588wvtu6jirg8se9tnb8q1',
name: 'name_slug',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'j4wr7qes5mj1hbom83xlypc8e',
name: 'description',
type: {
id: 'mediumtext',
name: 'mediumtext',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '2nzkwevb4zs9ambvbgbaxokx2',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'hsq7j1h71ofa39osyes20zg8w',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: '1z33lmvz0y80i63rjuf92e21n',
name: 'PRIMARY',
unique: true,
fieldIds: ['ykdwel55yrss1qky0xva7pqmr'],
createdAt: now,
},
{
id: '0hqsurj6vjzmhqvuhb1paq4xy',
name: 'tags_account_id_foreign',
unique: false,
fieldIds: ['bdq40b7isid3z6dhzjiuoceqq'],
createdAt: now,
},
],
color: '#9ef07a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'rkkw6uq43lk0h6qadzgwk9s9k',
name: 'default_activity_type_categories',
schema: 'monica',
x: 3060,
y: 700,
fields: [
{
id: 'jdhixnrv58uiw1bsojywkmq6x',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'q4ria39fukdyvayflmdrxmc0m',
name: 'translation_key',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '6b134bdjna35wb2dxnmuz2n0s',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '61kr8dupkv7iq4ofd6uxn1hyc',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: '0vcv7dbwrkhp780ndo5tka68k',
name: 'PRIMARY',
unique: true,
fieldIds: ['jdhixnrv58uiw1bsojywkmq6x'],
createdAt: now,
},
],
color: '#42e0c0',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'rph6z9jxz8v25trujdqyh02iz',
name: 'life_events',
schema: 'monica',
x: 169.6699141100894,
y: 502.6826160023088,
fields: [
{
id: 'pg4uo8osncrw0af8i04jg4cm1',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '70fedlgz9hrk9rep6rlg0l7wf',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'bab9k7ld8vques734evm2j57i',
name: 'contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '1vgff1kqh59c2obrfhofn14bb',
name: 'life_event_type_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'qc9ua6ivy0xniwf39aprr5s3w',
name: 'reminder_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '128ziqtgobd48sk05blam83g8',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'on2cq3tzr00gmmnwgr4devema',
name: 'note',
type: {
id: 'mediumtext',
name: 'mediumtext',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'eotnkswoca3867zhp8yao1ri5',
name: 'happened_at',
type: {
id: 'datetime',
name: 'datetime',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '8zm88rt7tuy01ano69gw07xsq',
name: 'happened_at_month_unknown',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '4fyz3288sfsjrrbmmkr6lo4vi',
name: 'happened_at_day_unknown',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '48i1h9b59526k7ayo8nfu9x95',
name: 'specific_information',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'x64mnunixqyfg01dzr5cecd08',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'msdw2dtwbjpz3lvs2e7nxad2b',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: '1v3smdaay2d258sk6ic34ouoy',
name: 'life_events_account_id_foreign',
unique: false,
fieldIds: ['70fedlgz9hrk9rep6rlg0l7wf'],
createdAt: now,
},
{
id: 'grcl7tvuykde5dur18165lim8',
name: 'life_events_contact_id_foreign',
unique: false,
fieldIds: ['bab9k7ld8vques734evm2j57i'],
createdAt: now,
},
{
id: '0jxgqwvtryfhulb0givwarfkt',
name: 'life_events_life_event_type_id_foreign',
unique: false,
fieldIds: ['1vgff1kqh59c2obrfhofn14bb'],
createdAt: now,
},
{
id: '73fi96tait8mmd1tvmogx0d34',
name: 'life_events_reminder_id_foreign',
unique: false,
fieldIds: ['qc9ua6ivy0xniwf39aprr5s3w'],
createdAt: now,
},
{
id: '03m666flvs5sxpktdw83auvtr',
name: 'PRIMARY',
unique: true,
fieldIds: ['pg4uo8osncrw0af8i04jg4cm1'],
createdAt: now,
},
],
color: '#ff6363',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'rx5py0eer11olnimamdq01mam',
name: 'reminders',
schema: 'monica',
x: -360.6601717798212,
y: 1533.0127018922194,
fields: [
{
id: 'rfkayotuzwx4ninsab038ouk2',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '5zon2hdj8h5xcpcca9ed4grht',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '8ynvup2rh52exi2stfb3n8yr7',
name: 'contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '92yx8vk55xm4qb2itwacqbglm',
name: 'initial_date',
type: {
id: 'date',
name: 'date',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'm7vtgxlcw4fhlxu1gbzd1uau8',
name: 'title',
type: {
id: 'mediumtext',
name: 'mediumtext',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '8gzt5z2zigo5we2tdsfkey4qf',
name: 'description',
type: {
id: 'longtext',
name: 'longtext',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'lz8szh4negn14qhjb39dmkec3',
name: 'frequency_type',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'ba8tmwcgv0q3c8c5k9vn5dc22',
name: 'frequency_number',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'purv71mx8ecrjg4es56soc1m4',
name: 'delible',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '36prvr0dpgqdkvqpcfo8k2z5v',
name: 'inactive',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'b03m0ulhov27mr3f9r4k01pdx',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '84hofmwie8pmm8yk1q31apxx0',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'tx87wjw1s9g4jdtz2sklod5zw',
name: 'PRIMARY',
unique: true,
fieldIds: ['rfkayotuzwx4ninsab038ouk2'],
createdAt: now,
},
{
id: '9oh09jcqkm771ttdijlxq3gy4',
name: 'reminders_account_id_foreign',
unique: false,
fieldIds: ['5zon2hdj8h5xcpcca9ed4grht'],
createdAt: now,
},
{
id: 't0povz89ptkonsurka3gwioiu',
name: 'reminders_contact_id_foreign',
unique: false,
fieldIds: ['8ynvup2rh52exi2stfb3n8yr7'],
createdAt: now,
},
],
color: '#7175fa',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'tswh9owbaur4etkfwj2vpc7hq',
name: 'relationship_type_groups',
schema: 'monica',
x: -928.8582233137679,
y: -278.85822331376755,
fields: [
{
id: '17mvy0ttxxttt0mph6qaoc16d',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'kage1ayhfdamqxyz9aslhdo3q',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'kmudckjf5kdkgrrtrky6yxnk9',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'j292p5nyk6ixz07vgqz1kq6yq',
name: 'delible',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'vkhcu9qvgtujh40s843k3rjqq',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'f2w9pt2wxr17o9a06muaimrur',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'hshe696u11obld42mlab6yi05',
name: 'PRIMARY',
unique: true,
fieldIds: ['17mvy0ttxxttt0mph6qaoc16d'],
createdAt: now,
},
{
id: 'migv6il9p66thg0hbrle77spp',
name: 'relationship_type_groups_account_id_foreign',
unique: false,
fieldIds: ['kage1ayhfdamqxyz9aslhdo3q'],
createdAt: now,
},
],
color: '#ff9f74',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'u08ccqros63emkp40b6ph4s5c',
name: 'import_job_reports',
schema: 'monica',
x: 2113.603896932107,
y: 2557.2767706041477,
fields: [
{
id: 't4uh88ig3mkceq2fy6eyjiik9',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'ez7y6o8w87fgkkaohir5b5lo6',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'am9612434840985o30vnbc6sj',
name: 'user_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'r4n1jajco5zmr035f5yyt29hj',
name: 'import_job_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'rvaa4nbew58qxbqcrniwvvlc9',
name: 'contact_information',
type: {
id: 'mediumtext',
name: 'mediumtext',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '79hrqr3mv5az2f8sutt5omhqw',
name: 'skipped',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '4xmlvv1ebogum81i0ildwhaxs',
name: 'skip_reason',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'fqwrvauh66lwxak01h2n3imyp',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'a9ecz2bopsx05zhb03f716jgm',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'bibe3s54nobb1cpyvfxa3x7n9',
name: 'import_job_reports_account_id_foreign',
unique: false,
fieldIds: ['ez7y6o8w87fgkkaohir5b5lo6'],
createdAt: now,
},
{
id: 'kofaq5njrrrzwyfkbd1i3mtwp',
name: 'import_job_reports_import_job_id_foreign',
unique: false,
fieldIds: ['r4n1jajco5zmr035f5yyt29hj'],
createdAt: now,
},
{
id: '3irwmbnvphpwuge86stm49jma',
name: 'import_job_reports_user_id_foreign',
unique: false,
fieldIds: ['am9612434840985o30vnbc6sj'],
createdAt: now,
},
{
id: 'qugd9ei86ktoba6qohlxvlea1',
name: 'PRIMARY',
unique: true,
fieldIds: ['t4uh88ig3mkceq2fy6eyjiik9'],
createdAt: now,
},
],
color: '#ff6363',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'v60bmjtx8obierhsdqkvsum9h',
name: 'pets',
schema: 'monica',
x: -986.3703305156273,
y: 729.4095225512606,
fields: [
{
id: 'c4qyy5ya3vpopg4qpfrpf8r0f',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'qx2fbha0z3407veowvr73cmk3',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '69usxpvu43wdts9hkur0vxy13',
name: 'contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'qp8jzosb5pfcuxpyjwaftj4m0',
name: 'pet_category_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'dux1r17ch40iq0232neui03hd',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'z67wxptzy3pgw5mys3hvns1rr',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '6545v9rw8825gwg818gnx9g1v',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'vzud8mhaahwkvgqvgjvej2uxx',
name: 'pets_account_id_foreign',
unique: false,
fieldIds: ['qx2fbha0z3407veowvr73cmk3'],
createdAt: now,
},
{
id: 'o0g1jk5hmuvuqlkw5l7zdky7h',
name: 'pets_contact_id_foreign',
unique: false,
fieldIds: ['69usxpvu43wdts9hkur0vxy13'],
createdAt: now,
},
{
id: 'opzdcm6cfsgb9vij85uwdysee',
name: 'pets_pet_category_id_foreign',
unique: false,
fieldIds: ['qp8jzosb5pfcuxpyjwaftj4m0'],
createdAt: now,
},
{
id: 'n28aufoz8bf9wvg0aa9lxv5tm',
name: 'PRIMARY',
unique: true,
fieldIds: ['c4qyy5ya3vpopg4qpfrpf8r0f'],
createdAt: now,
},
],
color: '#b067e9',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'vmc39xjpb9ee7z3cwfvw5lu9k',
name: 'recovery_codes',
schema: 'monica',
x: 1223.991444093075,
y: 2924.218640162927,
fields: [
{
id: 'l0ykjjxxz4o2rh5ktg1r7x4uo',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'gzz1f7ruypyixx10aeq0sboej',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '9cwzsfg9wo3e00x3w0agjme5o',
name: 'user_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'vi1jo0ampzd1kjlhbc0g0lr1t',
name: 'recovery',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'zzc1u2jitfmnkum6af39072g3',
name: 'used',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'f38v255dmxwd1ahnge8dx4s8y',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'mes4fuko1lxe94p8m3h69dhbo',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: '4sjo1snwk6205giwvpnjcsfff',
name: 'PRIMARY',
unique: true,
fieldIds: ['l0ykjjxxz4o2rh5ktg1r7x4uo'],
createdAt: now,
},
{
id: 'gl9vi6erqz6dqvasyenaptf4r',
name: 'recovery_codes_account_id_foreign',
unique: false,
fieldIds: ['gzz1f7ruypyixx10aeq0sboej'],
createdAt: now,
},
{
id: 'b0kycmpnrk0b3l8pr0ivis1iu',
name: 'recovery_codes_user_id_foreign',
unique: false,
fieldIds: ['9cwzsfg9wo3e00x3w0agjme5o'],
createdAt: now,
},
],
color: '#ff6b8a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'vpxwwf903e3js6yw3cmyznvvx',
name: 'conversations',
schema: 'monica',
x: 3286.3703305156273,
y: 1529.4095225512604,
fields: [
{
id: 'nugfxxgboh9kf9u94oauovhvp',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'x7xd00wz2mkaf9ldfxyp3bk3z',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '2pmrj30dzrq4gu6idh0zux8ei',
name: 'contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'y3jf9nnn4lsp2nu2poqn5z140',
name: 'contact_field_type_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'anil6jmcf4ozs2msdv32sq5tq',
name: 'happened_at',
type: {
id: 'datetime',
name: 'datetime',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'w78mzdzxa4i5e1f4mwjh00ugm',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '6j88hs6lw0skm2px0rd8mib4a',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'r2neungslvq74u3y3g3ui00wz',
name: 'conversations_account_id_foreign',
unique: false,
fieldIds: ['x7xd00wz2mkaf9ldfxyp3bk3z'],
createdAt: now,
},
{
id: 'fl6b51dkz1l7ymg0g0amn2py1',
name: 'conversations_contact_field_type_id_foreign',
unique: false,
fieldIds: ['y3jf9nnn4lsp2nu2poqn5z140'],
createdAt: now,
},
{
id: 'alp9tfvh4wy7sr5fmcgr79o5u',
name: 'conversations_contact_id_foreign',
unique: false,
fieldIds: ['2pmrj30dzrq4gu6idh0zux8ei'],
createdAt: now,
},
{
id: '0s5xo9qsqpvczdnxrehdqx5fw',
name: 'PRIMARY',
unique: true,
fieldIds: ['nugfxxgboh9kf9u94oauovhvp'],
createdAt: now,
},
],
color: '#8eb7ff',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'vud0r5q7apg4k5t8qrk6wjphc',
name: 'sessions',
schema: 'monica',
x: 1270.8103220485796,
y: 3362.938778229006,
fields: [
{
id: 'zvzbu4j4iuhv3n0p30h2nti4d',
name: 'id',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: true,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '76s83holvi1mzi608oc4yzs4l',
name: 'user_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 't2vljpozrchdvcg0uhbhuj5ci',
name: 'ip_address',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'mdn4fw161yrnkf32yaw35ivm1',
name: 'user_agent',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'tgh2bt4tsmdz3zss1ju7fxhv0',
name: 'payload',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '4ciyjrfvalwpufmwuyrptuzc2',
name: 'last_activity',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: '64m8ge2u7ho5no4ix8iyuky7w',
name: 'sessions_id_unique',
unique: true,
fieldIds: ['zvzbu4j4iuhv3n0p30h2nti4d'],
createdAt: now,
},
{
id: 'x0hkshy7dwo9q8vrszlkpuvvo',
name: 'sessions_user_id_foreign',
unique: false,
fieldIds: ['76s83holvi1mzi608oc4yzs4l'],
createdAt: now,
},
],
color: '#b067e9',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'vz14qh5mkwdn97boaly0o5kgt',
name: 'oauth_access_tokens',
schema: 'monica',
x: 4100,
y: 2480,
fields: [
{
id: 'sxjkhx08axz90qkbj09b3ps86',
name: 'id',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: true,
unique: true,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'ktp884w4a8sd8tgc6wi5ox9mr',
name: 'user_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'c2y0ssw336et12pv0g4t9g8nj',
name: 'client_id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '6l2cirxitplo9ge5ayg4zslmv',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '3uwa77lw11ie2p42s78ocjkph',
name: 'scopes',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '08acnucmf5cqrdx3348eb3s9e',
name: 'revoked',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'g4ukap3gi61utlmj1xsm5xsfq',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'ttjisouswkm80yqsmcyccs6kp',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'mfugb6jzb2yhxpbyi7pij3e8d',
name: 'expires_at',
type: {
id: 'datetime',
name: 'datetime',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'm5tcrzep7veke2fdtz4g3yu6k',
name: 'PRIMARY',
unique: true,
fieldIds: ['sxjkhx08axz90qkbj09b3ps86'],
createdAt: now,
},
],
color: '#b067e9',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'webof21lttq6q2qb6lruas2qq',
name: 'reminder_rules',
schema: 'monica',
x: 2332.842712474619,
y: 453.5533905932737,
fields: [
{
id: 'oionqkva8iryyxssd8nsk6h2q',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '0luir2wr2srymxv6jioqqtiy6',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '0jxphmxqhm7sf1civu8inte9a',
name: 'number_of_days_before',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '7j7vzjjlpha55v996c1c4pna5',
name: 'active',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'e1179fmegt8p0ssrj0v2fjxp7',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'cd0otmzd7ekuhfn8xnjriqwao',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'gkp08evficl4zmdmontiob81w',
name: 'PRIMARY',
unique: true,
fieldIds: ['oionqkva8iryyxssd8nsk6h2q'],
createdAt: now,
},
{
id: 'ecfa2vp7afqzlt4q2m9wd14yv',
name: 'reminder_rules_account_id_foreign',
unique: false,
fieldIds: ['0luir2wr2srymxv6jioqqtiy6'],
createdAt: now,
},
],
color: '#9ef07a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'wn4978nj9cuu90tgrehfanc21',
name: 'emotions_secondary',
schema: 'monica',
x: 2190,
y: -220,
fields: [
{
id: '17dqrmz79b6mm80qm3tsw2kp4',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'qtmwaaarsnhzm57ldftbj5qi8',
name: 'emotion_primary_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '0ui58p5bk8zd13c6fbj40whht',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'xodrtxq0wusnrc8pt7n1akxi4',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'c7j7ikathdzbm5ex2bwvcx86j',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'a4qtm224doccj52sg69mlmr4h',
name: 'emotions_secondary_emotion_primary_id_foreign',
unique: false,
fieldIds: ['qtmwaaarsnhzm57ldftbj5qi8'],
createdAt: now,
},
{
id: 'j1g9m4tqxnsepha665m3xn8ns',
name: 'PRIMARY',
unique: true,
fieldIds: ['17dqrmz79b6mm80qm3tsw2kp4'],
createdAt: now,
},
],
color: '#8eb7ff',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'wu364ncbuty62lhbau2b0tnjl',
name: 'reminder_sent',
schema: 'monica',
x: 2150.9605814456804,
y: 1947.4801526634087,
fields: [
{
id: 'l44xfwc136qms36x513ikfke7',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'p1be1wtq28o3rf5veaw8w0tlj',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'iutx7duhpah3x6jfm85i2la61',
name: 'reminder_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'fvbg2gg7hpf131a7o1gjox026',
name: 'user_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'czymxrwirrcd2ch20cane4edv',
name: 'planned_date',
type: {
id: 'date',
name: 'date',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'f7c2m8k5x3i9otjm06e0bsfhg',
name: 'sent_date',
type: {
id: 'datetime',
name: 'datetime',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'hxvpm67uobsfhkdihajhdk8ji',
name: 'nature',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '7is9d6xzf9ndlxttckpfw73tj',
name: 'frequency_type',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'j0s5hg2kjqy132apoz4aj6k03',
name: 'frequency_number',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '9t6ujo6b4u7vum2y8001iofne',
name: 'html_content',
type: {
id: 'longtext',
name: 'longtext',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'bl9ep8krbrryaleasj8hpb9q5',
name: 'text_content',
type: {
id: 'longtext',
name: 'longtext',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'fjfboecosbvivgggduo5xqgvh',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '3y9fvlongw8qhqwev7bf3ojy6',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'ojjs0r1w0wj6tgbjhh01wsjm3',
name: 'PRIMARY',
unique: true,
fieldIds: ['l44xfwc136qms36x513ikfke7'],
createdAt: now,
},
{
id: '5toapyr6v6rzoch2f4psi63bj',
name: 'reminder_sent_account_id_foreign',
unique: false,
fieldIds: ['p1be1wtq28o3rf5veaw8w0tlj'],
createdAt: now,
},
{
id: 'e6aldo4rtm2hlj6mvdky93u9k',
name: 'reminder_sent_reminder_id_foreign',
unique: false,
fieldIds: ['iutx7duhpah3x6jfm85i2la61'],
createdAt: now,
},
{
id: 'av30268d31zhduxcj3pbu0wsa',
name: 'reminder_sent_user_id_foreign',
unique: false,
fieldIds: ['fvbg2gg7hpf131a7o1gjox026'],
createdAt: now,
},
],
color: '#8a61f5',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'wwt7wlhgs5efi3u63iblqbn6q',
name: 'default_contact_modules',
schema: 'monica',
x: 4500,
y: 1980,
fields: [
{
id: 'gi9ggryei2j1jrvgm64fhjicx',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'lizzmjnuke5wome99l1l4iptq',
name: 'key',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '5riv87umch1korgbilgrot8m9',
name: 'translation_key',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '01cfjxr3q5yxha0j75vb4g6a4',
name: 'delible',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'c20kbawz4amhy6n9x1yb6ob83',
name: 'active',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'a0ra5lms5ibzod2tuye8stm95',
name: 'migrated',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '0pg438t8i8oowe3rsrqi8rtdb',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '8sasybhq653p5l2duw2l7s3gg',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'seno8qswis3lov98uiomxf1cz',
name: 'PRIMARY',
unique: true,
fieldIds: ['gi9ggryei2j1jrvgm64fhjicx'],
createdAt: now,
},
],
color: '#8eb7ff',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'wx6ahwj7ds9kv0o2oez6v32ua',
name: 'contact_photo',
schema: 'monica',
x: 500,
y: 1033.0127018922194,
fields: [
{
id: 'wwpcmfc4x7dlssz7xuj8zddm4',
name: 'contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'f1iwxmc1ujjjrn4g4h6tnbpby',
name: 'photo_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'il2s4lvqt9k1eo34nf6r8bebr',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'zefebibzshutyuvr6hjo7vomm',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'thswj94f29ehcoi9k87xl62kd',
name: 'contact_photo_contact_id_foreign',
unique: false,
fieldIds: ['wwpcmfc4x7dlssz7xuj8zddm4'],
createdAt: now,
},
{
id: 'pohdq5yh0r9rr4vjslozklh8a',
name: 'contact_photo_photo_id_foreign',
unique: false,
fieldIds: ['f1iwxmc1ujjjrn4g4h6tnbpby'],
createdAt: now,
},
],
color: '#b067e9',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'wx6u0afbzrr9i8s2wwezgr50j',
name: 'api_usage',
schema: 'monica',
x: 2900,
y: 1980,
fields: [
{
id: 'uk9z6pzshmfg8tl76ficrxgop',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'fimpp3u9gice48ahykmpd9gsa',
name: 'url',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '53dyipdh874na6pas0zhch7t4',
name: 'method',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'ca2k1ezfnubq0tn81wkg5116o',
name: 'client_ip',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'f4x7aa3qra9fnfgsh3w5v9p1i',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'uvyxiilh7sf0x6beb17jpsfk5',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'y8nj8vttv2z7wqw9ggvxx8ggz',
name: 'PRIMARY',
unique: true,
fieldIds: ['uk9z6pzshmfg8tl76ficrxgop'],
createdAt: now,
},
],
color: '#ff9f74',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'x72i14wi3ha417cqvmd19rl77',
name: 'failed_jobs',
schema: 'monica',
x: 2900,
y: 2480,
fields: [
{
id: 'jjnnd91kfuhmhfs08s67amxn5',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '2qt2rmdwxnrb1vrv61twmtj3f',
name: 'connection',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'fryv503gone41zo61r4etufx5',
name: 'queue',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '90dbqnmtwscwaxv233tmdgrqv',
name: 'payload',
type: {
id: 'longtext',
name: 'longtext',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'ipf4i1vg4fz86eqyyux13yjji',
name: 'exception',
type: {
id: 'longtext',
name: 'longtext',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'sjf4exm1xkn2j8o5ogpomt2rl',
name: 'failed_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: 'j0iv2wlzxzmotixsxhv7xp35r',
name: 'PRIMARY',
unique: true,
fieldIds: ['jjnnd91kfuhmhfs08s67amxn5'],
createdAt: now,
},
],
color: '#c05dcf',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'xoanjr1ixpuu87jrdtqmx0dpd',
name: 'webauthn_keys',
schema: 'monica',
x: 2664.9930797179377,
y: 534.6892589368047,
fields: [
{
id: '00cm01msmf3wiuf2gipynapbx',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'ug0aybrmwjjaf06gxpks6ckue',
name: 'user_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '38vjuff98p79m8gg0u6cjsu6o',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'byt7m1kr966dgic1gk4lrnc2c',
name: 'credentialId',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '5ht68za2x3a81h0t6ttc4h1ww',
name: 'type',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'cyx3ovc6yxql6gq3dljvdmk7d',
name: 'transports',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'q95fshu0gx4hqbkfj4rdmtgqc',
name: 'attestationType',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'fo2yomftbjqbmw0nm6u31e7ls',
name: 'trustPath',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '4krp0w8nomo0tbj2ythbw4q5s',
name: 'aaguid',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'swbzha0hoq8xyrwswhwc6ko1u',
name: 'credentialPublicKey',
type: {
id: 'text',
name: 'text',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'p7cvi80t90m3oi846r502x2u4',
name: 'counter',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'xzo3ih6jprxc9893ah9bxcsaq',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'eigbzh4pf6dks5m9xafwn46i8',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'dsqy0rlbgh1ty55iaimhu15yv',
name: 'PRIMARY',
unique: true,
fieldIds: ['00cm01msmf3wiuf2gipynapbx'],
createdAt: now,
},
{
id: 'vwvzz62cnygq7pjc9ukc1sgmd',
name: 'webauthn_keys_credentialid_index',
unique: false,
fieldIds: ['byt7m1kr966dgic1gk4lrnc2c'],
createdAt: now,
},
{
id: 't4bpallull848i8xzibnlujb5',
name: 'webauthn_keys_user_id_foreign',
unique: false,
fieldIds: ['ug0aybrmwjjaf06gxpks6ckue'],
createdAt: now,
},
],
color: '#8a61f5',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'xvg79dlsrnwt4nppc1x1t03qo',
name: 'relationship_types',
schema: 'monica',
x: -904.5941546018394,
y: 145.40584539816092,
fields: [
{
id: '55ncyfm4yjz1zml9heu1y2yq5',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'wd00q2sr3lxelue9mu006s5pq',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '52py7qlfn9ku82w8igj41vr2g',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '9091cmc7y3x3bnaatlqjlr07e',
name: 'name_reverse_relationship',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'hpbllc9w158g050uo0pxaiotc',
name: 'relationship_type_group_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'cirfpxvtxy1pvjlv7k827yhzs',
name: 'delible',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'bpk3szoh73owpdd85kjw9ay94',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'nxt9835ps8axy36uwkn61kr3r',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: '4spibuy30w2lt02gkoq26vkz5',
name: 'PRIMARY',
unique: true,
fieldIds: ['55ncyfm4yjz1zml9heu1y2yq5'],
createdAt: now,
},
{
id: 'en1bcybymvgmj8dfctw13vtjf',
name: 'relationship_types_account_id_foreign',
unique: false,
fieldIds: ['wd00q2sr3lxelue9mu006s5pq'],
createdAt: now,
},
{
id: '3czrhzjjvut2m91la1arr99xx',
name: 'relationship_types_relationship_type_group_id_foreign',
unique: false,
fieldIds: ['hpbllc9w158g050uo0pxaiotc'],
createdAt: now,
},
],
color: '#8eb7ff',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'y3irdwpr17vgwmzgmrlyxt5su',
name: 'activity_contact',
schema: 'monica',
x: 500,
y: 600,
fields: [
{
id: 'tous79skfsa21kyfmw2fhmjh5',
name: 'activity_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'gilh5y14at32lhmkekfo351ax',
name: 'contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'o8vi387txxful55xstk0iq87p',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: '1ot46e1iuumpvqeljkryg2l6i',
name: 'activity_contact_account_id_foreign',
unique: false,
fieldIds: ['o8vi387txxful55xstk0iq87p'],
createdAt: now,
},
{
id: '3fxkzydvym2en1uxoahgewvgi',
name: 'activity_contact_activity_id_foreign',
unique: false,
fieldIds: ['tous79skfsa21kyfmw2fhmjh5'],
createdAt: now,
},
{
id: 'jf6gyn3cfq71q66kcteju1px8',
name: 'activity_contact_contact_id_foreign',
unique: false,
fieldIds: ['gilh5y14at32lhmkekfo351ax'],
createdAt: now,
},
],
color: '#ff6b8a',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'yb3gl2l6krcj1k9jm7qrfhmjc',
name: 'gifts',
schema: 'monica',
x: 1275.7359312880715,
y: 2507.2767706041477,
fields: [
{
id: 'azudivr10x1yvxc726v6ty1hy',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'ptpvo22wtkbqk41ak2bhbjohu',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '791letcbknowdsgkuic51gbtt',
name: 'contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'n99ynhmelepmxsxw06xkkqzpm',
name: 'is_for',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'ay8nwlg9nhkl17b8lcijtbg95',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'eleukzymrpljlmp22v90w7o85',
name: 'comment',
type: {
id: 'longtext',
name: 'longtext',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'ch45snf5qo6va2bgh94u3dk78',
name: 'url',
type: {
id: 'longtext',
name: 'longtext',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'f9ggmg2eb68fx3hp07tn3kwi4',
name: 'value',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: true,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'jcuyzvhumugjgjzwzfkgyg9p2',
name: 'status',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '5nmgf6f4n1a8sezpog61vhndo',
name: 'date',
type: {
id: 'datetime',
name: 'datetime',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'e3fqfeft9s7xt4yydqmvbparf',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'z55ck5fib6vdpo12919oa2zjq',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: '4j02bdaptq0e4tvc5hk08j4ed',
name: 'gifts_account_id_foreign',
unique: false,
fieldIds: ['ptpvo22wtkbqk41ak2bhbjohu'],
createdAt: now,
},
{
id: 'h4d7fwczg8x6ixltvh8y0zwl1',
name: 'gifts_contact_id_foreign',
unique: false,
fieldIds: ['791letcbknowdsgkuic51gbtt'],
createdAt: now,
},
{
id: 'y8f54c79tehqjpu3s8dpkgc14',
name: 'gifts_is_for_foreign',
unique: false,
fieldIds: ['n99ynhmelepmxsxw06xkkqzpm'],
createdAt: now,
},
{
id: 'aqdf7c9h5y3blvkk4hypbyfmz',
name: 'PRIMARY',
unique: true,
fieldIds: ['azudivr10x1yvxc726v6ty1hy'],
createdAt: now,
},
],
color: '#ffe374',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'ybt8qpx9xdmm4v2xx8zjygq4x',
name: 'journal_entries',
schema: 'monica',
x: -1356.3839808531884,
y: 1196.4814601009796,
fields: [
{
id: 'dnni8fmseflq4dixfuauju1nf',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: '9x0dkjitgg6vg3f86mypedyx8',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'jp8nuy6k9rs4580wppzmmg4hs',
name: 'date',
type: {
id: 'datetime',
name: 'datetime',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'h2tdjavwh5q0rsx30z8qil8np',
name: 'journalable_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '31nsfxxvxw5laexaaoq6jdxsp',
name: 'journalable_type',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: '9x4a9sh7utyteouit0487qerf',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: '3rlwecvv3cbg9imv12am6xus8',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'z5lklulqyw5izt7mb7k65395k',
name: 'journal_entries_account_id_foreign',
unique: false,
fieldIds: ['9x0dkjitgg6vg3f86mypedyx8'],
createdAt: now,
},
{
id: 'xf6krovl2gbekavp8v59ers98',
name: 'PRIMARY',
unique: true,
fieldIds: ['dnni8fmseflq4dixfuauju1nf'],
createdAt: now,
},
],
color: '#ffe374',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'yfblz7bmuhj6qf0c777ynuc7x',
name: 'contact_fields',
schema: 'monica',
x: 2486.3703305156273,
y: 1529.4095225512604,
fields: [
{
id: 'd1apmiqhy7nmumd7slgo0noz2',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'assk6npl46t1g6cogrrrbzetz',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '91n8p2ariv86afm58uiaqalsu',
name: 'contact_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'o8v9i9f8z11wyqkzm5fiek816',
name: 'contact_field_type_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'h5vkns4zjsk6poy01t0sr70vy',
name: 'data',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'eomtjucek8uljdu33m1clz9ue',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'ib5ja6qzusuw7iukafuimpui8',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'fxc7a6c05q5xewn6h5pmwf7cz',
name: 'contact_fields_account_id_foreign',
unique: false,
fieldIds: ['assk6npl46t1g6cogrrrbzetz'],
createdAt: now,
},
{
id: '97v5qsj8hppsah0frey2l4aut',
name: 'contact_fields_contact_field_type_id_foreign',
unique: false,
fieldIds: ['o8v9i9f8z11wyqkzm5fiek816'],
createdAt: now,
},
{
id: 'emrk59qs2xiddfakisnfm4hfr',
name: 'contact_fields_contact_id_foreign',
unique: false,
fieldIds: ['91n8p2ariv86afm58uiaqalsu'],
createdAt: now,
},
{
id: 'q6cdbh1ytc10g7h8lrdkgf8t6',
name: 'PRIMARY',
unique: true,
fieldIds: ['d1apmiqhy7nmumd7slgo0noz2'],
createdAt: now,
},
],
color: '#ff9f74',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'ykn1d5wyqjv6brx1swwe8lpqy',
name: 'jobs',
schema: 'monica',
x: 3700,
y: 2480,
fields: [
{
id: '2hs04nh5ika2ls0ssrtaz3wtr',
name: 'id',
type: {
id: 'bigint',
name: 'bigint',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'yj67qmp23js46vufh1gwu7gmt',
name: 'queue',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'xvzfa3svb1mxl21jqzm6rcvgr',
name: 'payload',
type: {
id: 'longtext',
name: 'longtext',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'gsgcl7k1akmeweyil8auke2bu',
name: 'attempts',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'p39jxk95ewlasnlz4putno19v',
name: 'reserved_at',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'osdn9h5sb70p9u4rhvngl0uue',
name: 'available_at',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'gko45tu7g2vybbbgw29w74yip',
name: 'created_at',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
],
indexes: [
{
id: 'hkw9fax3ygl9genj716hynclu',
name: 'jobs_queue_reserved_at_index',
unique: false,
fieldIds: [
'yj67qmp23js46vufh1gwu7gmt',
'p39jxk95ewlasnlz4putno19v',
],
createdAt: now,
},
{
id: 'pqkmtuokqjcr9zfo8gsgjxeqe',
name: 'PRIMARY',
unique: true,
fieldIds: ['2hs04nh5ika2ls0ssrtaz3wtr'],
createdAt: now,
},
],
color: '#42e0c0',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'z1dv5dtaxesojm347v1qgwden',
name: 'emotions_primary',
schema: 'monica',
x: 1790,
y: -220,
fields: [
{
id: 'b8s6t3u5o5ozx2rjy7fqbicwj',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'nxuoxn7hc5qqphon317hg61xi',
name: 'name',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'o967jbe18506vupc47pt2hp66',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'fppgagsm5gvlshiphk1clhcej',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'apg5fsel4ujswt3y23iv9734u',
name: 'PRIMARY',
unique: true,
fieldIds: ['b8s6t3u5o5ozx2rjy7fqbicwj'],
createdAt: now,
},
],
color: '#c05dcf',
isView: false,
isMaterializedView: false,
createdAt: now,
},
{
id: 'zllblfpmuq87zkubyokt4fz0e',
name: 'modules',
schema: 'monica',
x: -1387.267407012788,
y: 411.74490092936696,
fields: [
{
id: 'u5h7tu3pwsbvzw1a2jpxg67vd',
name: 'id',
type: {
id: 'int',
name: 'int',
},
primaryKey: true,
unique: true,
nullable: false,
createdAt: now,
},
{
id: 'x3oabnlun77hizx6mqy2pdimi',
name: 'account_id',
type: {
id: 'int',
name: 'int',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: '273mek7hzw0osvakig5fl33ud',
name: 'key',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'alj8p3qa4chutfuk86o16d4g2',
name: 'translation_key',
type: {
id: 'varchar',
name: 'varchar',
},
primaryKey: false,
unique: false,
nullable: false,
collation: 'utf8mb4_0900_ai_ci',
createdAt: now,
},
{
id: 'ohvj2g9duegn4krjxjwxglxjz',
name: 'active',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'fnjc2sn9lyof38rfo9res5wji',
name: 'delible',
type: {
id: 'tinyint',
name: 'tinyint',
},
primaryKey: false,
unique: false,
nullable: false,
createdAt: now,
},
{
id: 'btx0fde3nfoed6p0fadjcdxq9',
name: 'created_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
{
id: 'yat5b2zx95a9zwz9g9kdjow0f',
name: 'updated_at',
type: {
id: 'timestamp',
name: 'timestamp',
},
primaryKey: false,
unique: false,
nullable: true,
createdAt: now,
},
],
indexes: [
{
id: 'ohntc3rpq6ehczyksc4vah2ps',
name: 'modules_account_id_foreign',
unique: false,
fieldIds: ['x3oabnlun77hizx6mqy2pdimi'],
createdAt: now,
},
{
id: 'ewfr40mlh2nif8d4l9v54ezms',
name: 'PRIMARY',
unique: true,
fieldIds: ['u5h7tu3pwsbvzw1a2jpxg67vd'],
createdAt: now,
},
],
color: '#42e0c0',
isView: false,
isMaterializedView: false,
createdAt: now,
},
],
relationships: [
{
id: '0356pcigqj1ltc62oec43vh3g',
name: 'activities_activity_type_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '2ezsg10jkalrwhi8ayaumds82',
targetTableId: 'g9799psycp9vxp6g4y9wiyicq',
sourceFieldId: '5r68qw3eriwwycmy0r6zs5bct',
targetFieldId: 'b8ffanauiknoykouf9bq3muuj',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '06zohoq3z2mks4rfqz1brhun2',
name: 'special_dates_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'fhe7tfkplxd73su31tu8jxi8v',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: 'zq1tfonsv5godr46zngkggejp',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '0qoy9l8pwsl1clyktecy4x9ob',
name: 'contact_photo_photo_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'wx6ahwj7ds9kv0o2oez6v32ua',
targetTableId: 'n9sw1fm35q45gyasxcb9knigg',
sourceFieldId: 'f1iwxmc1ujjjrn4g4h6tnbpby',
targetFieldId: 'vzfcln9nhehgnk33mxf120ub3',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '13mhhierlajtvhugegx2x0768',
name: 'photos_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'n9sw1fm35q45gyasxcb9knigg',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'ixtiqcr5bok3qylovlj3ewfk6',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '13zx37kf3bq1qco7uzu79sfvw',
name: 'import_job_reports_import_job_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'u08ccqros63emkp40b6ph4s5c',
targetTableId: 'jxdhlhtf01xdrus9szbg27nwk',
sourceFieldId: 'r4n1jajco5zmr035f5yyt29hj',
targetFieldId: '7tyg1kava0cj665365b4w0svv',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '1jdp7chjg1az5qwkvg64daiwo',
name: 'emotion_activity_emotion_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'lwj7zy5q8b3ekb5hy4ivhqzmr',
targetTableId: 'adrrm3yigiokzfkno5qohe1e1',
sourceFieldId: 'zczclm2qwmnlb6muh4zz124h6',
targetFieldId: 'oa9re4z1nysdbv1jr71l7y5kg',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '1xbwp8in844wtslpjqyegplml',
name: 'life_events_life_event_type_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'rph6z9jxz8v25trujdqyh02iz',
targetTableId: 'ps5mn2d71mhigbllgzxzs4kfb',
sourceFieldId: '1vgff1kqh59c2obrfhofn14bb',
targetFieldId: 'u4xnc2lwjxxb4yipljx8pc2wm',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '2apj3r0rorrnq7fx7wpqo1pf9',
name: 'synctoken_user_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '80scipcg0bsxbikhzdm0zhdfb',
targetTableId: 'qnm2tjfjphximkl1sbrbehie1',
sourceFieldId: 'qdhjdlyqzxvgxy78db8rgxp7s',
targetFieldId: '323tf1rhetkr8ru3bjq47dszz',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '2c55zgncd3s3tuwwlpwr65182',
name: 'sessions_user_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'vud0r5q7apg4k5t8qrk6wjphc',
targetTableId: 'qnm2tjfjphximkl1sbrbehie1',
sourceFieldId: '76s83holvi1mzi608oc4yzs4l',
targetFieldId: '323tf1rhetkr8ru3bjq47dszz',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '2eo7sesdrjg3117sy951rz66g',
name: 'reminder_sent_reminder_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'wu364ncbuty62lhbau2b0tnjl',
targetTableId: 'rx5py0eer11olnimamdq01mam',
sourceFieldId: 'iutx7duhpah3x6jfm85i2la61',
targetFieldId: 'rfkayotuzwx4ninsab038ouk2',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '2h1th9rfykugkh29klrf09zgu',
name: 'users_invited_by_user_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'qnm2tjfjphximkl1sbrbehie1',
targetTableId: 'qnm2tjfjphximkl1sbrbehie1',
sourceFieldId: 'ff0ovdhsj61nfy0xaylfsru7g',
targetFieldId: '323tf1rhetkr8ru3bjq47dszz',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '2m0obdazj4l1apeztkis29gw9',
name: 'life_events_reminder_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'rph6z9jxz8v25trujdqyh02iz',
targetTableId: 'rx5py0eer11olnimamdq01mam',
sourceFieldId: 'qc9ua6ivy0xniwf39aprr5s3w',
targetFieldId: 'rfkayotuzwx4ninsab038ouk2',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '2zbex4soyal87e3ukxsf3yunq',
name: 'conversations_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'vpxwwf903e3js6yw3cmyznvvx',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: '2pmrj30dzrq4gu6idh0zux8ei',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '319q5mpyichp5crn3d7d20izl',
name: 'notes_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '2q104qgiobz1oddaodyjco5hd',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: 'vjbyi4csv28bsc3jdknjzc3r5',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '34oty09enfytnwme4oxnah4ia',
name: 'emotion_call_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '396ft1lfmydo80dcs78azy4fy',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: 'ov48v2tjgj8ylp7cjszifxip7',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '36cb8fu08xq3g84puds6my8z1',
name: 'activity_contact_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'y3irdwpr17vgwmzgmrlyxt5su',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'o8vi387txxful55xstk0iq87p',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '39vjsczobbvy7dtfn42474bou',
name: 'emotions_secondary_emotion_primary_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'wn4978nj9cuu90tgrehfanc21',
targetTableId: 'z1dv5dtaxesojm347v1qgwden',
sourceFieldId: 'qtmwaaarsnhzm57ldftbj5qi8',
targetFieldId: 'b8s6t3u5o5ozx2rjy7fqbicwj',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '3jh2g5frqhtcnuywszepfuilk',
name: 'term_user_user_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'nleq1ibh1795e9a3o97pwh3xe',
targetTableId: 'qnm2tjfjphximkl1sbrbehie1',
sourceFieldId: 'fdycd4le5wuva06figtqtmq2x',
targetFieldId: '323tf1rhetkr8ru3bjq47dszz',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '3w4yvno78arfszhriz9bczhlx',
name: 'conversations_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'vpxwwf903e3js6yw3cmyznvvx',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'x7xd00wz2mkaf9ldfxyp3bk3z',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '3wvz0jovim1pw41icnjxqd1mw',
name: 'life_event_types_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'ps5mn2d71mhigbllgzxzs4kfb',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'ggxbnwln7mbztaw3wjxa7rrri',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '43ygjc14pw77f49z6qfvuqopb',
name: 'emotion_activity_activity_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'lwj7zy5q8b3ekb5hy4ivhqzmr',
targetTableId: '2ezsg10jkalrwhi8ayaumds82',
sourceFieldId: 'm7mxm50fz1hi2swg4z24mzgrn',
targetFieldId: 'tia8kk26e9b9v4hcorfrqlq3p',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '46sr2u4owm4dzy5nr86rsiinu',
name: 'relationships_of_contact_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'iiof996jziigci4mplb51fxo1',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: 'osqw8wq53jymjctjsx05ad5fn',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '4dw38htmxcuj8ljekkh6dj3za',
name: 'genders_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'jvhmgkovpe3c1uqk7mi8efah9',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'mn4605s5sxxk5x1b9r4mdhyg5',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '4i46e9o9t71g0mwtqzuh0zb2l',
name: 'tasks_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'a85c08byvmlhcgmj9i6nbxgy8',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: '6ognnzzm1zycguq35ldrzp40w',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '58dmwe7q9n9opjau6ozssleo3',
name: 'weather_place_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'gfdzqmt9ibtny7k4ew4kgq4mn',
targetTableId: 'pt0n1b722zvb4yja8i2poguae',
sourceFieldId: '6y1013dhadzh4zhslvm31v2st',
targetFieldId: 'gvlilgqa93pmaszxgomu13nzb',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '68dlz5cn9hro6chiqxveyl0ja',
name: 'contact_fields_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'yfblz7bmuhj6qf0c777ynuc7x',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'assk6npl46t1g6cogrrrbzetz',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '6fxzu4s6l97wji1s2ycaemdd1',
name: 'reminder_outbox_reminder_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'i9dfzx3rs0bcbdviy4amd6eyh',
targetTableId: 'rx5py0eer11olnimamdq01mam',
sourceFieldId: '5ftsy537yo1fft18gu8astuvd',
targetFieldId: 'rfkayotuzwx4ninsab038ouk2',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '708gshrchfxchrdnyk06bmsw2',
name: 'life_events_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'rph6z9jxz8v25trujdqyh02iz',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: '70fedlgz9hrk9rep6rlg0l7wf',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '7475b8lu4h4w7h2ms1pmlaf9f',
name: 'contact_field_types_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '8a3brjk6l866tiavvdglp4bs3',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'ksxd2bxizb8zsk2xbz7lhu12a',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '7a5mtbbd6srbm39xfrhsqqzxc',
name: 'emotion_call_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '396ft1lfmydo80dcs78azy4fy',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'vuxkz7md5a20asbi05khrtf9a',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '7fc1xy16ahednulcnglwb7t4j',
name: 'address_contact_field_label_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'dyulv16i6fspuczd274w471v2',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'k2pqmnr2s9ohzhopjqr6ldzl7',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '7q0t90smza66bppj8mu211iqs',
name: 'audit_logs_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'aufbk0zunowqnxqvlztn1mk14',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'acspdu1rfs88eddhya4gwp959',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '7q86zrcdteix1iw22b7l98v7a',
name: 'notes_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '2q104qgiobz1oddaodyjco5hd',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'bsu2uzn0g049h1ui3jekn8onz',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '8nmyemz068volve97pj6pq6sc',
name: 'subscriptions_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '6ckwqmssuxo5pukhszmhnigcw',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'gnz23buvh2hw42665xnt3tzqq',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '8yieckxjkztap22bybspb5vm1',
name: 'contact_field_contact_field_label_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '5wwnk3epibvkzkkzdqyaxefoo',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'fz3oco83w55d17g2wxfbh5cp6',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '91ix4ndd1zpok3mqrrcvzcg1g',
name: 'term_user_term_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'nleq1ibh1795e9a3o97pwh3xe',
targetTableId: 'kmz9vrg3kvgnl7e1wxwj0v3v1',
sourceFieldId: 'es5jy6pns8ohrouv1if97x2e9',
targetFieldId: '6vryypu214lijhkstbzdeui1r',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '9f27aw20j4jzg9pmwsa69o03u',
name: 'activity_types_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'g9799psycp9vxp6g4y9wiyicq',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'm13ozzsrd83vl292myx5sf89r',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: '9tja8tlm0t5qx8woz11x08uqk',
name: 'occupations_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'dr2wlpiqfs05cz1sgf24gcojw',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'alkjutnh0f1sie0n35yr71zh6',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'a1rz894rkc4f8oixyri2pi0ee',
name: 'gifts_is_for_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'yb3gl2l6krcj1k9jm7qrfhmjc',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: 'n99ynhmelepmxsxw06xkkqzpm',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'aj70h8n2xm7427vvs6daqvrqd',
name: 'contact_field_contact_field_label_contact_field_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '5wwnk3epibvkzkkzdqyaxefoo',
targetTableId: 'yfblz7bmuhj6qf0c777ynuc7x',
sourceFieldId: 'pidj0sc6a7s29rptq4vj6blm3',
targetFieldId: 'd1apmiqhy7nmumd7slgo0noz2',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'ay9e430gfk0zg3da4ebza7mne',
name: 'activity_contact_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'y3irdwpr17vgwmzgmrlyxt5su',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: 'gilh5y14at32lhmkekfo351ax',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'b3886pyqsqcvud66a0kcqjzr5',
name: 'conversations_contact_field_type_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'vpxwwf903e3js6yw3cmyznvvx',
targetTableId: '8a3brjk6l866tiavvdglp4bs3',
sourceFieldId: 'y3jf9nnn4lsp2nu2poqn5z140',
targetFieldId: 'in9u161q6g99u7ypn4oi60jvu',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'baet189e9y120rn7ax10wt78r',
name: 'relationship_types_relationship_type_group_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'xvg79dlsrnwt4nppc1x1t03qo',
targetTableId: 'tswh9owbaur4etkfwj2vpc7hq',
sourceFieldId: 'hpbllc9w158g050uo0pxaiotc',
targetFieldId: '17mvy0ttxxttt0mph6qaoc16d',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'bgyuwj9zozfiqksd4xjayt2qs',
name: 'users_me_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'qnm2tjfjphximkl1sbrbehie1',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: 'ejd2wl5vczvqwerf037nyd6rd',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'bmh0gzaut5hriy2i8zn0kjm0m',
name: 'address_contact_field_label_contact_field_label_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'dyulv16i6fspuczd274w471v2',
targetTableId: '72nldbxqzpy0y4kt9m2uqjzt7',
sourceFieldId: 'cw4omifebauwkbks3bzugcvnq',
targetFieldId: '3q8p199pmsnejefeyei0rqpgd',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'cebvcwk65yjhx1ountdvstgo7',
name: 'pets_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'v60bmjtx8obierhsdqkvsum9h',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: '69usxpvu43wdts9hkur0vxy13',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'cpnudktqpm23creupcn60gypx',
name: 'companies_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '8c4tpzrkawbn3gxzitujv957g',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: '5s0ugqb9r1367d9uqauh0wm2i',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'd25ay2rkmqvisyf08gj76i92u',
name: 'debts_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'm78s9roaddhmt5g5yjglbds6j',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: 'vlkfmtscxlcfykrvk9boe8z2d',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'db93ke101562na4u31kx4sj0j',
name: 'debts_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'm78s9roaddhmt5g5yjglbds6j',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'aom4m7txg1vzeq8ecq89sa5f9',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'dh84xo3o0sian76byzt09i35j',
name: 'contact_tag_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '8ole580zqnbz8lug0j80mg8lk',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'pdndw584o9m2irhx12s1tlfqv',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'dkbn39qpwy4x0o5nlnsjtz2tp',
name: 'life_event_categories_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '4r0ee44ymz2byvjoxgvg8miz2',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: '5nuk7gu548xg6tbb776h44l8a',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'dn8g7eax7zmx43ztyr6xkyhgp',
name: 'gift_photo_photo_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'egnsfprhiva3a7nw1ubmobnuh',
targetTableId: 'n9sw1fm35q45gyasxcb9knigg',
sourceFieldId: 'gb2oqfxj9bitjgkghditvvyn5',
targetFieldId: 'vzfcln9nhehgnk33mxf120ub3',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'dpjbnt2erc9tom5j8ttohp44y',
name: 'contact_field_contact_field_label_contact_field_label_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '5wwnk3epibvkzkkzdqyaxefoo',
targetTableId: '72nldbxqzpy0y4kt9m2uqjzt7',
sourceFieldId: 'z79xy5gxh8nw9r47y3x7fe0a9',
targetFieldId: '3q8p199pmsnejefeyei0rqpgd',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'e13wiaz5osenq45znwy1qolxn',
name: 'calls_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '7vlenb916r3luci2iarw2vtoc',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: '4ugbp497kcoij5r792nfmhebz',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'e8qeyt2ae8nup46puwi2r0rwo',
name: 'activities_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '2ezsg10jkalrwhi8ayaumds82',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'a4zac86zcao3mm1uxh1qk5afm',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'ehiaacc6v36c89f79o2bpde1z',
name: 'term_user_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'nleq1ibh1795e9a3o97pwh3xe',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'heeei9rznhaglikesesoet54q',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'ehnv4zi27qk9cyycsheb0s24e',
name: 'relationships_relationship_type_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'iiof996jziigci4mplb51fxo1',
targetTableId: 'xvg79dlsrnwt4nppc1x1t03qo',
sourceFieldId: 'i54uaxd0jmshdgv91q81t7x0y',
targetFieldId: '55ncyfm4yjz1zml9heu1y2yq5',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'eni15kup8r26xaxvoikomxea1',
name: 'invitations_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'msr1aor1ovk3xe9be6ilcj70y',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'wg2qx9x6ateoi1j18q4s26s6b',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'eobk9pei965tgxwjeujw4ci9l',
name: 'reminders_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'rx5py0eer11olnimamdq01mam',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: '8ynvup2rh52exi2stfb3n8yr7',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'fmh8fw2xavu5g68rb25asyaq4',
name: 'documents_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'o3lk4zp7d9qtjjhp3tx2s3ob1',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'k4030gg04hgwckeljp9l33zgk',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'g18tc9w7rvj4smf9qs8c58swr',
name: 'reminder_outbox_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'i9dfzx3rs0bcbdviy4amd6eyh',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'faa8wzc4q8q6mus05oorfwxzn',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'g5xceb55uq7z31me6w97ei12y',
name: 'reminder_sent_user_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'wu364ncbuty62lhbau2b0tnjl',
targetTableId: 'qnm2tjfjphximkl1sbrbehie1',
sourceFieldId: 'fvbg2gg7hpf131a7o1gjox026',
targetFieldId: '323tf1rhetkr8ru3bjq47dszz',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'g84v2j5jtgxdd12w7qxo1sxrt',
name: 'modules_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'zllblfpmuq87zkubyokt4fz0e',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'x3oabnlun77hizx6mqy2pdimi',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'h3ck3hh7e0b490b7vhks3840c',
name: 'messages_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'lhq77mpxkjsc0p14hxtyc6isp',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: 'nkxd786r9wybdl6zwx1jpr04t',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'h6d1z5u1tltkq18oxxkbitao2',
name: 'life_events_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'rph6z9jxz8v25trujdqyh02iz',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: 'bab9k7ld8vques734evm2j57i',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'hbuwye2x8pfdjsrsw8p6hv6us',
name: 'address_contact_field_label_address_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'dyulv16i6fspuczd274w471v2',
targetTableId: 'mbwz3dxyegzvkx1epozc7wa0u',
sourceFieldId: 'wk991moya9e6b0bbrqo3eebif',
targetFieldId: 'j3900c89cgx60wtdcshwlv6gy',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'he2j9yqkoo2797brm98515sjy',
name: 'u2f_key_user_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'ao8sgnsn49zu3qrru6u0wzvua',
targetTableId: 'qnm2tjfjphximkl1sbrbehie1',
sourceFieldId: 'ltmw6291503sg62gxslmnwf47',
targetFieldId: '323tf1rhetkr8ru3bjq47dszz',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'iwblu3sdi2jbyr5an97lahtfh',
name: 'recovery_codes_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'vmc39xjpb9ee7z3cwfvw5lu9k',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'gzz1f7ruypyixx10aeq0sboej',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'k4k151x0txxdulc1vevdiz2vb',
name: 'contact_tag_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '8ole580zqnbz8lug0j80mg8lk',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: 'rlv90f47sy4zy5ae2of78bpb1',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'kdqq4t7v4djs7tp3cfy4dhgrt',
name: 'entries_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'qlb6cpxhcd4yeejktecblfu3a',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: '6di773qsfx8ze6rizbhk8ykl6',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'ky3s5zeksycz98y56ij58q8s3',
name: 'contact_field_labels_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '72nldbxqzpy0y4kt9m2uqjzt7',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'vq2ffoha5zrxpcc6wipuvp5jg',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'loatkaadiiywz4zzp2lbhmikl',
name: 'import_jobs_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'jxdhlhtf01xdrus9szbg27nwk',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'jk0ejoskr1wzmssxrl4uadcdf',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'm6gj3832ww0lz7eegxdtxnf4h',
name: 'import_jobs_user_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'jxdhlhtf01xdrus9szbg27nwk',
targetTableId: 'qnm2tjfjphximkl1sbrbehie1',
sourceFieldId: 'c0wrda6mmsga0m80wsm3darsq',
targetFieldId: '323tf1rhetkr8ru3bjq47dszz',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'mh3j2dy0bgj44cp5tlppj5lk4',
name: 'journal_entries_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'ybt8qpx9xdmm4v2xx8zjygq4x',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: '9x0dkjitgg6vg3f86mypedyx8',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'mmnsal0pbezjumtm78zsfh0n6',
name: 'tags_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'rkkdg3v14enrutp57sep8k5ds',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'bdq40b7isid3z6dhzjiuoceqq',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'mnk4bbqc3pa742ab4cew66jgv',
name: 'relationship_type_groups_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'tswh9owbaur4etkfwj2vpc7hq',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'kage1ayhfdamqxyz9aslhdo3q',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'mpphyi20mfg6wefxk16r7ji0h',
name: 'recovery_codes_user_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'vmc39xjpb9ee7z3cwfvw5lu9k',
targetTableId: 'qnm2tjfjphximkl1sbrbehie1',
sourceFieldId: '9cwzsfg9wo3e00x3w0agjme5o',
targetFieldId: '323tf1rhetkr8ru3bjq47dszz',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'msyf668m9chjihti3vwjyiwmj',
name: 'reminder_rules_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'webof21lttq6q2qb6lruas2qq',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: '0luir2wr2srymxv6jioqqtiy6',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'n191k5gqiueh3bzn5c6thewc4',
name: 'contacts_gender_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '5zymo5zxmgtgrrkqkwbiasify',
targetTableId: 'jvhmgkovpe3c1uqk7mi8efah9',
sourceFieldId: 'cb964v1v9n2mtgy8njwvtwwnu',
targetFieldId: 'wrgzahw9tc8cb8f2550t8g32m',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'ncdghca1ee8vnc42qjblihnco',
name: 'messages_conversation_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'lhq77mpxkjsc0p14hxtyc6isp',
targetTableId: 'vpxwwf903e3js6yw3cmyznvvx',
sourceFieldId: 'f26j4bvbzqskd4rgzvgg0r4fz',
targetFieldId: 'nugfxxgboh9kf9u94oauovhvp',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'o2l356iw836ohc79h44lwex6g',
name: 'activity_type_categories_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'fingxcqfdio2a8cjxus62t8x1',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'wp5acqosgbeijs3wnwas0ry6h',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'oowk2qt3knlla9uj6gqr4sizj',
name: 'documents_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'o3lk4zp7d9qtjjhp3tx2s3ob1',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: 'x589r3rfqpil2f68pqq18tna2',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'ovhykp2mwvle0xefes9a8gt4g',
name: 'contact_fields_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'yfblz7bmuhj6qf0c777ynuc7x',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: '91n8p2ariv86afm58uiaqalsu',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'p59akr8t2da3so3etkkm5xqaz',
name: 'default_relationship_types_relationship_type_group_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'pbevxy8oetclo9utignkiflkx',
targetTableId: 'tswh9owbaur4etkfwj2vpc7hq',
sourceFieldId: 'svh63g721pujvtlsgg5et70yi',
targetFieldId: '17mvy0ttxxttt0mph6qaoc16d',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'pczm91hcmysc33coa9a93zeru',
name: 'pets_pet_category_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'v60bmjtx8obierhsdqkvsum9h',
targetTableId: 'c9g84zb1ubirudws38xjhu1f4',
sourceFieldId: 'qp8jzosb5pfcuxpyjwaftj4m0',
targetFieldId: '3nh1ditvxlz5b74dy3wh0j73e',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'pgk4c5npk6hjb1akolv7oihu1',
name: 'contact_photo_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'wx6ahwj7ds9kv0o2oez6v32ua',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: 'wwpcmfc4x7dlssz7xuj8zddm4',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'ptpuqpk84z0kzakkhppl49sy8',
name: 'users_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'qnm2tjfjphximkl1sbrbehie1',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'hvzwu93vf7gdpo3ro4tu0uwr7',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'pusy5lw8nc4njxmg1xty88gbw',
name: 'gift_photo_gift_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'egnsfprhiva3a7nw1ubmobnuh',
targetTableId: 'yb3gl2l6krcj1k9jm7qrfhmjc',
sourceFieldId: '5yvnu91rkiow6d04ydp9oqc1v',
targetFieldId: 'azudivr10x1yvxc726v6ty1hy',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'q1hbxzmss4u62t67niflamess',
name: 'activity_contact_activity_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'y3irdwpr17vgwmzgmrlyxt5su',
targetTableId: '2ezsg10jkalrwhi8ayaumds82',
sourceFieldId: 'tous79skfsa21kyfmw2fhmjh5',
targetFieldId: 'tia8kk26e9b9v4hcorfrqlq3p',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'q5y1aigmrvi33cytwqryu7m6j',
name: 'metadata_love_relationships_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'edk5cjh7f6uu4sr266xi5111y',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'uyo2bt2bj9oo8jjohqa3wcc59',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'q7lu03tc01m6qv972004067zp',
name: 'pets_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'v60bmjtx8obierhsdqkvsum9h',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'qx2fbha0z3407veowvr73cmk3',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'qv7q96cemoc3v1vhxzn9q8fbs',
name: 'default_activity_types_default_activity_type_category_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'kdkfd81gzbxoh3lyhdnebqz84',
targetTableId: 'rkkw6uq43lk0h6qadzgwk9s9k',
sourceFieldId: 'oys61mpcdwwh2hegqzgq8ahqf',
targetFieldId: 'jdhixnrv58uiw1bsojywkmq6x',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'rn0p08j25x55gu0zrs0q828pf',
name: 'relationships_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'iiof996jziigci4mplb51fxo1',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'b0of2hx8gz0qeksci9fkne0nh',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'ro4b9qsuvialntgm0r7ahdkcz',
name: 'tasks_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'a85c08byvmlhcgmj9i6nbxgy8',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'b999yh9gmf8zfucdzhytepg5e',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'rox0yx1sc84aok268txbmhrme',
name: 'life_event_types_life_event_category_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'ps5mn2d71mhigbllgzxzs4kfb',
targetTableId: '4r0ee44ymz2byvjoxgvg8miz2',
sourceFieldId: 'ehmi6qe7tniyy3sh3uqxsojwl',
targetFieldId: 'ferud2z75087tvlug15r2if23',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'rpc1nglouskk7x74j3hpvw855',
name: 'addresses_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'mbwz3dxyegzvkx1epozc7wa0u',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: 'bf4uf7kijocjd88sd0306gnhe',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 's7rfbk8t61u0dob3dryqr11k6',
name: 'occupations_company_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'dr2wlpiqfs05cz1sgf24gcojw',
targetTableId: '8c4tpzrkawbn3gxzitujv957g',
sourceFieldId: 'dhavgilnd6bajhdfmwarl283f',
targetFieldId: 'mu4sqikzntlayjrybqtuewwqk',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 's8vssxzl2a6w9bkssjxckjoth',
name: 'addresses_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'mbwz3dxyegzvkx1epozc7wa0u',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'ribkk1mzgnnbq2libmf9nj7vh',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'saalbjkn8yyc3hzhxlv9966gv',
name: 'relationships_contact_is_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'iiof996jziigci4mplb51fxo1',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: 'y7ewhx9gjicl0t8lzswvz6u64',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'sfs164zd5dq276w2h76ku65ax',
name: 'special_dates_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'fhe7tfkplxd73su31tu8jxi8v',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'd2iej8bxwe6mw2atatw6d4vjs',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 't2hug1r5q5wzg1964wmu0onbd',
name: 'places_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'pt0n1b722zvb4yja8i2poguae',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: '5b07m1me1o4fwclav5c8jv4z0',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'teshfnez801ktayznlmg13d10',
name: 'days_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '3lnrdvcntaz8c7uy93xkntkz7',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'j66m88x9mgy8jitlcryi9te8c',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'tiltq5wnu1qrznpbgj9bs9zw2',
name: 'messages_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'lhq77mpxkjsc0p14hxtyc6isp',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'z1wy7byduzvg94ak3b9r5bb5p',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'tm5sspf3pbv1f7znp6560ejdl',
name: 'reminder_sent_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'wu364ncbuty62lhbau2b0tnjl',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'p1be1wtq28o3rf5veaw8w0tlj',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'trzz0ac3nie7ynwnf479rjylr',
name: 'metadata_love_relationships_relationship_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'edk5cjh7f6uu4sr266xi5111y',
targetTableId: 'iiof996jziigci4mplb51fxo1',
sourceFieldId: '3uj2usbmfda237yitto34xsbv',
targetFieldId: 'e8jnfbg3rubiax9ec43z0o5sj',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'tsgkcmnff4vb6146mf2is5jwo',
name: 'import_job_reports_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'u08ccqros63emkp40b6ph4s5c',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'ez7y6o8w87fgkkaohir5b5lo6',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'tyvc8bwumyox8dww9b6g5e2hw',
name: 'contacts_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '5zymo5zxmgtgrrkqkwbiasify',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'soerzddcnf26irapg40tbi93w',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'u4l3r6zw8t277y4iilk5tl059',
name: 'import_job_reports_user_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'u08ccqros63emkp40b6ph4s5c',
targetTableId: 'qnm2tjfjphximkl1sbrbehie1',
sourceFieldId: 'am9612434840985o30vnbc6sj',
targetFieldId: '323tf1rhetkr8ru3bjq47dszz',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'uono71b1udkgru6hdsp8e6u6n',
name: 'default_life_event_types_default_life_event_category_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '6gieut3obexstlaejy6bd771a',
targetTableId: '99z4uctn294hxu8samhg8n7ld',
sourceFieldId: 'cgo6sn5w97tenkwcmjehxxs6z',
targetFieldId: 'y4nxorebma31zhd358a26yuta',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'uvvr6aic25nl5gxh98ar92psh',
name: 'synctoken_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '80scipcg0bsxbikhzdm0zhdfb',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'lzmvfcvvm4bpbytkolbfjzjev',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'v6wb0s1kbdg2e5u1v8jwq29m5',
name: 'activity_statistics_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'lravzkco7cj4lgez3v1snmfhj',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: '1n9exbwr61yn83ipfb3pcuqli',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'vfh8i365ngyqxzqy4f8d825tw',
name: 'gifts_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'yb3gl2l6krcj1k9jm7qrfhmjc',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'ptpvo22wtkbqk41ak2bhbjohu',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'vjrac8z7ouyxb7z6u6y91ddwm',
name: 'emotion_activity_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'lwj7zy5q8b3ekb5hy4ivhqzmr',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'tkir6121de1vr9z6y5rgl4dax',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'vrqyjxsbmzm6q6pow4drvxjpj',
name: 'addresses_place_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'mbwz3dxyegzvkx1epozc7wa0u',
targetTableId: 'pt0n1b722zvb4yja8i2poguae',
sourceFieldId: 'jg070okya08kx3auir6c3a5e0',
targetFieldId: 'gvlilgqa93pmaszxgomu13nzb',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'wbfznh4guj4kxafgqcmwfxz9s',
name: 'gifts_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'yb3gl2l6krcj1k9jm7qrfhmjc',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: '791letcbknowdsgkuic51gbtt',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'wgto99vxjpkrejjoclukd44ii',
name: 'emotion_call_emotion_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '396ft1lfmydo80dcs78azy4fy',
targetTableId: 'adrrm3yigiokzfkno5qohe1e1',
sourceFieldId: '7l5xv1w0akv4yw1s33wz823zo',
targetFieldId: 'oa9re4z1nysdbv1jr71l7y5kg',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'wjbvodhwbqjjg00gj4wx9qwdo',
name: 'users_currency_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'qnm2tjfjphximkl1sbrbehie1',
targetTableId: '9cpfcw2cbix4uwoodhijc1q2o',
sourceFieldId: '1efqf4z6avfs2ahtpype372i7',
targetFieldId: 'tykv7fbsf9y5mi87syl4jpekb',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'x47t7gouyqlhnw5760p3civjt',
name: 'relationship_types_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'xvg79dlsrnwt4nppc1x1t03qo',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'wd00q2sr3lxelue9mu006s5pq',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'x67g7h4wnbxxcalp8hblfthzr',
name: 'calls_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '7vlenb916r3luci2iarw2vtoc',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: '4674rihcot3g1ltn5p97tjsr9',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'xl4gp27ddonojs469dhiow6l9',
name: 'webauthn_keys_user_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'xoanjr1ixpuu87jrdtqmx0dpd',
targetTableId: 'qnm2tjfjphximkl1sbrbehie1',
sourceFieldId: 'ug0aybrmwjjaf06gxpks6ckue',
targetFieldId: '323tf1rhetkr8ru3bjq47dszz',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'xter75ir3rj43e9bsjgh7cc8v',
name: 'activity_types_activity_type_category_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'g9799psycp9vxp6g4y9wiyicq',
targetTableId: 'fingxcqfdio2a8cjxus62t8x1',
sourceFieldId: 'zxpcps1vhg7as0ckv0i5de0lf',
targetFieldId: 'v0pxqzm0byg4i06b9u1np68po',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'y6k6nlbcpu4csr7dqsnq1acun',
name: 'occupations_contact_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'dr2wlpiqfs05cz1sgf24gcojw',
targetTableId: '5zymo5zxmgtgrrkqkwbiasify',
sourceFieldId: '2ybakpofj7x3xmfnczi3pb2pm',
targetFieldId: '5ard00pebx3iqnsw5ii6lnf58',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'y8j4ayr1dv8yjzfidv5h6ek6m',
name: 'contact_fields_contact_field_type_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'yfblz7bmuhj6qf0c777ynuc7x',
targetTableId: '8a3brjk6l866tiavvdglp4bs3',
sourceFieldId: 'o8v9i9f8z11wyqkzm5fiek816',
targetFieldId: 'in9u161q6g99u7ypn4oi60jvu',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'y9mlxdtujv28zqduydphe4zbo',
name: 'emotion_call_call_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '396ft1lfmydo80dcs78azy4fy',
targetTableId: '7vlenb916r3luci2iarw2vtoc',
sourceFieldId: 'ppr2b354vipaec3nsgzt3b404',
targetFieldId: 'vjvoyxmdu80zas55129mp5nuu',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'ya4bsnkrigg6vmi7f2jcll1ey',
name: 'reminder_outbox_user_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'i9dfzx3rs0bcbdviy4amd6eyh',
targetTableId: 'qnm2tjfjphximkl1sbrbehie1',
sourceFieldId: 'jnm0f6meeulih4l81igov83uo',
targetFieldId: '323tf1rhetkr8ru3bjq47dszz',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'yx1r1vzl3qximnukweauzfctm',
name: 'activity_statistics_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'lravzkco7cj4lgez3v1snmfhj',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'dij2knxd3ej22a491w39e0i5v',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'zh1c5r4p2upnb905iwz49vd09',
name: 'weather_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'gfdzqmt9ibtny7k4ew4kgq4mn',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: 'h16ikv7dquxqmsspsti65cd0n',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'zn5preoqe6y9uzmtqduuohakg',
name: 'contact_tag_tag_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: '8ole580zqnbz8lug0j80mg8lk',
targetTableId: 'rkkdg3v14enrutp57sep8k5ds',
sourceFieldId: '4lg3vu67ijtsbmgignvxr670d',
targetFieldId: 'ykdwel55yrss1qky0xva7pqmr',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
{
id: 'zz3hu4568x2xhzb8oo3as5i16',
name: 'reminders_account_id_foreign',
sourceSchema: 'monica',
targetSchema: 'monica',
sourceTableId: 'rx5py0eer11olnimamdq01mam',
targetTableId: 'gbw75ru8k3b0wiy6m88xphazr',
sourceFieldId: '5zon2hdj8h5xcpcca9ed4grht',
targetFieldId: 'ijpw95fqzjbklg36n32jrnpid',
sourceCardinality: 'many',
targetCardinality: 'one',
createdAt: now,
},
],
dependencies: [],
},
};