Database diagrams editor that allows you to visualize and design your DB with a single query.
TypeScript databasedbdb-migrationeditorerdmariadbmssqlmysqlpostgresqlreactreact-flowschema-migrationssqlsqlitetypescriptvisualizationxyflow
fix(templates): add two more templates (Airbnb, Wordpress) (#317)
Jonathan Fishnerebce8827eab0
diff --git a/src/assets/templates/airbnb-dark.png b/src/assets/templates/airbnb-dark.pngnew file mode 100644index 00000000..586f99e0Binary files /dev/null and b/src/assets/templates/airbnb-dark.png differdiff --git a/src/assets/templates/airbnb.png b/src/assets/templates/airbnb.pngnew file mode 100644index 00000000..bdb48076Binary files /dev/null and b/src/assets/templates/airbnb.png differdiff --git a/src/assets/templates/wordpress-db-dark.png b/src/assets/templates/wordpress-db-dark.pngnew file mode 100644index 00000000..d4761161Binary files /dev/null and b/src/assets/templates/wordpress-db-dark.png differdiff --git a/src/assets/templates/wordpress-db.png b/src/assets/templates/wordpress-db.pngnew file mode 100644index 00000000..1a54d9fdBinary files /dev/null and b/src/assets/templates/wordpress-db.png differdiff --git a/src/pages/templates-page/template-card/template-card.tsx b/src/pages/templates-page/template-card/template-card.tsxindex b1a8df1c..ec32b985 100644--- a/src/pages/templates-page/template-card/template-card.tsx+++ b/src/pages/templates-page/template-card/template-card.tsx@@ -26,7 +26,7 @@ export const TemplateCard: React.FC<TemplateCardProps> = ({ template }) => {className="h-2 rounded-t-[6px]"style={{ backgroundColor: randomColor() }}></div>- <div className="grow overflow-hidden p-1">+ <div className="overflow-hidden p-1"><imgsrc={effectiveTheme === 'dark'diff --git a/src/templates-data/templates-data.ts b/src/templates-data/templates-data.tsindex 07caa1c8..4d69daf5 100644--- a/src/templates-data/templates-data.ts+++ b/src/templates-data/templates-data.ts@@ -1,6 +1,8 @@import type { Diagram } from '@/lib/domain/diagram';import { employeeDb } from './templates/employee-db';import { visualNovelDb } from './templates/visual-novel-db';+import { airbnbDb } from './templates/airbnb-db';+import { wordpressDb } from './templates/wordpress-db';export interface Template {slug: string;@@ -16,4 +18,9 @@ export interface Template {url?: string;}-export const templates: Template[] = [employeeDb, visualNovelDb];+export const templates: Template[] = [+ employeeDb,+ visualNovelDb,+ airbnbDb,+ wordpressDb,+];diff --git a/src/templates-data/templates/airbnb-db.ts b/src/templates-data/templates/airbnb-db.tsnew file mode 100644index 00000000..d619e2c3--- /dev/null+++ b/src/templates-data/templates/airbnb-db.ts@@ -0,0 +1,1797 @@+import { DatabaseType } from '@/lib/domain/database-type';+import type { Template } from '../templates-data';+import image from '@/assets/templates/airbnb.png';+import imageDark from '@/assets/templates/airbnb-dark.png';++export const airbnbDb: Template = {+ slug: 'airbnb-db',+ name: 'Airbnb',+ shortDescription: 'Short-term Vacation Rentals',+ description: 'Example database schema diagram for Airbnb',+ image,+ imageDark,+ tags: ['postgres', 'example apps'],+ keywords: [+ 'airbnb database schema',+ 'airbnb database template',+ 'database schema visualization',+ 'airbnb database design',+ 'ChartDB',+ 'airbnb schema diagram',+ 'relational database structure',+ 'airbnb development',+ 'airbnb tables',+ 'database template for airbnb',+ ],+ featured: true,+ diagram: {+ id: 'airbnb_db',+ name: 'airbnb-db',+ createdAt: new Date(),+ updatedAt: new Date(),+ databaseType: DatabaseType.POSTGRESQL,+ tables: [+ {+ id: '67g91swpcp83lktj2nb28a7dg',+ name: 'reviews',+ schema: 'public',+ x: 811.7949896917703,+ y: 74.30499945746158,+ fields: [+ {+ id: 'e5n46eojbyxpg65pb1sesysi2',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '7nbmg2bt6dzltr8rfouxctdlc',+ name: 'reservation_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'f9kcpflp010xe5ad3rmexla63',+ name: 'rating',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '3znekob0pqusyvdoq14nhlvgo',+ name: 'comment',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'we00zhlwl1bgaluyvtr4a5184',+ name: 'reviews_pkey',+ unique: true,+ fieldIds: ['e5n46eojbyxpg65pb1sesysi2'],+ createdAt: Date.now(),+ },+ {+ id: 'qkusdk6ftro9q4fax6cm3cpyd',+ name: 'idx_reviews_reservation_id',+ unique: false,+ fieldIds: ['7nbmg2bt6dzltr8rfouxctdlc'],+ createdAt: Date.now(),+ },+ ],+ color: '#b067e9',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'ahasamd4o8ch10i9x5zdwhxlq',+ name: 'user_notifications',+ schema: 'public',+ x: -93.45301553630316,+ y: 877.8699254420417,+ fields: [+ {+ id: 'j8g76n6nnmadt6vjoh3wpbvxm',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'atn5gn9aupbavukkaononvmeu',+ name: 'user_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'x45cb34zxmz3erbxc9aq345nd',+ name: 'notification_text',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'iz2c7dwok2j0f2ffqjx53ebam',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'qqq4fa7t03u2ctysxy8m8856p',+ name: 'read_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'd7y80iw8ndczkivh2ft5215qp',+ name: 'user_notifications_pkey',+ unique: true,+ fieldIds: ['j8g76n6nnmadt6vjoh3wpbvxm'],+ createdAt: Date.now(),+ },+ {+ id: 'awd6ygyvrmbc4xhjot2wew22x',+ name: 'idx_notifications_user_id',+ unique: false,+ fieldIds: ['atn5gn9aupbavukkaononvmeu'],+ createdAt: Date.now(),+ },+ ],+ color: '#7175fa',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'crnc0wl77gvcbr192m1z5zmxn',+ name: 'users',+ schema: 'public',+ x: 405.24931892542395,+ y: 717.7318639895848,+ fields: [+ {+ id: '2fshssi5y6qw26qpeicj5el1i',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'cudvpgbguuaj5otuam7b21os0',+ name: 'name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'yhw2kyx17wro0hhfrs4ahy1ng',+ name: 'email',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '4xa565norgh1plcishufqkpco',+ name: 'email_verified_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'whv9xbsxx6oo3qjfthg004x5j',+ name: 'password',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '4o9kgibsu7ydqvdq8smo13qhh',+ name: 'remember_token',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'l5790vw2k6q8adzrrtbnw78t7',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '6beqartxg38jsv3gbtfbxk4ek',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'adivkq2cmsai0gni3418sld72',+ name: 'phone_number',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'rgqqw4tgfwip7tpjv9w85s6k4',+ name: 'description',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'p7siokxtxvutpvabcekt4r4p3',+ name: 'profile_image',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 't34tf6kck2zljg612wizx9qsc',+ name: 'users_pkey',+ unique: true,+ fieldIds: ['2fshssi5y6qw26qpeicj5el1i'],+ createdAt: Date.now(),+ },+ {+ id: 'nzgu4xvd5rr4d8pk5tqfcetgy',+ name: 'users_email_key',+ unique: true,+ fieldIds: ['yhw2kyx17wro0hhfrs4ahy1ng'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff9f74',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'eaddot6l81wm3oh55ryq2nd59',+ name: 'messages',+ schema: 'public',+ x: 883.4278525700333,+ y: 929.4498531199547,+ fields: [+ {+ id: '66xp15vzkxg562063guelcbbs',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'xrpddzx3w6uzmd5rbo2hgj2yq',+ name: 'sender_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'r7jycyzy9k4umg9ip1srtphsi',+ name: 'receiver_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'qb2hbsk4gcs3u5gzc3yvgpa7q',+ name: 'reservation_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'w4xetghpdnneoakz4usldmngp',+ name: 'message',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'jmcwhx29zgjdg25zoeb2crmml',+ name: 'sent_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'dsvq507l38wm5lk2v3hbbura4',+ name: 'read_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '3ls7hu5r260u7p6vnmupjv7la',+ name: 'idx_messages_receiver_id',+ unique: false,+ fieldIds: ['r7jycyzy9k4umg9ip1srtphsi'],+ createdAt: Date.now(),+ },+ {+ id: '9ovz1rlutpjthw88x259gukj6',+ name: 'idx_messages_sender_id',+ unique: false,+ fieldIds: ['xrpddzx3w6uzmd5rbo2hgj2yq'],+ createdAt: Date.now(),+ },+ {+ id: 'iil51lkygdfj3gv2f6unu70ms',+ name: 'messages_pkey',+ unique: true,+ fieldIds: ['66xp15vzkxg562063guelcbbs'],+ createdAt: Date.now(),+ },+ {+ id: 'i5d1huydjycinio3zh7f1ixus',+ name: 'idx_messages_reservation_id',+ unique: false,+ fieldIds: ['qb2hbsk4gcs3u5gzc3yvgpa7q'],+ createdAt: Date.now(),+ },+ ],+ color: '#8eb7ff',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'hp371gd02tc2benhh4nm6uwlr',+ name: 'reviews_media',+ schema: 'public',+ x: 1153.0635598802542,+ y: 74.30499945746163,+ fields: [+ {+ id: 'g05hpzkhjhahjmlf6w5wqt82l',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'a25jhoff5sz1ezxvrwfuaf6il',+ name: 'review_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '0uri7e23f6tdh2ygxanb6z9b9',+ name: 'file_name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'vt3q0me215r7vz12i2giw935z',+ name: 'mime_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '5otexxit6vrts6mkr5werhfek',+ name: 'uploaded_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'fm9lj371ash4jkp8xbtto7gch',+ name: 'reviews_media_pkey',+ unique: true,+ fieldIds: ['g05hpzkhjhahjmlf6w5wqt82l'],+ createdAt: Date.now(),+ },+ ],+ color: '#4dee8a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'jfuv0ljqraq4c4k8pyuswymgq',+ name: 'amenities',+ schema: 'public',+ x: -135.70606436478852,+ y: -66.78506629217512,+ fields: [+ {+ id: 'w65hsh2k6rwx9x7v19cyihcef',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '9kjtmi8flh7q5j6s5k3rf62ox',+ name: 'name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'pep6aoj6rpmdthq7nzdjxa08c',+ name: 'amenities_name_key',+ unique: true,+ fieldIds: ['9kjtmi8flh7q5j6s5k3rf62ox'],+ createdAt: Date.now(),+ },+ {+ id: '1v49809bpgwseu9g317zcm82g',+ name: 'amenities_pkey',+ unique: true,+ fieldIds: ['w65hsh2k6rwx9x7v19cyihcef'],+ createdAt: Date.now(),+ },+ ],+ color: '#9ef07a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'kxsm6yzh6t7yqutakcvn25oq5',+ name: 'room_amenities',+ schema: 'public',+ x: -51.17176841977857,+ y: 120.55039490052002,+ fields: [+ {+ id: '85j7g8das058m5zieg8yneuyi',+ name: 'room_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'l53yf0dqvy0diee0ll9btzrh0',+ name: 'amenity_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'npp7q6al95d3poayd0cxuwp4q',+ name: 'room_amenities_pkey',+ unique: true,+ fieldIds: [+ '85j7g8das058m5zieg8yneuyi',+ 'l53yf0dqvy0diee0ll9btzrh0',+ ],+ createdAt: Date.now(),+ },+ ],+ color: '#c05dcf',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'lmf2eeh7dzh4f2bzgnf0imtbk',+ name: 'reservation_promotions',+ schema: 'public',+ x: 386.2078547401868,+ y: -129.75713820681358,+ fields: [+ {+ id: 'wkp0f16z64mhavjq2spe63ovd',+ name: 'reservation_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'fbti53ihxwnt4wrvezqppmmh1',+ name: 'promotion_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'hxl2pg8n2iktk90i4w6yzphlb',+ name: 'discount_amount',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'bjelvkz1i4awhheeydlpbbadi',+ name: 'reservation_promotions_pkey',+ unique: true,+ fieldIds: [+ 'wkp0f16z64mhavjq2spe63ovd',+ 'fbti53ihxwnt4wrvezqppmmh1',+ ],+ createdAt: Date.now(),+ },+ ],+ color: '#ff6b8a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'n3zioykgb15g45cmglwakom0i',+ name: 'wishlists',+ schema: 'public',+ x: -97.32786342080158,+ y: -269.2442840091649,+ fields: [+ {+ id: 'd4z058k8kq9c21q3imqzux9yk',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'padpzvv08ri8kbeb3ula5oljg',+ name: 'user_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'fex1ui72svwdaatktnxsijwka',+ name: 'name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'lcud94939nvjpbj4ve7jezlln',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'zjk68zidl3v973mvjdze7eg06',+ name: 'wishlists_pkey',+ unique: true,+ fieldIds: ['d4z058k8kq9c21q3imqzux9yk'],+ createdAt: Date.now(),+ },+ ],+ color: '#4dee8a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'rtt7co0gmshixyhctg7k6mu1z',+ name: 'reservations',+ schema: 'public',+ x: 407.5900410758163,+ y: 258.93479207933024,+ fields: [+ {+ id: '4xa8k1sryximotaph1kgze7ei',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'w4lyxvfq8ty1xv6wdzp8fkk8n',+ name: 'user_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'zgvc08lngra0es5p8fgddg9m8',+ name: 'room_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '0hp2kqe40orxloc7mvv4ojobs',+ name: 'start_date',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'j7raobudpb68fqlatw6lcx91u',+ name: 'end_date',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ucyr78xlv8dtv9ifdxy6xmt38',+ name: 'price',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'u3dku91igmfbd03lq40ckufy0',+ name: 'total',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'v202ktxelhoourpuhtmpb3ksa',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'c8nlwg9yv2mheom1c9pnmmczq',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'hkhbmcpl57owxxihvbqxjv55x',+ name: 'idx_reservations_room_id',+ unique: false,+ fieldIds: ['zgvc08lngra0es5p8fgddg9m8'],+ createdAt: Date.now(),+ },+ {+ id: '9iyv79gniabe72x96muex8e7m',+ name: 'idx_reservations_user_id',+ unique: false,+ fieldIds: ['w4lyxvfq8ty1xv6wdzp8fkk8n'],+ createdAt: Date.now(),+ },+ {+ id: 'i6qgpyzdxcmfldfzjr2afgy1u',+ name: 'reservations_pkey',+ unique: true,+ fieldIds: ['4xa8k1sryximotaph1kgze7ei'],+ createdAt: Date.now(),+ },+ ],+ color: '#7175fa',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'skl03ewy1aw23f2qej81g8rck',+ name: 'promotions',+ schema: 'public',+ x: 771.524997287308,+ y: -195.82999674476952,+ fields: [+ {+ id: '8b7a5w9dh1kfisayodrloycyf',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'eqtr81lmtsoyzmq7xu7tq5a7v',+ name: 'code',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '9qpnrgme6eu2syogrbdbd2j55',+ name: 'discount_percentage',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'vmdsyce3oegf6ev4msq8dbvwy',+ name: 'start_date',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '9d5qshp6clcss26f2rdh2wqhu',+ name: 'end_date',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'dl1xpdmy2w9e3vwrvsx177rfh',+ name: 'promotions_pkey',+ unique: true,+ fieldIds: ['8b7a5w9dh1kfisayodrloycyf'],+ createdAt: Date.now(),+ },+ {+ id: '1k2zxpvfwy4481ftpw4scm8dn',+ name: 'promotions_code_key',+ unique: true,+ fieldIds: ['eqtr81lmtsoyzmq7xu7tq5a7v'],+ createdAt: Date.now(),+ },+ ],+ color: '#8eb7ff',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'u71uxicd1np31gu1xp6b10da3',+ name: 'media',+ schema: 'public',+ x: -448.15074908567783,+ y: 692.5507056826053,+ fields: [+ {+ id: 'o1ap9swacb6gsdrrsukuhh6sg',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '8hr6ni5g99p2joy73fq6v09nq',+ name: 'model_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'vcu3vx4hr9zkgq1fuw1p1ct0x',+ name: 'model_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '71qz2djm7575i62sgnvllz8jg',+ name: 'file_name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ul9bc4mrl3c3kp9ts6jvow0a2',+ name: 'mime_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'sp6f7ib5rj5yeckmmwr8rfnur',+ name: 'media_pkey',+ unique: true,+ fieldIds: ['o1ap9swacb6gsdrrsukuhh6sg'],+ createdAt: Date.now(),+ },+ {+ id: 'r0ltqqzq4eo0vb5ljjyerjs3l',+ name: 'idx_media_model_type',+ unique: false,+ fieldIds: ['vcu3vx4hr9zkgq1fuw1p1ct0x'],+ createdAt: Date.now(),+ },+ {+ id: '2286m9uzl6og2od1tm78r0du5',+ name: 'idx_media_model_id',+ unique: false,+ fieldIds: ['8hr6ni5g99p2joy73fq6v09nq'],+ createdAt: Date.now(),+ },+ ],+ color: '#8a61f5',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'vmghhfn9e5pbmp1a7ix418qnk',+ name: 'payments',+ schema: 'public',+ x: 1125.8028661334938,+ y: 529.3419875289997,+ fields: [+ {+ id: 'p8moj019diilnb5e6sr6bhead',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'pa1ygwlro7ni85jdega7bf0bv',+ name: 'reservation_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'jw5bqq0de3tnlrj3elinoirdf',+ name: 'user_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '4jew9bdob4922ri812801osw7',+ name: 'amount',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'qo5k3gjdfpqu326mkp1qcefol',+ name: 'payment_date',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'lqcmrg01mi52m2gmdgbzergua',+ name: 'status',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'pp42g9j50w2e0tqlj1lp6bacg',+ name: 'idx_payments_reservation_id',+ unique: false,+ fieldIds: ['pa1ygwlro7ni85jdega7bf0bv'],+ createdAt: Date.now(),+ },+ {+ id: 'a12jvlio20vxh7ygyn0uxb88c',+ name: 'idx_payments_user_id',+ unique: false,+ fieldIds: ['jw5bqq0de3tnlrj3elinoirdf'],+ createdAt: Date.now(),+ },+ {+ id: 'tlv6lciuzyiacd2wi3gciqkgy',+ name: 'payments_pkey',+ unique: true,+ fieldIds: ['p8moj019diilnb5e6sr6bhead'],+ createdAt: Date.now(),+ },+ ],+ color: '#b067e9',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'yeomzzyhn5plp2ff1fiev73t7',+ name: 'wishlist_rooms',+ schema: 'public',+ x: -522.7131550559509,+ y: -124.38823280250799,+ fields: [+ {+ id: 'e1lwuxhf7hzbp275iuh4yqen9',+ name: 'wishlist_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '7o54mgdpg760yz2eijchnz12z',+ name: 'room_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'tz5ubxcfuduky7wygy71m68q7',+ name: 'wishlist_rooms_pkey',+ unique: true,+ fieldIds: [+ 'e1lwuxhf7hzbp275iuh4yqen9',+ '7o54mgdpg760yz2eijchnz12z',+ ],+ createdAt: Date.now(),+ },+ ],+ color: '#9ef07a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'yi575aeajymrznf6exkco3z7i',+ name: 'rooms',+ schema: 'public',+ x: -446.61002220467367,+ y: 237.70127294235544,+ fields: [+ {+ id: '5fe7d46w9aj0wkm0f7d1i66gm',+ name: 'id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'fj8fwxegh151tq4n86itfqsmw',+ name: 'home_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'vx982w22ocqlt25jh69px5hw7',+ name: 'room_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ssdh5ytq5apnqu765sc8g9vaw',+ name: 'total_occupancy',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'fvrrqk6n9qw2w7sket0nnpstb',+ name: 'total_bedrooms',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '8krt1j1qd9mze9yz4hchll1bw',+ name: 'total_bathrooms',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'fhboycacgdxw1d1xvcs1gehtd',+ name: 'summary',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'psj79td4g8gqhbjf7ye14ynig',+ name: 'address',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '3r6f1uqnktqp4exc08yoagg35',+ name: 'has_tv',+ type: {+ id: 'boolean',+ name: 'boolean',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'xi2yfcjkw8edhh0rr7dlcs5gm',+ name: 'has_kitchen',+ type: {+ id: 'boolean',+ name: 'boolean',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'pmv0d8uznxglzm6mljn385e24',+ name: 'has_air_con',+ type: {+ id: 'boolean',+ name: 'boolean',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'bzqexknzhcuibenbsneykdenx',+ name: 'has_heating',+ type: {+ id: 'boolean',+ name: 'boolean',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'r070rrruloggrbzj987j21hy6',+ name: 'has_internet',+ type: {+ id: 'boolean',+ name: 'boolean',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'o3tnxoqebi6l5up56lq287wwq',+ name: 'price',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'kykrcfb32ahw9nb0igg0df3mw',+ name: 'published_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'mid5g38o3eek6q4iktst81wgn',+ name: 'owner_id',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '6dsi2zg0mr8v7lo9uz8b49da1',+ name: 'created_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '7im40jmlmr6pgkzsdct7zk0vu',+ name: 'updated_at',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'bnpmlpqa97oy92ajvheys2x9o',+ name: 'latitude',+ type: {+ id: 'double_precision',+ name: 'double precision',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ajrco7hetczchp3dk6sotdgcq',+ name: 'longitude',+ type: {+ id: 'double_precision',+ name: 'double precision',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'ilhw4xqtp8yz4iwrg0g4zyqzz',+ name: 'idx_rooms_owner_id',+ unique: false,+ fieldIds: ['mid5g38o3eek6q4iktst81wgn'],+ createdAt: Date.now(),+ },+ {+ id: 'ciqtmelumvtz72opbluexz2hl',+ name: 'rooms_pkey',+ unique: true,+ fieldIds: ['5fe7d46w9aj0wkm0f7d1i66gm'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff6b8a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ ],+ relationships: [+ {+ id: '1awmiqzisfutul4xcydk5wfuc',+ name: 'reviews_media_review_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'hp371gd02tc2benhh4nm6uwlr',+ targetTableId: '67g91swpcp83lktj2nb28a7dg',+ sourceFieldId: 'a25jhoff5sz1ezxvrwfuaf6il',+ targetFieldId: 'e5n46eojbyxpg65pb1sesysi2',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '2snky4779xdqqh8jkcat52ndk',+ name: 'reservation_promotions_promotion_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'lmf2eeh7dzh4f2bzgnf0imtbk',+ targetTableId: 'skl03ewy1aw23f2qej81g8rck',+ sourceFieldId: 'fbti53ihxwnt4wrvezqppmmh1',+ targetFieldId: '8b7a5w9dh1kfisayodrloycyf',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '6uww2cpjlmjltwxtbsi23kzdy',+ name: 'reservation_promotions_reservation_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'lmf2eeh7dzh4f2bzgnf0imtbk',+ targetTableId: 'rtt7co0gmshixyhctg7k6mu1z',+ sourceFieldId: 'wkp0f16z64mhavjq2spe63ovd',+ targetFieldId: '4xa8k1sryximotaph1kgze7ei',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '7vr7zvem9eypnhh634pxifl1d',+ name: 'payments_reservation_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'vmghhfn9e5pbmp1a7ix418qnk',+ targetTableId: 'rtt7co0gmshixyhctg7k6mu1z',+ sourceFieldId: 'pa1ygwlro7ni85jdega7bf0bv',+ targetFieldId: '4xa8k1sryximotaph1kgze7ei',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '8h390eo8hmi8j88odd30xj9cy',+ name: 'rooms_owner_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'yi575aeajymrznf6exkco3z7i',+ targetTableId: 'crnc0wl77gvcbr192m1z5zmxn',+ sourceFieldId: 'mid5g38o3eek6q4iktst81wgn',+ targetFieldId: '2fshssi5y6qw26qpeicj5el1i',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'aiwac7rz9wg6eytv4g5420cs7',+ name: 'reservations_room_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'rtt7co0gmshixyhctg7k6mu1z',+ targetTableId: 'yi575aeajymrznf6exkco3z7i',+ sourceFieldId: 'zgvc08lngra0es5p8fgddg9m8',+ targetFieldId: '5fe7d46w9aj0wkm0f7d1i66gm',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'bp8tt2rqerap863wdca11zu0g',+ name: 'wishlist_rooms_wishlist_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'yeomzzyhn5plp2ff1fiev73t7',+ targetTableId: 'n3zioykgb15g45cmglwakom0i',+ sourceFieldId: 'e1lwuxhf7hzbp275iuh4yqen9',+ targetFieldId: 'd4z058k8kq9c21q3imqzux9yk',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'c162y8pjwsobspf3lx3wo0tl9',+ name: 'reservations_user_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'rtt7co0gmshixyhctg7k6mu1z',+ targetTableId: 'crnc0wl77gvcbr192m1z5zmxn',+ sourceFieldId: 'w4lyxvfq8ty1xv6wdzp8fkk8n',+ targetFieldId: '2fshssi5y6qw26qpeicj5el1i',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'cjqrfdf1q4szco001t7upicoq',+ name: 'messages_reservation_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'eaddot6l81wm3oh55ryq2nd59',+ targetTableId: 'rtt7co0gmshixyhctg7k6mu1z',+ sourceFieldId: 'qb2hbsk4gcs3u5gzc3yvgpa7q',+ targetFieldId: '4xa8k1sryximotaph1kgze7ei',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'epe7q1qn1bbnq79lnlvo0cd5v',+ name: 'wishlists_user_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'n3zioykgb15g45cmglwakom0i',+ targetTableId: 'crnc0wl77gvcbr192m1z5zmxn',+ sourceFieldId: 'padpzvv08ri8kbeb3ula5oljg',+ targetFieldId: '2fshssi5y6qw26qpeicj5el1i',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'f98l4vujzmdoscbl19nd0mj99',+ name: 'room_amenities_room_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'kxsm6yzh6t7yqutakcvn25oq5',+ targetTableId: 'yi575aeajymrznf6exkco3z7i',+ sourceFieldId: '85j7g8das058m5zieg8yneuyi',+ targetFieldId: '5fe7d46w9aj0wkm0f7d1i66gm',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'irxqkp2yhskf1dn8tqlj4njnk',+ name: 'user_notifications_user_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'ahasamd4o8ch10i9x5zdwhxlq',+ targetTableId: 'crnc0wl77gvcbr192m1z5zmxn',+ sourceFieldId: 'atn5gn9aupbavukkaononvmeu',+ targetFieldId: '2fshssi5y6qw26qpeicj5el1i',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'k2ojuhsd22w14d1y7k2907xji',+ name: 'payments_user_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'vmghhfn9e5pbmp1a7ix418qnk',+ targetTableId: 'crnc0wl77gvcbr192m1z5zmxn',+ sourceFieldId: 'jw5bqq0de3tnlrj3elinoirdf',+ targetFieldId: '2fshssi5y6qw26qpeicj5el1i',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'ljlsu897gohocl8wf0ilma0a2',+ name: 'reviews_reservation_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: '67g91swpcp83lktj2nb28a7dg',+ targetTableId: 'rtt7co0gmshixyhctg7k6mu1z',+ sourceFieldId: '7nbmg2bt6dzltr8rfouxctdlc',+ targetFieldId: '4xa8k1sryximotaph1kgze7ei',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'njmedosc67xgbe8wf2quolyte',+ name: 'room_amenities_amenity_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'kxsm6yzh6t7yqutakcvn25oq5',+ targetTableId: 'jfuv0ljqraq4c4k8pyuswymgq',+ sourceFieldId: 'l53yf0dqvy0diee0ll9btzrh0',+ targetFieldId: 'w65hsh2k6rwx9x7v19cyihcef',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'qa6lzs07ns0wzyymobvyybacc',+ name: 'messages_sender_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'eaddot6l81wm3oh55ryq2nd59',+ targetTableId: 'crnc0wl77gvcbr192m1z5zmxn',+ sourceFieldId: 'xrpddzx3w6uzmd5rbo2hgj2yq',+ targetFieldId: '2fshssi5y6qw26qpeicj5el1i',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'tk4t3ubrq246xkv9inio8dx4b',+ name: 'messages_receiver_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'eaddot6l81wm3oh55ryq2nd59',+ targetTableId: 'crnc0wl77gvcbr192m1z5zmxn',+ sourceFieldId: 'r7jycyzy9k4umg9ip1srtphsi',+ targetFieldId: '2fshssi5y6qw26qpeicj5el1i',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'uwmv3a4zoblbushox66gr27q0',+ name: 'wishlist_rooms_room_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'yeomzzyhn5plp2ff1fiev73t7',+ targetTableId: 'yi575aeajymrznf6exkco3z7i',+ sourceFieldId: '7o54mgdpg760yz2eijchnz12z',+ targetFieldId: '5fe7d46w9aj0wkm0f7d1i66gm',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ ],+ dependencies: [],+ },+};diff --git a/src/templates-data/templates/employee-db.ts b/src/templates-data/templates/employee-db.tsindex 9a332cff..67bc941b 100644--- a/src/templates-data/templates/employee-db.ts+++ b/src/templates-data/templates/employee-db.ts@@ -26,7 +26,7 @@ export const employeeDb: Template = {],featured: true,diagram: {- id: 'diagramexample01',+ id: 'employees_db',name: 'employees-db',createdAt: new Date(),updatedAt: new Date(),diff --git a/src/templates-data/templates/wordpress-db.ts b/src/templates-data/templates/wordpress-db.tsnew file mode 100644index 00000000..9113b7cf--- /dev/null+++ b/src/templates-data/templates/wordpress-db.ts@@ -0,0 +1,2033 @@+import { DatabaseType } from '@/lib/domain/database-type';+import type { Template } from '../templates-data';+import image from '@/assets/templates/wordpress-db.png';+import imageDark from '@/assets/templates/wordpress-db-dark.png';++export const wordpressDb: Template = {+ slug: 'wordpress-db',+ name: 'WordPress Database',+ shortDescription: 'An open-source PHP Content Management System',+ description:+ '(CMS) ideal for building websites, blogs, or apps. Flexible, customizable, and designed for developers to expand',+ image,+ imageDark,+ tags: ['mysql', 'open source', 'WordPress', 'php'],+ keywords: [+ 'WordPress database schema',+ 'WordPress database template',+ 'database schema visualization',+ 'WordPress database design',+ 'ChartDB',+ 'WordPress schema diagram',+ 'relational database structure',+ 'WordPress development',+ 'WordPress tables',+ 'database template for WordPress',+ ],+ featured: true,+ url: 'https://wordpress.org',+ diagram: {+ id: 'wordpress_db',+ name: 'wordpress-db',+ createdAt: new Date(),+ updatedAt: new Date(),+ databaseType: DatabaseType.MYSQL,+ tables: [+ {+ id: '0ovpgck8or3x6m2xn2hmbp0c4',+ name: 'wp_links',+ schema: 'public',+ x: 794.1938021123153,+ y: 269.19595734494305,+ fields: [+ {+ id: '0agxjmlgdfxs2d5mqg6e4xzhk',+ name: 'link_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '9gcbrwsozyfns0idfgd6ub3yp',+ name: 'link_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'zu0irjx9matzcomj45840skd3',+ name: 'link_name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '8m4t1f1mqj5p435lm55jhcp72',+ name: 'link_image',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '90yjj43pyrf4oknjhdpmcede6',+ name: 'link_target',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '9wv0n7zwu10gad2ugrstl8eaz',+ name: 'link_description',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '3g0ijqdycpq4nc75exb71qiiw',+ name: 'link_visible',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'vdmz1ajoyc2xwznmgfoz0gx5s',+ name: 'link_owner',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '3xxffrdsv3hylkj7bp0uq2qcb',+ name: 'link_rating',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '10gs93wwzyzy9gkkrsulw4c97',+ name: 'link_updated',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'skavp5904rjm2mw54pz3vdwof',+ name: 'link_rel',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'badup0ted1jq1d9rbd1pwvx1o',+ name: 'link_notes',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '5lyput0k6dh67uz5kiyfmq6nr',+ name: 'link_rss',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'p5eqqjsiemjs0uqtq42cb97ga',+ name: 'wp_links_pkey',+ unique: true,+ fieldIds: ['0agxjmlgdfxs2d5mqg6e4xzhk'],+ createdAt: Date.now(),+ },+ ],+ color: '#8eb7ff',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: '1uahxx5482z55o3qwak1h5a44',+ name: 'wp_options',+ schema: 'public',+ x: 331.312899812928,+ y: 492.1645462827462,+ fields: [+ {+ id: '70ynpgmk5xjp5iguilhhjj6g1',+ name: 'option_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'lt4q60oj4rnf3h8eururikgn4',+ name: 'option_name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '6y1gm20l4nf0see3koo63lier',+ name: 'option_value',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'qhf8zc4y071l3ykayin4hhem0',+ name: 'autoload',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '8kc7km5uqsvhaycknytot3xzv',+ name: 'wp_options_pkey',+ unique: true,+ fieldIds: ['70ynpgmk5xjp5iguilhhjj6g1'],+ createdAt: Date.now(),+ },+ {+ id: '800weq9gculw8afj0uu0cyxx2',+ name: 'wp_options_option_name_key',+ unique: true,+ fieldIds: ['lt4q60oj4rnf3h8eururikgn4'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff9f74',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: '5719hh2vceoxft07yyuw412nf',+ name: 'wp_comments',+ schema: 'public',+ x: 800.6792689151703,+ y: -465.3544133775536,+ fields: [+ {+ id: 'bu3m7h9vakhkun8k6nrrs18ld',+ name: 'comment_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '6opwy4tby70gcyv07zfdlwy5z',+ name: 'comment_post_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '7bgk2oy3ykao02uvbbnu74mlf',+ name: 'comment_author',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'h0xoiiuu7ihaiz9mkfmmf0wu2',+ name: 'comment_author_email',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'tmsopgd72sfhe1dy32fv2r7q3',+ name: 'comment_author_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '3qu1qj91vrd1vimyz2rursrnd',+ name: 'comment_author_ip',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'oazkocnck8wkhspbpsdqeyvqi',+ name: 'comment_date',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'pig65jbco2l2y8zwmf6otby7v',+ name: 'comment_date_gmt',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '618xiwel3scylyeoi7opio2dj',+ name: 'comment_content',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '0h5yv2ub4rhznqojxc4sauweb',+ name: 'comment_karma',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '8i3pv4bug291cqgsd3n2l9xdi',+ name: 'comment_approved',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '9qwgn1bxb2c02byxrcrol89ub',+ name: 'comment_agent',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'hdtjrcdk2v9s99v8sfirjsd6f',+ name: 'comment_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'wsx4qk1cyr62z4ed6adgxhj77',+ name: 'comment_parent',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'bzfamxzjmb99922r0msiht80n',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'qs5e3rmqwlpkk9hvj730oeody',+ name: 'idx_wp_comments_user_id',+ unique: false,+ fieldIds: ['bzfamxzjmb99922r0msiht80n'],+ createdAt: Date.now(),+ },+ {+ id: 'x6kbgq3n1etid29q4r7q7llmv',+ name: 'wp_comments_pkey',+ unique: true,+ fieldIds: ['bu3m7h9vakhkun8k6nrrs18ld'],+ createdAt: Date.now(),+ },+ ],+ color: '#8eb7ff',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: '5o1x7miqtyc34fu92j2l1mre4',+ name: 'wp_site',+ schema: 'public',+ x: 1420.9850759512265,+ y: 560.9425619695904,+ fields: [+ {+ id: 'yob6do17uh4cr0ypj2i0fie0o',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'yypk0zyhffe78lz0vgqh5g1zr',+ name: 'domain',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'w3b8raw9fx6gubup56qzbf8iq',+ name: 'path',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'tumhmnlafppmk1qbykxsswqpu',+ name: 'wp_site_pkey',+ unique: true,+ fieldIds: ['yob6do17uh4cr0ypj2i0fie0o'],+ createdAt: Date.now(),+ },+ ],+ color: '#4dee8a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: '6xlz7vv2yf4k4likkwbpt9n7c',+ name: 'wp_users',+ schema: 'public',+ x: 1177.3735937252402,+ y: 107.77611085766046,+ fields: [+ {+ id: 'hxm27ltfcn5nmpe916rghd74y',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '0t4c7nsthdqvl95v50v558w3e',+ name: 'user_login',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'vp668iig5lshcqr1uanec0jcj',+ name: 'user_pass',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'p3jdzyyjn6cwndz3353ycruyv',+ name: 'user_nicename',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'den9kni94m7m1z8lrszj7pyx4',+ name: 'user_email',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'gcde1c5kzrgzx4d8nkm7qhznf',+ name: 'user_url',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '00em3r6d25yjb992vsg4wfftq',+ name: 'user_registered',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '6lyarfyrof6n8vmjw1jnms2ge',+ name: 'user_activation_key',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '2dfgxrt0oys3tgy10migbazmj',+ name: 'user_status',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'y4zts7xz61p7eynp7rrnp0z2t',+ name: 'display_name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '83td5d6cwjq44vsioaefcr2vq',+ name: 'wp_users_pkey',+ unique: true,+ fieldIds: ['hxm27ltfcn5nmpe916rghd74y'],+ createdAt: Date.now(),+ },+ {+ id: '7270l49u9x2dshb88swnhjdo5',+ name: 'idx_wp_users_user_login',+ unique: true,+ fieldIds: ['0t4c7nsthdqvl95v50v558w3e'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff6363',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: '7ce2o0mij9li0k4g83swbhi5x',+ name: 'wp_terms',+ schema: 'public',+ x: 1933.4763464504913,+ y: 183.01699164087987,+ fields: [+ {+ id: 'fc9nfbmnaj04jkd8v2iv42wqk',+ name: 'term_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '40t7da14vj9s1haz7l8kke0ed',+ name: 'name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'summxvmemrgxmwg0svx1tdjsc',+ name: 'slug',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'hinm4tfni2cj9fritsg9t5pf2',+ name: 'term_group',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '7uo6hxyzw6k8trv7e9moc9aah',+ name: 'wp_terms_pkey',+ unique: true,+ fieldIds: ['fc9nfbmnaj04jkd8v2iv42wqk'],+ createdAt: Date.now(),+ },+ ],+ color: '#b067e9',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'ew6aq96etubkyb6z3zytzf11s',+ name: 'wp_term_taxonomy',+ schema: 'public',+ x: 1854.5073791801601,+ y: -105.37976436898538,+ fields: [+ {+ id: '09qxmhzgvtmmjaorme35vy3u1',+ name: 'term_taxonomy_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '21hja8tuvhtx7a4en2cdw7f9j',+ name: 'term_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'i20cjuc58u7f2e07bdmf38tgl',+ name: 'taxonomy',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'da0w5tjgi47xh633g4jz5xwxn',+ name: 'description',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '1cstdt4eevv85o10ccros1wna',+ name: 'parent',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '851lt85ljpm51po81gh1par1u',+ name: 'count',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'ss3xvgv8d4he00qljx6lepvg0',+ name: 'wp_term_taxonomy_pkey',+ unique: true,+ fieldIds: ['09qxmhzgvtmmjaorme35vy3u1'],+ createdAt: Date.now(),+ },+ ],+ color: '#b067e9',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'f4i287zfm1wa9bic8m4yxoql4',+ name: 'wp_registration_log',+ schema: 'public',+ x: 336.70664580935386,+ y: -200.13535305955423,+ fields: [+ {+ id: '071hdw9pi8k45lyk1diymh2me',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'wu2nu9g8om1yx8w7jgepo10z1',+ name: 'email',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'j5svtjr4n8rlguslajiod57l2',+ name: 'ip',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 't3giqzegtkxjvqev8h2jhuxhl',+ name: 'blog_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'gfnnysvndpw0cmu9nlid6m0eq',+ name: 'date_registered',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'rlf75dvljr0mjlrka4ipwb8i0',+ name: 'wp_registration_log_pkey',+ unique: true,+ fieldIds: ['071hdw9pi8k45lyk1diymh2me'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff9f74',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'jctta9mhqs7w2j538wury1c1w',+ name: 'wp_sitemeta',+ schema: 'public',+ x: 1752.3427634050681,+ y: 499.5922695739325,+ fields: [+ {+ id: 'zl8twki9u4t486f0p21m31eiw',+ name: 'meta_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'rnwokdmkf593zs2l752sqqzv6',+ name: 'site_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'gnlcycyrp7f1q7bkxbdrh03xb',+ name: 'meta_key',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ukhfp21h84idda7auuei8uyus',+ name: 'meta_value',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'ir4tc926rcun9smlqc9khpnch',+ name: 'idx_wp_sitemeta_meta_key',+ unique: false,+ fieldIds: ['gnlcycyrp7f1q7bkxbdrh03xb'],+ createdAt: Date.now(),+ },+ {+ id: 'xlrirwu5g04wcysbdtdfaqip5',+ name: 'wp_sitemeta_pkey',+ unique: true,+ fieldIds: ['zl8twki9u4t486f0p21m31eiw'],+ createdAt: Date.now(),+ },+ ],+ color: '#4dee8a',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'jnxcbry0h8skqzb9hcycb3yyo',+ name: 'wp_usermeta',+ schema: 'public',+ x: 709.4072716381884,+ y: 18.800685166975825,+ fields: [+ {+ id: 'jqfsj7temp0fsbzlryvvkyo6g',+ name: 'umeta_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '8lhehz3ccq3uk6pj9ljs1n8ps',+ name: 'user_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '6ot5byk6w7lgsnph1lu26snjq',+ name: 'meta_key',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ob8e6h2awjhgpynq2fr8qti93',+ name: 'meta_value',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'qcl8hfp0hd04ab1rnpfylik18',+ name: 'idx_wp_usermeta_meta_key',+ unique: false,+ fieldIds: ['6ot5byk6w7lgsnph1lu26snjq'],+ createdAt: Date.now(),+ },+ {+ id: 'ts3ynssl3wyk7to1c5mvsg9ig',+ name: 'idx_wp_usermeta_user_id',+ unique: false,+ fieldIds: ['8lhehz3ccq3uk6pj9ljs1n8ps'],+ createdAt: Date.now(),+ },+ {+ id: '6rtblmvm4pgeuqts9t28av0nm',+ name: 'wp_usermeta_pkey',+ unique: true,+ fieldIds: ['jqfsj7temp0fsbzlryvvkyo6g'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff6363',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'm2pgq2gj9kmakbqiuhhm0ymko',+ name: 'wp_commentmeta',+ schema: 'public',+ x: 442.1179369051895,+ y: -471.9477386188898,+ fields: [+ {+ id: '6cze2mduwrww0iur1f1c3s2p7',+ name: 'meta_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'irhkiwlxmpkt03b9t9movacxf',+ name: 'comment_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'yk1zwabnq4d9yiuz7x4jlvkax',+ name: 'meta_key',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '8jiskj9rqrg5zz3j7pifsj4z2',+ name: 'meta_value',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'pcz5y9sfbdydgmj9m1llpdd56',+ name: 'wp_commentmeta_pkey',+ unique: true,+ fieldIds: ['6cze2mduwrww0iur1f1c3s2p7'],+ createdAt: Date.now(),+ },+ {+ id: 'z1xl2x7tdla1zgrhhfe3wcibz',+ name: 'idx_wp_commentmeta_meta_key',+ unique: false,+ fieldIds: ['yk1zwabnq4d9yiuz7x4jlvkax'],+ createdAt: Date.now(),+ },+ ],+ color: '#8eb7ff',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'nfun7jg6et5f144k96bq7eu2c',+ name: 'wp_term_relationships',+ schema: 'public',+ x: 1538.3618565667916,+ y: -53.34858704815218,+ fields: [+ {+ id: 'cmjlk9apmb8hz592dkvjl1xv7',+ name: 'object_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'oyvu5e3do75r1ak7fmtco10a6',+ name: 'term_taxonomy_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'wu2tjxmt00xdb8k4f6hhtx8nk',+ name: 'term_order',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'qwrbjsuu622zbu3rtz5nqreer',+ name: 'wp_term_relationships_pkey',+ unique: true,+ fieldIds: [+ 'cmjlk9apmb8hz592dkvjl1xv7',+ 'oyvu5e3do75r1ak7fmtco10a6',+ ],+ createdAt: Date.now(),+ },+ ],+ color: '#c05dcf',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'o9wjk1il4nid4wtm7pf2c0gl3',+ name: 'wp_posts',+ schema: 'public',+ x: 1206.3931525008106,+ y: -475.19184039348437,+ fields: [+ {+ id: 'ohqdzo2yw6xrfvgazfk83qibs',+ name: 'id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'bkg7pyku9dmaxsw8v1ppewqyy',+ name: 'post_author',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '34seq71wmki6hepb80m1tba8q',+ name: 'post_date',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'zf0rlrrv1xly7zkcod23cfhw3',+ name: 'post_date_gmt',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'i343vq5wnfdk8b884m7aoyw8j',+ name: 'post_content',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '7uzxip5edic2mjmh84p673ywo',+ name: 'post_title',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'h9f0qmodolqu6mfm823w7oubo',+ name: 'post_excerpt',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'g5h3d3cvr7tv07xe9braw9its',+ name: 'post_status',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '48cvgw9xvake61539g6xihg65',+ name: 'comment_status',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '0b494kintpbzk4e9z61tzym8e',+ name: 'ping_status',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '4urj19xliob1s0d8udyojyqp4',+ name: 'post_password',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'nj2xm6ik42ishwlgkqq9d96pj',+ name: 'post_name',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '0rxwj5teawq06zsjz1o42ogp9',+ name: 'to_ping',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '20be8sgu7moxo4q37r2xe4qcf',+ name: 'pinged',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'rf7i6j7514u8f1gi6baxsdbdr',+ name: 'post_modified',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'dzbr49f08buq2p7v96wxdj5fb',+ name: 'post_modified_gmt',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'y83q018xhzmaghohl3yf6t5lq',+ name: 'post_content_filtered',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'kr9xstgjcs28w0p9xl7ou99sx',+ name: 'post_parent',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '5uv7pk14zonon7o2wu23jh28j',+ name: 'guid',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'dvbur4nldxoaau4r52n5yd17x',+ name: 'menu_order',+ type: {+ id: 'integer',+ name: 'integer',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '822fs67u0lsbr09urmd57fp0v',+ name: 'post_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'wh1hlt26f6c4zew0d6e4npqzt',+ name: 'post_mime_type',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'lorg0ztm3l10izxwfn8bhjp5k',+ name: 'comment_count',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'r2m232610v7ug6lbam85qlmuy',+ name: 'idx_wp_posts_post_author',+ unique: false,+ fieldIds: ['bkg7pyku9dmaxsw8v1ppewqyy'],+ createdAt: Date.now(),+ },+ {+ id: 'fl4rkl6pnivpsl2hqep6m5xp0',+ name: 'wp_posts_pkey',+ unique: true,+ fieldIds: ['ohqdzo2yw6xrfvgazfk83qibs'],+ createdAt: Date.now(),+ },+ ],+ color: '#ffe374',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'rs34x80mnoaxv269n3k7cc0yc',+ name: 'wp_signups',+ schema: 'public',+ x: 335.71179577700696,+ y: 44.51791435088094,+ fields: [+ {+ id: 'ikroslhrzcvu6qu454toiw0gm',+ name: 'signup_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 't6c5iykqfbud8mikvtt8du77k',+ name: 'domain',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'lqeojhpm1ecoslt7ch85mngav',+ name: 'path',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'lffog8fqfh2nguak3k0tl0x8m',+ name: 'title',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'diasmqvuuw46fhu7m9lyyd5hc',+ name: 'user_login',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'ca7q66r0fxwxot45n1rtyyaqm',+ name: 'user_email',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '07zl3e49zyd4wthaz7yh7f39s',+ name: 'registered',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'i013ak1jy912dlt3jihijybpb',+ name: 'activated',+ type: {+ id: 'timestamp_without_time_zone',+ name: 'timestamp without time zone',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '99j846njnrleej2dots1eb7u3',+ name: 'active',+ type: {+ id: 'smallint',+ name: 'smallint',+ },+ primaryKey: false,+ unique: false,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '6dq939xrodri1jtac4omgfdsg',+ name: 'activation_key',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'vrh2qb8tnce02anrm7co3y4mh',+ name: 'meta',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'noerd3lu5cw81yhrdnn2vgl0u',+ name: 'wp_signups_pkey',+ unique: true,+ fieldIds: ['ikroslhrzcvu6qu454toiw0gm'],+ createdAt: Date.now(),+ },+ ],+ color: '#ff9f74',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'wqlqwd8ae4ejnblmh220lkqfp',+ name: 'wp_termmeta',+ schema: 'public',+ x: 1551.421073393647,+ y: 246.169076258073,+ fields: [+ {+ id: '1jcuakfvukr5ad57hvumcqw05',+ name: 'meta_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: 'qxigvqtet9arcsufkto8t2lei',+ name: 'term_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: 'ypbzmo8ujg13j4hapsumsbkrl',+ name: 'meta_key',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '3a8x9a5a2uey3q652red9kh2d',+ name: 'meta_value',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: 'rllpxppdpx1gub7fgqbjrq7xg',+ name: 'idx_wp_termmeta_meta_key',+ unique: false,+ fieldIds: ['ypbzmo8ujg13j4hapsumsbkrl'],+ createdAt: Date.now(),+ },+ {+ id: 'cj3ani53e1qq3py2ltiy6w0kq',+ name: 'wp_termmeta_pkey',+ unique: true,+ fieldIds: ['1jcuakfvukr5ad57hvumcqw05'],+ createdAt: Date.now(),+ },+ ],+ color: '#b067e9',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ {+ id: 'ygw2bw4n5eduybebung4kr0a0',+ name: 'wp_postmeta',+ schema: 'public',+ x: 1603.621225253945,+ y: -524.5323780790153,+ fields: [+ {+ id: 'x51latdrxck97z1jvwrznv3gq',+ name: 'meta_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: true,+ unique: true,+ nullable: false,+ createdAt: Date.now(),+ },+ {+ id: '15jh2sepwhc688w3aurbw0h8y',+ name: 'post_id',+ type: {+ id: 'bigint',+ name: 'bigint',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '2k8xrzsnzr4l2lyvag54j1wd6',+ name: 'meta_key',+ type: {+ id: 'character_varying',+ name: 'character varying',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ {+ id: '7u8y6qis3ukz7m00cynbzyoez',+ name: 'meta_value',+ type: {+ id: 'text',+ name: 'text',+ },+ primaryKey: false,+ unique: false,+ nullable: true,+ createdAt: Date.now(),+ },+ ],+ indexes: [+ {+ id: '191b66rphjkpjj9sdwe4t5on3',+ name: 'idx_wp_postmeta_post_id',+ unique: false,+ fieldIds: ['15jh2sepwhc688w3aurbw0h8y'],+ createdAt: Date.now(),+ },+ {+ id: '6s5df7dgo3czgr50qohgd5cd7',+ name: 'idx_wp_postmeta_meta_key',+ unique: false,+ fieldIds: ['2k8xrzsnzr4l2lyvag54j1wd6'],+ createdAt: Date.now(),+ },+ {+ id: '1c36k6xpsqrn41bsxbjox6pyf',+ name: 'wp_postmeta_pkey',+ unique: true,+ fieldIds: ['x51latdrxck97z1jvwrznv3gq'],+ createdAt: Date.now(),+ },+ ],+ color: '#ffe374',+ isView: false,+ isMaterializedView: false,+ createdAt: Date.now(),+ },+ ],+ relationships: [+ {+ id: '0ns8qeop7ajstaeon129h6m9r',+ name: 'wp_usermeta_user_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'jnxcbry0h8skqzb9hcycb3yyo',+ targetTableId: '6xlz7vv2yf4k4likkwbpt9n7c',+ sourceFieldId: '8lhehz3ccq3uk6pj9ljs1n8ps',+ targetFieldId: 'hxm27ltfcn5nmpe916rghd74y',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '7igklsiesi7t0i80knwn7yrw5',+ name: 'wp_sitemeta_site_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'jctta9mhqs7w2j538wury1c1w',+ targetTableId: '5o1x7miqtyc34fu92j2l1mre4',+ sourceFieldId: 'rnwokdmkf593zs2l752sqqzv6',+ targetFieldId: 'yob6do17uh4cr0ypj2i0fie0o',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: '89y687cq1w5o844t9z819rn49',+ name: 'wp_term_relationships_term_taxonomy_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'nfun7jg6et5f144k96bq7eu2c',+ targetTableId: 'ew6aq96etubkyb6z3zytzf11s',+ sourceFieldId: 'oyvu5e3do75r1ak7fmtco10a6',+ targetFieldId: '09qxmhzgvtmmjaorme35vy3u1',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'a86cjc98872nta2h9svn0zh5m',+ name: 'wp_posts_post_author_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'o9wjk1il4nid4wtm7pf2c0gl3',+ targetTableId: '6xlz7vv2yf4k4likkwbpt9n7c',+ sourceFieldId: 'bkg7pyku9dmaxsw8v1ppewqyy',+ targetFieldId: 'hxm27ltfcn5nmpe916rghd74y',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'b2pol2cl7cvwia9ijndykugry',+ name: 'wp_termmeta_term_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'wqlqwd8ae4ejnblmh220lkqfp',+ targetTableId: '7ce2o0mij9li0k4g83swbhi5x',+ sourceFieldId: 'qxigvqtet9arcsufkto8t2lei',+ targetFieldId: 'fc9nfbmnaj04jkd8v2iv42wqk',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'b3yv64bbnp2ba5zz15gjjitfo',+ name: 'wp_term_taxonomy_term_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'ew6aq96etubkyb6z3zytzf11s',+ targetTableId: '7ce2o0mij9li0k4g83swbhi5x',+ sourceFieldId: '21hja8tuvhtx7a4en2cdw7f9j',+ targetFieldId: 'fc9nfbmnaj04jkd8v2iv42wqk',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'f219so73ppnc8ekaf85ginq6n',+ name: 'wp_term_relationships_object_id_fk',+ sourceSchema: 'public',+ sourceTableId: 'nfun7jg6et5f144k96bq7eu2c',+ targetSchema: 'public',+ targetTableId: 'o9wjk1il4nid4wtm7pf2c0gl3',+ sourceFieldId: 'cmjlk9apmb8hz592dkvjl1xv7',+ targetFieldId: 'ohqdzo2yw6xrfvgazfk83qibs',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'fc7cpnphzy7vwgu5ufsv5gyhm',+ name: 'wp_comments_comment_post_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: '5719hh2vceoxft07yyuw412nf',+ targetTableId: 'o9wjk1il4nid4wtm7pf2c0gl3',+ sourceFieldId: '6opwy4tby70gcyv07zfdlwy5z',+ targetFieldId: 'ohqdzo2yw6xrfvgazfk83qibs',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'kupr53r1vouh0z2ltruwa6dns',+ name: 'wp_postmeta_post_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'ygw2bw4n5eduybebung4kr0a0',+ targetTableId: 'o9wjk1il4nid4wtm7pf2c0gl3',+ sourceFieldId: '15jh2sepwhc688w3aurbw0h8y',+ targetFieldId: 'ohqdzo2yw6xrfvgazfk83qibs',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'qxotox85i9w98igh93fles0dt',+ name: 'wp_links_link_owner_fk',+ sourceSchema: 'public',+ sourceTableId: '0ovpgck8or3x6m2xn2hmbp0c4',+ targetSchema: 'public',+ targetTableId: '6xlz7vv2yf4k4likkwbpt9n7c',+ sourceFieldId: 'vdmz1ajoyc2xwznmgfoz0gx5s',+ targetFieldId: 'hxm27ltfcn5nmpe916rghd74y',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 's417vqou6082w7vjq5gi69ta0',+ name: 'wp_comments_user_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: '5719hh2vceoxft07yyuw412nf',+ targetTableId: '6xlz7vv2yf4k4likkwbpt9n7c',+ sourceFieldId: 'bzfamxzjmb99922r0msiht80n',+ targetFieldId: 'hxm27ltfcn5nmpe916rghd74y',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ {+ id: 'svol4nyb1j4x1xhqr90ztudut',+ name: 'wp_commentmeta_comment_id_fkey',+ sourceSchema: 'public',+ targetSchema: 'public',+ sourceTableId: 'm2pgq2gj9kmakbqiuhhm0ymko',+ targetTableId: '5719hh2vceoxft07yyuw412nf',+ sourceFieldId: 'irhkiwlxmpkt03b9t9movacxf',+ targetFieldId: 'bu3m7h9vakhkun8k6nrrs18ld',+ sourceCardinality: 'many',+ targetCardinality: 'one',+ createdAt: Date.now(),+ },+ ],+ dependencies: [],+ },+};