Skip to content

Database diagrams editor that allows you to visualize and design your DB with a single query.

235 KB
Raw Blame
import { DatabaseType } from '@/lib/domain/database-type';
import type { Template } from '../templates-data';
import image from '@/assets/templates/attendize-db.png';
import imageDark from '@/assets/templates/attendize-db-dark.png';

const now = Date.now();

export const attendizeDb: Template = {
    slug: 'attendize-database',
    name: 'Attendize',
    shortDescription: 'Ticketing platform',
    description: 'Ticket selling and event management platform',
    image,
    imageDark,
    tags: ['MySQL', 'Open Source', 'Laravel', 'PHP'],
    featured: true,
    url: 'https://github.com/attendizehq/attendize',
    diagram: {
        id: 'attendize_db',
        name: 'attendize-database',
        createdAt: new Date(),
        updatedAt: new Date(),
        databaseType: DatabaseType.POSTGRESQL,
        tables: [
            {
                id: '0jwg98i8ql3apc2kk89n0vaw6',
                name: 'orders',
                schema: 'public',
                x: 1867.6522425435433,
                y: 621.572412738697,
                fields: [
                    {
                        id: 'v5ytdip4utwx6w7kejm9znuu6',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '551jkb65dg7f5oyta09ttn68b',
                        name: 'account_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'h44j0estu8g3yfxit6xllj8f2',
                        name: 'order_status_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'yuewzyu2envul0q5coqp4kb41',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '01zxu9u0z9eycl1noeo2rhaqx',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'l6hazgkrlf7dzf8m37ltvq35s',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '4ons0ucakzf4i76kszn5vcgrd',
                        name: 'first_name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'm38nm4dwes6272nd257n7o2lb',
                        name: 'last_name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'afyykt7b7kab5y1kj1hh2hm8m',
                        name: 'email',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '6r48a8ooxo23f2dlkedx6c74g',
                        name: 'business_name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '0h03h251rttium4z6vqa47v0y',
                        name: 'business_tax_number',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'ocfwbywq66q19n3u2vf4zhnvc',
                        name: 'business_address_line_one',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '4hqc25cbtshdd5frt7x3g71uu',
                        name: 'business_address_line_two',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '8dxjmuf810e03xqebg8c7viit',
                        name: 'business_address_state_province',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'ela1ejpw4pz23qgw741u19zik',
                        name: 'business_address_city',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'g0s13ork9t6upxu2foj32nu4b',
                        name: 'ticket_pdf_path',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'veufp7hhciexbypfdl1jglrob',
                        name: 'order_reference',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'br2wbwxs2ho8u86d49lyizakh',
                        name: 'transaction_id',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '2lj6iuzloa0b6s6ycy28cix9z',
                        name: 'discount',
                        type: {
                            id: 'numeric',
                            name: 'numeric',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        precision: 8,
                        scale: 2,
                        createdAt: now,
                    },
                    {
                        id: 'qqusdhwx81sfqk29n9drf277g',
                        name: 'booking_fee',
                        type: {
                            id: 'numeric',
                            name: 'numeric',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        precision: 8,
                        scale: 2,
                        createdAt: now,
                    },
                    {
                        id: 'b1wslrmena3ni2rzbqgo0zxki',
                        name: 'organiser_booking_fee',
                        type: {
                            id: 'numeric',
                            name: 'numeric',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        precision: 8,
                        scale: 2,
                        createdAt: now,
                    },
                    {
                        id: 't4riie2ok6p102i5xekeemys4',
                        name: 'order_date',
                        type: {
                            id: 'date',
                            name: 'date',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'qnu2xverzkz1iznsnbcvt0nzo',
                        name: 'notes',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'bdmu78k7fp6uoav1ja9zvaq4f',
                        name: 'is_deleted',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '66qp7z0087ohkemh5ghtek2iu',
                        name: 'is_cancelled',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'ssddven3mrhq7v5knq73scalp',
                        name: 'is_partially_refunded',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'gvnloxh4i706sl7f4h1kpzdpy',
                        name: 'is_refunded',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'nq7k57asiop6jvn0n16twwtqo',
                        name: 'amount',
                        type: {
                            id: 'numeric',
                            name: 'numeric',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        precision: 8,
                        scale: 2,
                        createdAt: now,
                    },
                    {
                        id: 'lmgmg6l75jwt6kh1yc9vzqygo',
                        name: 'amount_refunded',
                        type: {
                            id: 'numeric',
                            name: 'numeric',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        precision: 8,
                        scale: 2,
                        createdAt: now,
                    },
                    {
                        id: 'dobgq59yozcsjev94gkmsmsj8',
                        name: 'event_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'laenvryoe9a8c5jbou7qp12g3',
                        name: 'payment_gateway_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '38g2cbqby1poucoakr0521fsz',
                        name: 'is_payment_received',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'evsd4s3syosskxg67pa57jqj4',
                        name: 'is_business',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'q4rolcmf5149tus8im4t41iga',
                        name: 'taxamt',
                        type: {
                            id: 'double_precision',
                            name: 'double precision',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'kdj15n2jz1tmepl7yuyos2cvh',
                        name: 'business_address_code',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'y253tvj79w9ud6se3gpybzqn3',
                        name: 'payment_intent',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'gzj4sadr2bzs51gvfbwr6nmsy',
                        name: 'orders_event_id_index',
                        unique: false,
                        fieldIds: ['dobgq59yozcsjev94gkmsmsj8'],
                        createdAt: now,
                    },
                    {
                        id: '1wnvptolv546w1jubkcl1vc1i',
                        name: 'orders_pkey',
                        unique: true,
                        fieldIds: ['v5ytdip4utwx6w7kejm9znuu6'],
                        createdAt: now,
                    },
                    {
                        id: 'wwovpp5a6nqgy6n9zu2j50ltl',
                        name: 'orders_account_id_index',
                        unique: false,
                        fieldIds: ['551jkb65dg7f5oyta09ttn68b'],
                        createdAt: now,
                    },
                ],
                color: '#42e0c0',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: '2knq69p6g7wv6m2yl0b9mjfkm',
                name: 'failed_jobs',
                schema: 'public',
                x: 823.9936360975576,
                y: 1601.7830874145905,
                fields: [
                    {
                        id: 'zik0e3t6xyf13drfazh68my1z',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '6ni9a3elhdhujfm1gey5im8fj',
                        name: 'connection',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'sn27ywu9j7yp6vze774g46nxq',
                        name: 'queue',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '7q2z9qnpwuhgf4dr0ztgna5du',
                        name: 'payload',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'dzi9nvxcfmt1wxndx5nht6uts',
                        name: 'failed_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'tfhfjx7tajuzwctvq73npk2e0',
                        name: 'failed_jobs_pkey',
                        unique: true,
                        fieldIds: ['zik0e3t6xyf13drfazh68my1z'],
                        createdAt: now,
                    },
                ],
                color: '#7175fa',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: '2z2bq85ryoxfem6hosxg7jt7b',
                name: 'users',
                schema: 'public',
                x: 767.6522425435433,
                y: 621.572412738697,
                fields: [
                    {
                        id: 'bvnn57vmyjywrcyu7kmlw38bj',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'wa1vqnaj7ppcgk3u9jrjgjb8n',
                        name: 'account_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'd070udj5945xtzvo50at6hq5o',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'uqpjyh1hruljk9gmqhfux3en7',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'jy7ns4cqyjkwskkh6ket78g4p',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'x0rg5zeap5id6ynr55t0tgceu',
                        name: 'first_name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '817z2mzn1ajmbflvf0co4zpvl',
                        name: 'last_name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '4vaib7ts4kqjoiqx2i3azz676',
                        name: 'phone',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'npeznpthwqpemxdp95l5o06wl',
                        name: 'email',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'q6orgktrlnycrlzu1xk6nlez4',
                        name: 'password',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '92h351zr6bq4j15shrbbjc1eq',
                        name: 'confirmation_code',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'ibmnpbvte6elrrlpsr7l819zs',
                        name: 'is_registered',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'thot8uouyfdavfy5n7dxghiln',
                        name: 'is_confirmed',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'e16qouna5zy8788o9zoknfwd0',
                        name: 'is_parent',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'sgzxfd07fu6odkesjt7pnas7a',
                        name: 'remember_token',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '8i2w4deud33imv3i5bsh6z3o9',
                        name: 'api_token',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: true,
                        nullable: true,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: '5kj2ue084l0sz0ksy1yebna1m',
                        name: 'users_pkey',
                        unique: true,
                        fieldIds: ['bvnn57vmyjywrcyu7kmlw38bj'],
                        createdAt: now,
                    },
                    {
                        id: 'mcxwwa7qhr5a1j4pqozl0d7a0',
                        name: 'users_api_token_unique',
                        unique: true,
                        fieldIds: ['8i2w4deud33imv3i5bsh6z3o9'],
                        createdAt: now,
                    },
                    {
                        id: 'zdmz073p2cjlquycni928ju59',
                        name: 'users_account_id_index',
                        unique: false,
                        fieldIds: ['wa1vqnaj7ppcgk3u9jrjgjb8n'],
                        createdAt: now,
                    },
                ],
                color: '#ff6b8a',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: '4rdnnwi1cuzwxyvkx57vrfryi',
                name: 'order_statuses',
                schema: 'public',
                x: 2267.6522425435433,
                y: 621.572412738697,
                fields: [
                    {
                        id: 'pogtj140gvwfm4zruz343526g',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'g17kpbuh2v9ae5163u1joj4yb',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: '78s44c9h46k9n81mwyx284n2w',
                        name: 'order_statuses_pkey',
                        unique: true,
                        fieldIds: ['pogtj140gvwfm4zruz343526g'],
                        createdAt: now,
                    },
                ],
                color: '#ff6363',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: '5v39qfrtcdt9bkh9kx55r3th2',
                name: 'question_ticket',
                schema: 'public',
                x: 2867.6522425435433,
                y: 2004.5851146309165,
                fields: [
                    {
                        id: '8arj70a7fonutq7djdovcs073',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'dzk1oytdukrb9aqlf9m4jns5x',
                        name: 'question_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'o06yl4othecyh19jcxt2jlofc',
                        name: 'ticket_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: '8bwbgw2o2ukjmm5c0rmvcffdj',
                        name: 'question_ticket_pkey',
                        unique: true,
                        fieldIds: ['8arj70a7fonutq7djdovcs073'],
                        createdAt: now,
                    },
                    {
                        id: 'ow3hjxgh061v0shfda75ohbtt',
                        name: 'question_ticket_question_id_index',
                        unique: false,
                        fieldIds: ['dzk1oytdukrb9aqlf9m4jns5x'],
                        createdAt: now,
                    },
                    {
                        id: 'wutl4w0onn191d1mca60y60r6',
                        name: 'question_ticket_ticket_id_index',
                        unique: false,
                        fieldIds: ['o06yl4othecyh19jcxt2jlofc'],
                        createdAt: now,
                    },
                ],
                color: '#7175fa',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: '655xhyywzvk1y116a1428j0g8',
                name: 'ticket_statuses',
                schema: 'public',
                x: 23.993636097557555,
                y: 1601.7830874145905,
                fields: [
                    {
                        id: 'zlr74wvtqhm6l0votftkwqy5j',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'odg4sjp4jpbu4uutuzznxm5zb',
                        name: 'name',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: '1epyk3z84vy3wq88qqdggig78',
                        name: 'ticket_statuses_pkey',
                        unique: true,
                        fieldIds: ['zlr74wvtqhm6l0votftkwqy5j'],
                        createdAt: now,
                    },
                ],
                color: '#7175fa',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: '658lzdwgz9s2tqb68d1u8nj16',
                name: 'organisers',
                schema: 'public',
                x: 1077.5502174130047,
                y: 515.5003558938644,
                fields: [
                    {
                        id: 's6e068z03w8qkfxitviitkkoc',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '4u3x8ykce619j5vzffjhejl5m',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'azxb6h0cdsn7pzhn8voc01ah5',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'oa3eu7z56uyppivlnn9yr07td',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'o3gvyh4fl1j7hbz9e802c4on3',
                        name: 'account_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'wezunsodna8e0knu561yozebr',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'qhncqpoyadkzzkfgsbarf8rlj',
                        name: 'about',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '4ytad52e7fr5emd8n4510pf03',
                        name: 'email',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'fptf3zdvzc6ku1lwq3y1420bn',
                        name: 'phone',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'jixydkd42z0ledhdk0395h7fl',
                        name: 'confirmation_key',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'e12c55nxwk2b29clw3h9onpv1',
                        name: 'facebook',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'lpsz5enypto1iqavkdf7qeoc2',
                        name: 'twitter',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'enrx30599r68k2i5a3yszbo5o',
                        name: 'logo_path',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'nbjitkdeuwh85hdx7pqy3bilj',
                        name: 'is_email_confirmed',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '3gq7raenmbloncqsuw2m72u22',
                        name: 'show_twitter_widget',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '60y0f5c2ggtd19i8kclchgtfw',
                        name: 'show_facebook_widget',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'xhomwf7dm3d4tk2b5ns6xstdi',
                        name: 'page_header_bg_color',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'jmsnoznlvuuuptwqlhw2pprqu',
                        name: 'page_bg_color',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'mn8lwio0jhqwvb8wq9x9qanlk',
                        name: 'page_text_color',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '7wvq67t2co5prlhvw8jix1awj',
                        name: 'enable_organiser_page',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '2ny8m0cpyycwwodyifsv9eafr',
                        name: 'google_analytics_code',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '6ki2ek9je2t6pwuvr7baemg8n',
                        name: 'google_tag_manager_code',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 's0esmt93jhr6lhzozppeelwj9',
                        name: 'tax_name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'x436mu0f8n53484f8eraqf98c',
                        name: 'tax_value',
                        type: {
                            id: 'double_precision',
                            name: 'double precision',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'iuhuomg9erkan1lgzff1yujb6',
                        name: 'tax_id',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'fj36j4jaq539fpun11aeitfro',
                        name: 'charge_tax',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'rx3m988vikm9ztbkme9jtmgyl',
                        name: 'organisers_account_id_index',
                        unique: false,
                        fieldIds: ['o3gvyh4fl1j7hbz9e802c4on3'],
                        createdAt: now,
                    },
                    {
                        id: '0bybav905kfz1x73kpxj4k2zc',
                        name: 'organisers_pkey',
                        unique: true,
                        fieldIds: ['s6e068z03w8qkfxitviitkkoc'],
                        createdAt: now,
                    },
                ],
                color: '#7175fa',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: '6a55dg99s0tq6epao17d36q6h',
                name: 'question_types',
                schema: 'public',
                x: 3067.6522425435433,
                y: 1571.572412738697,
                fields: [
                    {
                        id: 'zy3495xhg4r7jf0jajidpca9p',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 't1ee56evaeivjmszzeq149zqu',
                        name: 'alias',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'g5upisq0mq8wlyyhk4sple4o6',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '0v69jvosc6zivgru95kernxi9',
                        name: 'has_options',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'a2qpiqjbaa0y58yn4x4lcoeja',
                        name: 'allow_multiple',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'ss73fgeiknlgcy1jgdozo9p2t',
                        name: 'question_types_pkey',
                        unique: true,
                        fieldIds: ['zy3495xhg4r7jf0jajidpca9p'],
                        createdAt: now,
                    },
                ],
                color: '#8a61f5',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'a16s8vnuh3aqdchm6tzgnalcc',
                name: 'password_resets',
                schema: 'public',
                x: 423.99363609755756,
                y: 1601.7830874145905,
                fields: [
                    {
                        id: 'xnbc1aarqcq0jqo6yw4rv8gl4',
                        name: 'email',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'b7lji8f8km982bo5yth88tm1f',
                        name: 'token',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '5r1cxcpr2xq1ytwu5d6pmh4zg',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: '9xnaeegwjgj6diheed191yw9v',
                        name: 'password_resets_token_index',
                        unique: false,
                        fieldIds: ['b7lji8f8km982bo5yth88tm1f'],
                        createdAt: now,
                    },
                    {
                        id: 'kghkevfc6eeccat065eeda6qm',
                        name: 'password_resets_email_index',
                        unique: false,
                        fieldIds: ['xnbc1aarqcq0jqo6yw4rv8gl4'],
                        createdAt: now,
                    },
                ],
                color: '#b067e9',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'ai9wqugvgyan2g0001y80raad',
                name: 'countries',
                schema: 'public',
                x: -343.58222275240877,
                y: 421.3938048432697,
                fields: [
                    {
                        id: 'l4xa66t2m3mb21wcq4g8ruukj',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'dskk0lzqq4d5bdzd78cxuhzz4',
                        name: 'capital',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '3trzn12deeovttx370jes0r1k',
                        name: 'citizenship',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'kllvepzzsrqh3w4b16grw6j54',
                        name: 'country_code',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '55umrlgm1mu1stc0guevrthi1',
                        name: 'currency',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'mgj2sfh9lkx32jhqnrt8tueyr',
                        name: 'currency_code',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'dbtpnucdk2yyewhoqykdfjj1k',
                        name: 'currency_sub_unit',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'qkzgz6a7qfrwxj88aj1ay1oju',
                        name: 'full_name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '99i1vfpim6zxv27lb5se7tg4d',
                        name: 'iso_3166_2',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'pmmz49f1t1le3l316lfyga029',
                        name: 'iso_3166_3',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'oxx972emj01o6u1d6zwts7qsp',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '96gsyciolskn9a6sfmdzrwlrq',
                        name: 'region_code',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'kxpswqm3f8bpt4qryy6pgj1c9',
                        name: 'sub_region_code',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'shgaixs273l0if8dkuw8y5imj',
                        name: 'eea',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: '6lygr6cy5mygotko9rgnjtur3',
                        name: 'countries_pkey',
                        unique: true,
                        fieldIds: ['l4xa66t2m3mb21wcq4g8ruukj'],
                        createdAt: now,
                    },
                ],
                color: '#b067e9',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'd02btgvrqua69zcgbehgcn1gr',
                name: 'tickets',
                schema: 'public',
                x: 1467.6522425435433,
                y: 621.572412738697,
                fields: [
                    {
                        id: 'yia7etzlthe63e7l6vylb64rg',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'g9t0az2xm977clbpva6nis7f6',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'e50gyay4czpivpnzfdjpo3r1y',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '3iytb5kp27z0cwsyvdvq4br4e',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'w9lj85pb57l0uxohgqvqgajar',
                        name: 'edited_by_user_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '12wlwlqnmt4yvbcibo7dnk6ji',
                        name: 'account_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'd6duek9o19clqajfu91f8cta2',
                        name: 'order_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'h8hrihehigpyr10agej5x1syf',
                        name: 'event_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 't5axtjxx0ql4kkd3n8k57pzwa',
                        name: 'title',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'b9013ih0gsx3a65bc9hlu9klz',
                        name: 'description',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'uauce2z3q4tl6mxgvzepbnm0h',
                        name: 'price',
                        type: {
                            id: 'numeric',
                            name: 'numeric',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        precision: 8,
                        scale: 2,
                        createdAt: now,
                    },
                    {
                        id: 'm8yowdn438fivfyx95kdeqjlo',
                        name: 'max_per_person',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'q2cxicuoskeafalmwrk43876c',
                        name: 'min_per_person',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '74s1q29xgkmvcnbo4hnqr4yvy',
                        name: 'quantity_available',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'iey8g10lvwb6y2mr3nril4w8u',
                        name: 'quantity_sold',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 's7dtufcz9vka1m5aaea0jk40v',
                        name: 'start_sale_date',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'toaydejs82qgvofw5oxmru6vj',
                        name: 'end_sale_date',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '32ade9ilav4m7kfxxj8bbgf1p',
                        name: 'sales_volume',
                        type: {
                            id: 'numeric',
                            name: 'numeric',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        precision: 8,
                        scale: 2,
                        createdAt: now,
                    },
                    {
                        id: 'w2uap53geg2ncupgylblrmp9v',
                        name: 'organiser_fees_volume',
                        type: {
                            id: 'numeric',
                            name: 'numeric',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        precision: 8,
                        scale: 2,
                        createdAt: now,
                    },
                    {
                        id: 'j5c7dlv70dtkto1o1bwxzecnw',
                        name: 'is_paused',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'hqh6qd3jw29lq6o3kbj3zbodn',
                        name: 'public_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '8vylrq8edgyepnmrgoq5x9i7h',
                        name: 'user_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 't57adaf4odc2x47vp1ys5dyt0',
                        name: 'sort_order',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '3d5llmrwa9nhuezgn2oclrgce',
                        name: 'is_hidden',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'j01yuepsvmb8qavgln14rvum4',
                        name: 'tickets_event_id_index',
                        unique: false,
                        fieldIds: ['h8hrihehigpyr10agej5x1syf'],
                        createdAt: now,
                    },
                    {
                        id: 'li6z3kudniq60iwor7yxxa9zh',
                        name: 'tickets_account_id_index',
                        unique: false,
                        fieldIds: ['12wlwlqnmt4yvbcibo7dnk6ji'],
                        createdAt: now,
                    },
                    {
                        id: '29sti7y2bkxbc0rvgulsaoftc',
                        name: 'tickets_public_id_index',
                        unique: false,
                        fieldIds: ['hqh6qd3jw29lq6o3kbj3zbodn'],
                        createdAt: now,
                    },
                    {
                        id: 'i40q1iviaxg65kz8791gv2kij',
                        name: 'tickets_pkey',
                        unique: true,
                        fieldIds: ['yia7etzlthe63e7l6vylb64rg'],
                        createdAt: now,
                    },
                ],
                color: '#b067e9',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'dj6793s7aaseyzmkdfvehhic8',
                name: 'question_answers',
                schema: 'public',
                x: 2267.6522425435433,
                y: 1571.572412738697,
                fields: [
                    {
                        id: 'fl8c5nbbvo9lueey18xszn2zg',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'z0tu4dmtw62r5822h1qaljn67',
                        name: 'attendee_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '42g11ttmj6u4e4tg9em4aqer0',
                        name: 'event_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'jr4v69i918bnijz6txgzqgy20',
                        name: 'question_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '1bk7gdd0td6cc0928k3mfxy8j',
                        name: 'account_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'iotnp5e27hpnp4fdq9dy6qtg7',
                        name: 'answer_text',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'mdqs8iyyos4xla75x56mwinga',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'kt71yz9mvr9ipxxqkkf2od0qe',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: '8dopf81hmurow0wg3np11d43x',
                        name: 'question_answers_event_id_index',
                        unique: false,
                        fieldIds: ['42g11ttmj6u4e4tg9em4aqer0'],
                        createdAt: now,
                    },
                    {
                        id: '5fs4uy4wzc5mirs47yi7ylwii',
                        name: 'question_answers_question_id_index',
                        unique: false,
                        fieldIds: ['jr4v69i918bnijz6txgzqgy20'],
                        createdAt: now,
                    },
                    {
                        id: 'jt2b4c3qw0253m541a20eerar',
                        name: 'question_answers_pkey',
                        unique: true,
                        fieldIds: ['fl8c5nbbvo9lueey18xszn2zg'],
                        createdAt: now,
                    },
                    {
                        id: 't7r2hsqiu9bn1b19ax08h0n0l',
                        name: 'question_answers_account_id_index',
                        unique: false,
                        fieldIds: ['1bk7gdd0td6cc0928k3mfxy8j'],
                        createdAt: now,
                    },
                    {
                        id: 'i5tfkbrraix0b6er1lc1akk2j',
                        name: 'question_answers_attendee_id_index',
                        unique: false,
                        fieldIds: ['z0tu4dmtw62r5822h1qaljn67'],
                        createdAt: now,
                    },
                ],
                color: '#7175fa',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'f4xl1qz0xo1bkj8nrcakrawnl',
                name: 'payment_gateways',
                schema: 'public',
                x: 2256.5609721961446,
                y: 1081.1918205099528,
                fields: [
                    {
                        id: 'ktigomjopdv0sa9tycebw3nm5',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'swoe8b5rmc5ik46fpzeig6kyr',
                        name: 'provider_name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'c8nvvzqdhpc7aj942gqo078cl',
                        name: 'provider_url',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '4jw2vllg8hdo6clfcwbjr5esi',
                        name: 'is_on_site',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '91ansiau3zntv6rzd8m21hvlk',
                        name: 'can_refund',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'bjl9ekjqqkpm7zv6r9mi59yu9',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'x6664rsebhp07pbg0wp1koa7d',
                        name: 'default',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'i6zyi9xd8yu6t9e6c74dq0c5w',
                        name: 'admin_blade_template',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'tf8h1wb3fj86syr52lejcij0f',
                        name: 'checkout_blade_template',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'emdz0x3pon76n96y0a3ddvac2',
                        name: 'payment_gateways_pkey',
                        unique: true,
                        fieldIds: ['ktigomjopdv0sa9tycebw3nm5'],
                        createdAt: now,
                    },
                ],
                color: '#ffe374',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'fzo811akulhpt5nrkplly34jw',
                name: 'event_images',
                schema: 'public',
                x: 785.1930231155402,
                y: 1203.1666880642558,
                fields: [
                    {
                        id: 'bb3mw237kmcwk85jqf85xt7vi',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '253dqd9oqiqeniktxk9romhql',
                        name: 'image_path',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'x8vg6oa76x6o51oqo5dj5nw5r',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'j4vrx5nmwwvr7j2vr5azdz9a7',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'ee7qgl7v87sm3jzr1d7yg4v7p',
                        name: 'event_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'isb4kxin3zcpeq9kz5u4bnje6',
                        name: 'account_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '2nfy3clt34b38cnzqttgopw08',
                        name: 'user_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'dzr5v5k0pr2xn2925yllokjv1',
                        name: 'event_images_pkey',
                        unique: true,
                        fieldIds: ['bb3mw237kmcwk85jqf85xt7vi'],
                        createdAt: now,
                    },
                ],
                color: '#7175fa',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'gnh3sy3oid51u6ez04alw5mam',
                name: 'event_access_codes',
                schema: 'public',
                x: 2174.070019791134,
                y: 192.9662175819667,
                fields: [
                    {
                        id: 'pabq42zess0hb3f2s4y1rsj9f',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'y62yqnkkms0xp7sscnorwafgf',
                        name: 'event_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'kse3vbs4y0v5two69yal8cr1l',
                        name: 'code',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '6r9eilcxj8zrmrxi5ym8jkavz',
                        name: 'usage_count',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '135od2zzffhiib9d2u5j96n0j',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'a0l1sk5rg16uzvnn3jm7b98cu',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'luh4i9j32py3y4ium39lt76fl',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'gyfnxqdd8s9fqcirmqls99ba1',
                        name: 'event_access_codes_pkey',
                        unique: true,
                        fieldIds: ['pabq42zess0hb3f2s4y1rsj9f'],
                        createdAt: now,
                    },
                ],
                color: '#ff9f74',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'h7n2foxmyb8c70hi4fcihvab2',
                name: 'event_question',
                schema: 'public',
                x: 1967.6522425435433,
                y: 1571.572412738697,
                fields: [
                    {
                        id: 'i4r5vofhtlafnx0xqca9tcthb',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'i63yixq3geoas9opsc2r2lhx6',
                        name: 'event_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'b1qn83jdhuy4vdmls5sw9oy3s',
                        name: 'question_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'clsp6km82uj35vjln95cmb3lc',
                        name: 'event_question_event_id_index',
                        unique: false,
                        fieldIds: ['i63yixq3geoas9opsc2r2lhx6'],
                        createdAt: now,
                    },
                    {
                        id: '6p85t3673367dq2ib6zs8iq5b',
                        name: 'event_question_question_id_index',
                        unique: false,
                        fieldIds: ['b1qn83jdhuy4vdmls5sw9oy3s'],
                        createdAt: now,
                    },
                    {
                        id: '0bq9zejb8cxs1duqpkyakcypz',
                        name: 'event_question_pkey',
                        unique: true,
                        fieldIds: ['i4r5vofhtlafnx0xqca9tcthb'],
                        createdAt: now,
                    },
                ],
                color: '#42e0c0',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'i5u0kd4mjmdgun131p883b70e',
                name: 'questions',
                schema: 'public',
                x: 2667.6522425435433,
                y: 1571.572412738697,
                fields: [
                    {
                        id: 'jw4acgrxqabbq2ptpz8o1ke1e',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'mqne6s73ttzvwrit31p0fhlum',
                        name: 'title',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '4wsyj4dyrobwyxoe9ejhqzb2k',
                        name: 'question_type_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '47kpvyaujh0nslg7wmwh9adcs',
                        name: 'account_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'a6z2158madqgcvnxpd1oofzg5',
                        name: 'is_required',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'yk2wy3xts1d4erqv5kgxeduyd',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'wdv6l0lyf781obifh2xifzz64',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'jzh317x4368w0gzk258yyd43a',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 's1vhopawjq7aqe5gq83omp601',
                        name: 'sort_order',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '6zila6tkyo36pv5rd6tgafnfp',
                        name: 'is_enabled',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'vxbhpcvxmaza9hbpcv3d89xxb',
                        name: 'questions_account_id_index',
                        unique: false,
                        fieldIds: ['47kpvyaujh0nslg7wmwh9adcs'],
                        createdAt: now,
                    },
                    {
                        id: 'ixg8dwdqw3k72gc6wdl4skzku',
                        name: 'questions_pkey',
                        unique: true,
                        fieldIds: ['jw4acgrxqabbq2ptpz8o1ke1e'],
                        createdAt: now,
                    },
                ],
                color: '#ff6b8a',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'oq4zp3pg7o4ada4q374ca06ue',
                name: 'reserved_tickets',
                schema: 'public',
                x: 1537.1115136103153,
                y: 1563.9762892448011,
                fields: [
                    {
                        id: 'nxjm8p19svck7cjhs9y2y6ro2',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '25p7hhg97oxp8j885xcr5ob1o',
                        name: 'ticket_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '0u3iq5b7pe74g69kt2adu1kmv',
                        name: 'event_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'uaf4mvkh6am4ir1ejrjtjlf4s',
                        name: 'quantity_reserved',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '6xnd3fremr07dw0rcjswvjn1h',
                        name: 'expires',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '0ui3mfgb3rexg35p5dx3femx0',
                        name: 'session_id',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 't3d6p6twew3v48w785yimm0eo',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'eqxoq0fmvjfh7fp1nmruqfi70',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: '13w3ohgadzod5vyamzpzki3np',
                        name: 'reserved_tickets_pkey',
                        unique: true,
                        fieldIds: ['nxjm8p19svck7cjhs9y2y6ro2'],
                        createdAt: now,
                    },
                ],
                color: '#ff9f74',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'phg9zkuircctz782gq3g94qty',
                name: 'attendees',
                schema: 'public',
                x: 1867.6522425435433,
                y: 1121.572412738697,
                fields: [
                    {
                        id: 'wr8k5tmphui1x4xsnzwkot8up',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'kgotvefy9nujd9c061jj8ikwf',
                        name: 'order_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '0mff4k3u32drwr6h8y44z4xkf',
                        name: 'event_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'zdjijp5tri7p9q8huelv1fslr',
                        name: 'ticket_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '5df4v106n30iuk8z71gqxabjf',
                        name: 'first_name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'rw9rqgkfmsbdcj670u2c96lmr',
                        name: 'last_name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'wvi60k9c585lam8bja9jzj1b9',
                        name: 'email',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'lg19r94ifazr9gk9mlqw6mhcs',
                        name: 'private_reference_number',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'hft3124brpjj6n0fe2by4i8dw',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'ppkgdlbm358fyhr6kymadq4n3',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '81pp5lsbbapkqqd94qhep8a3m',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'dfdmhafobxnbiner1qwou4mr3',
                        name: 'is_cancelled',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'zuywpdp3bln7jn2ub05elnagn',
                        name: 'has_arrived',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'd6bp7r8wxmqoc34c6ertvgdp6',
                        name: 'arrival_time',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '5vtctmdfxkdmff8ay26jrjsdd',
                        name: 'account_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'ahyuwdfk4r4wuay59um1cbypl',
                        name: 'reference_index',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'bb7ju38mvfhcx7fjwfjlo886e',
                        name: 'is_refunded',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: '7ybfqz6egxbnbgfzyngeajb1q',
                        name: 'attendees_ticket_id_index',
                        unique: false,
                        fieldIds: ['zdjijp5tri7p9q8huelv1fslr'],
                        createdAt: now,
                    },
                    {
                        id: '0fp5gbf0luzxcnlaapfkucbdc',
                        name: 'attendees_private_reference_number_index',
                        unique: false,
                        fieldIds: ['lg19r94ifazr9gk9mlqw6mhcs'],
                        createdAt: now,
                    },
                    {
                        id: 'yk8gnhr6arbx0iaa3z664pm6p',
                        name: 'attendees_pkey',
                        unique: true,
                        fieldIds: ['wr8k5tmphui1x4xsnzwkot8up'],
                        createdAt: now,
                    },
                    {
                        id: 'ekch9gngtrjveq44mdz5uwt25',
                        name: 'attendees_event_id_index',
                        unique: false,
                        fieldIds: ['0mff4k3u32drwr6h8y44z4xkf'],
                        createdAt: now,
                    },
                    {
                        id: 'jeigom46dj0mxacbsyuzparw7',
                        name: 'attendees_account_id_index',
                        unique: false,
                        fieldIds: ['5vtctmdfxkdmff8ay26jrjsdd'],
                        createdAt: now,
                    },
                    {
                        id: '40smxqsku1lj2t8ofyyd71cvw',
                        name: 'attendees_order_id_index',
                        unique: false,
                        fieldIds: ['kgotvefy9nujd9c061jj8ikwf'],
                        createdAt: now,
                    },
                ],
                color: '#8a61f5',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'qxivebcj5m5hag01sl2jncho1',
                name: 'messages',
                schema: 'public',
                x: 444.04544479356434,
                y: 915.4650388849336,
                fields: [
                    {
                        id: 'yka9xs1lrfnp9xxzjcpor19q6',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'm14as80fi8057e4zh5q8huxwe',
                        name: 'message',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '788bsnrvx6re5y370enor9kto',
                        name: 'subject',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'bo6c5yctibf4zv7rbm30wepx1',
                        name: 'recipients',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'ov18xjczv54cmi9ygmeica28q',
                        name: 'account_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'w72btrfyytr8jv6156tbtkych',
                        name: 'user_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '4z771kjbg4hqu03s9olhhve8m',
                        name: 'event_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'k30sbakswjttbi8wv58gxub1m',
                        name: 'is_sent',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'zj6zjsivy9k8d3qju7796nogm',
                        name: 'sent_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'l6aqx2u3g7c6xsizuvyiyf7e0',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '9ielpdtazgxkcddiio9atz2qh',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'ulidvk0tsjs52uawpa1ko1icr',
                        name: 'messages_account_id_index',
                        unique: false,
                        fieldIds: ['ov18xjczv54cmi9ygmeica28q'],
                        createdAt: now,
                    },
                    {
                        id: 'sln81d8mxwuypgln2q0c22iib',
                        name: 'messages_pkey',
                        unique: true,
                        fieldIds: ['yka9xs1lrfnp9xxzjcpor19q6'],
                        createdAt: now,
                    },
                ],
                color: '#ff6b8a',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'r3wzkvdnw2rksu7z4gt7syenh',
                name: 'ticket_event_access_code',
                schema: 'public',
                x: 1774.0700197911342,
                y: 192.9662175819667,
                fields: [
                    {
                        id: 'oyqoc1vil6z2cmzybidxlhsm7',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '7l9hnypk451mzflppn6tti2pd',
                        name: 'ticket_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '0xevkhf6nc5i02i6bjx8wzwma',
                        name: 'event_access_code_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'ju84xyfm0ypck9wnxsolf0fnw',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'o2epb9nerdglek6av8awio858',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'wnj0u20w8ije0b1jznxfpza6j',
                        name: 'ticket_event_access_code_pkey',
                        unique: true,
                        fieldIds: ['oyqoc1vil6z2cmzybidxlhsm7'],
                        createdAt: now,
                    },
                ],
                color: '#b067e9',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'r4lj4hos2mth0h379311kftcm',
                name: 'affiliates',
                schema: 'public',
                x: 33.92454598101017,
                y: 1021.5250163960652,
                fields: [
                    {
                        id: 'vtam97jo6l0s784hpviqigj1m',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '1kb0i0ll90zlqsmz7a1b0cs9w',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '1g847ydfipq2j8my2j6o6u9dq',
                        name: 'visits',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'awrqi78v84vtvgkwgf1t18fgw',
                        name: 'tickets_sold',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'bduvdb32nroaaxljpb0uvllzg',
                        name: 'sales_volume',
                        type: {
                            id: 'numeric',
                            name: 'numeric',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        precision: 8,
                        scale: 2,
                        createdAt: now,
                    },
                    {
                        id: '4payptr8hpsdbpb09kppvp6ze',
                        name: 'last_visit',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '1nfepstv5v3owgltvsufin4p1',
                        name: 'account_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '85o58550e05kial8t4mov52gt',
                        name: 'event_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'w1rzi914ggatqx1k75wk3xiqi',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'hg0pd27rgiy4cgtbnd5z3fds7',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'rv9xr796fgcy196h76gciua6n',
                        name: 'affiliates_pkey',
                        unique: true,
                        fieldIds: ['vtam97jo6l0s784hpviqigj1m'],
                        createdAt: now,
                    },
                    {
                        id: 'hkqyuomavcx3zdtybnuzgcad3',
                        name: 'affiliates_account_id_index',
                        unique: false,
                        fieldIds: ['1nfepstv5v3owgltvsufin4p1'],
                        createdAt: now,
                    },
                ],
                color: '#ff6363',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'rayvxwcf1pwf8chw6g8r4piaz',
                name: 'order_items',
                schema: 'public',
                x: 1478.7435128909422,
                y: 1081.191820509953,
                fields: [
                    {
                        id: 'nak0ucxedn1tnetw2rrq2q1vk',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'a2a1myj7f77dz5hyhhvtm454r',
                        name: 'title',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'dq31imrne3ti02f3xchx4mvwy',
                        name: 'quantity',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'd1ca6wrp9v8bi7xoknwdh215v',
                        name: 'unit_price',
                        type: {
                            id: 'numeric',
                            name: 'numeric',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        precision: 8,
                        scale: 2,
                        createdAt: now,
                    },
                    {
                        id: 'out3m0i6m33p1varnhmlgcxhl',
                        name: 'unit_booking_fee',
                        type: {
                            id: 'numeric',
                            name: 'numeric',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        precision: 8,
                        scale: 2,
                        createdAt: now,
                    },
                    {
                        id: 'elh5g8yb7t7dhan4leu6tgmic',
                        name: 'order_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '9yeyvcif8625l0v8j7gk41084',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'z87c7burdxl2b1o3b0f6o93ce',
                        name: 'order_items_pkey',
                        unique: true,
                        fieldIds: ['nak0ucxedn1tnetw2rrq2q1vk'],
                        createdAt: now,
                    },
                ],
                color: '#b067e9',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 's7lhy5krmgfp0ph64nhvmlypd',
                name: 'account_payment_gateways',
                schema: 'public',
                x: 2656.5609721961446,
                y: 1081.1918205099528,
                fields: [
                    {
                        id: 'z9522ibk404611f3cq96t09fs',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'km9kvbmuou7p9s89hkjiorvsr',
                        name: 'account_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '1zeat4z4lvkkaetvtosvb1yda',
                        name: 'payment_gateway_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'lgjlvepxg0rig47ulapio2hju',
                        name: 'config',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'i30c6xqvfuwxwx5j5gr8pnv64',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'b8bpujbd3do0puylo2q68x7ym',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'h0yp4e744y5lc3mzwul8c308x',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'hu4gif1owp6s22obkprd4xd0l',
                        name: 'account_payment_gateways_pkey',
                        unique: true,
                        fieldIds: ['z9522ibk404611f3cq96t09fs'],
                        createdAt: now,
                    },
                ],
                color: '#8a61f5',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 't3j52rhdvgmu9rab2jsfah0u6',
                name: 'accounts',
                schema: 'public',
                x: 100,
                y: 100,
                fields: [
                    {
                        id: 'zfgkmu7oopzooff6xbuhe4g27',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'irfs56kvv5xzfoaul7zzu0q2i',
                        name: 'first_name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'vjgu16phfgb28a2skvy8g101j',
                        name: 'last_name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'bhh1uidzjc193c9bu4gt4gnr4',
                        name: 'email',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '62cmd84esjcz2wax7v1ob4kzp',
                        name: 'timezone_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'dhnysbow6yqwjc0dhqkmn5xt1',
                        name: 'date_format_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '6cg66erxwjzsv9hyba8qjfcwl',
                        name: 'datetime_format_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '08ira3f80y0q7qz09ve54gxlc',
                        name: 'currency_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'ad4e0j95aohbl0zct1tcc6wsj',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'lhgd1b5tzc0ntg9fzw4y8z78r',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'tb4xu2rk94ilwkbgbhjoijo14',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'pmmsk7x5bi98bcwrp4ud7yn4l',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'igm6eim5l1qp9r20b87zyxmfm',
                        name: 'last_ip',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 't3gfv2oz37mns2eadyrn9inla',
                        name: 'last_login_date',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '78q7yiw3svksl9udgmahxt2pl',
                        name: 'address1',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'z63um5z02iituamag08fsg2ue',
                        name: 'address2',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '6isgtybgi6iwoefyw22to01m9',
                        name: 'city',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'zsgamlakyco4fbrvf66vwq396',
                        name: 'state',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'u6oj40bdg5ou7rjyf3droecfn',
                        name: 'postal_code',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '6t8rjlkz76pp6f4yfv02bq275',
                        name: 'country_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'hs0nd0h1hkwwge5jlynhrixl2',
                        name: 'email_footer',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'sz3dp4qk8jkykjqf0xpuzubf3',
                        name: 'is_active',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'kzs6ix9bv5gut1e5xn2dbh1ie',
                        name: 'is_banned',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '5aix6y9622ddofojdoy3qkl7w',
                        name: 'is_beta',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'lvrs9esspqkj8inw36p7p3m2j',
                        name: 'stripe_access_token',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'sjw9ypzih49fc3sn718zi9ne6',
                        name: 'stripe_refresh_token',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '1dqljjzxuc13wiritndulf7kw',
                        name: 'stripe_secret_key',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'eh47tgmymd8lna4hzhnij4v71',
                        name: 'stripe_publishable_key',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'd5tvsk5w7dpn3jtjyxj49e53u',
                        name: 'stripe_data_raw',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'pawut3s7rndqpckllfjy5pm78',
                        name: 'payment_gateway_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'jysnu6xlx8mdqzbrb9yv54esv',
                        name: 'accounts_pkey',
                        unique: true,
                        fieldIds: ['zfgkmu7oopzooff6xbuhe4g27'],
                        createdAt: now,
                    },
                ],
                color: '#c05dcf',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 't3rjit3hwpiuvn4c5p7rwh8im',
                name: 'date_formats',
                schema: 'public',
                x: 475.87704831436326,
                y: -328.9899283371657,
                fields: [
                    {
                        id: 'udagvzlt0do9u2rv2f7gxn5ui',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'dbaoc83bonkvi6v8wjff9a364',
                        name: 'format',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '7yzen8wtbuukqdag6inwoq5b7',
                        name: 'picker_format',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'z1nqkt1afnueg41w3e9ojb6ec',
                        name: 'label',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'bgfajvbrw4s0llwu2ryxy8qrx',
                        name: 'date_formats_pkey',
                        unique: true,
                        fieldIds: ['udagvzlt0do9u2rv2f7gxn5ui'],
                        createdAt: now,
                    },
                ],
                color: '#ffe374',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'tk7v1jd8qxwc02fv9rkm4bja6',
                name: 'ticket_order',
                schema: 'public',
                x: 1149.4541910095968,
                y: 939.7704642726435,
                fields: [
                    {
                        id: 'slploaa1skttmg8f96ytp34za',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'f4biyyux9yqe9kv3v7waxjld4',
                        name: 'order_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'yhexrlsw5k9blqshsse51888a',
                        name: 'ticket_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'zi75b73t0cjefanq2qkigzmop',
                        name: 'ticket_order_pkey',
                        unique: true,
                        fieldIds: ['slploaa1skttmg8f96ytp34za'],
                        createdAt: now,
                    },
                    {
                        id: '3drd185y7ihix5xbhttls825j',
                        name: 'ticket_order_ticket_id_index',
                        unique: false,
                        fieldIds: ['yhexrlsw5k9blqshsse51888a'],
                        createdAt: now,
                    },
                    {
                        id: '6iy7105pbnblxq0f3biyxdijp',
                        name: 'ticket_order_order_id_index',
                        unique: false,
                        fieldIds: ['f4biyyux9yqe9kv3v7waxjld4'],
                        createdAt: now,
                    },
                ],
                color: '#8eb7ff',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'v3t7cbh63rf9wkm598qxcwepx',
                name: 'question_options',
                schema: 'public',
                x: 2467.6522425435433,
                y: 2004.5851146309165,
                fields: [
                    {
                        id: '3sz8kejmlsmvzofddktril5db',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'g5an7dwuffy876cor4q713139',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'xpdk4fxg9584wisecgqum86yo',
                        name: 'question_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'eir0hfxpql5vxl0bvfpua8s8t',
                        name: 'question_options_question_id_index',
                        unique: false,
                        fieldIds: ['xpdk4fxg9584wisecgqum86yo'],
                        createdAt: now,
                    },
                    {
                        id: 'n7d5z23gvve5xmr94icn2qvao',
                        name: 'question_options_pkey',
                        unique: true,
                        fieldIds: ['3sz8kejmlsmvzofddktril5db'],
                        createdAt: now,
                    },
                ],
                color: '#4dee8a',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'v5629tdwxzwvabufh7zhckqsm',
                name: 'event_stats',
                schema: 'public',
                x: 23.606797749979023,
                y: 575.5282581475768,
                fields: [
                    {
                        id: 't5jsl7cfs1996wbu8wdb7rksu',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 's2tnkrf4ddhp8clv9z8f55lu1',
                        name: 'date',
                        type: {
                            id: 'date',
                            name: 'date',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'p7t5lyzg5zl7dg5eetc4asc5j',
                        name: 'views',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'veaj9c0i4472cu9vd6fu89d6g',
                        name: 'unique_views',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'cwegd0rjcql0eel7suzg3b7f6',
                        name: 'tickets_sold',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'u7o5s7bcddsex97c7z3hqvott',
                        name: 'sales_volume',
                        type: {
                            id: 'numeric',
                            name: 'numeric',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        precision: 8,
                        scale: 2,
                        createdAt: now,
                    },
                    {
                        id: 'w14sjvkdvehjwytudwip3pgki',
                        name: 'organiser_fees_volume',
                        type: {
                            id: 'numeric',
                            name: 'numeric',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        precision: 8,
                        scale: 2,
                        createdAt: now,
                    },
                    {
                        id: '4muo9udg9d4j5qe296fxnl4c1',
                        name: 'event_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'skgi2nse8z8fnnrd80osqf4i6',
                        name: 'event_stats_event_id_index',
                        unique: false,
                        fieldIds: ['4muo9udg9d4j5qe296fxnl4c1'],
                        createdAt: now,
                    },
                    {
                        id: 'ut4k8ka3umy97p6n681a4v0ok',
                        name: 'event_stats_pkey',
                        unique: true,
                        fieldIds: ['t5jsl7cfs1996wbu8wdb7rksu'],
                        createdAt: now,
                    },
                ],
                color: '#ff6b8a',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'wk57z8m9f9pehd7gwk8ecwl4g',
                name: 'currencies',
                schema: 'public',
                x: 900,
                y: 100,
                fields: [
                    {
                        id: '444a71g6r6sx4k0cgpwkub56b',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '3hm2ovr8z5uo4pvyrg6mv0gx4',
                        name: 'title',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'xh5o6wx1cj42oxx4mmdm9eg4o',
                        name: 'symbol_left',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'xhi41xlv8vijmlkgoiqa5xwid',
                        name: 'symbol_right',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'ebva3ne7c6i4nii09c65qe0og',
                        name: 'code',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '7t75gj8d5jf98dikmtc91z5e6',
                        name: 'decimal_place',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'xmnrujkjx4fydn7mxxr6l2y1w',
                        name: 'value',
                        type: {
                            id: 'double_precision',
                            name: 'double precision',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'lx7omghqyd6z39v9xe3xi1c3t',
                        name: 'decimal_point',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'idmpdsdcyoqfsqv1hp93a2jde',
                        name: 'thousand_point',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'glqyseykbl7g9io85fo5l81tk',
                        name: 'status',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '5ay8cbl2i3uie6p5sien8pb2k',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'h4cx3n0gmi1bbltpnd8s1vmop',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: '42he14yqumyi22nezocfb4svu',
                        name: 'currencies_pkey',
                        unique: true,
                        fieldIds: ['444a71g6r6sx4k0cgpwkub56b'],
                        createdAt: now,
                    },
                ],
                color: '#ff6b8a',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'wuyp5audt963j9pq7reh2avl7',
                name: 'datetime_formats',
                schema: 'public',
                x: -360.87081482313846,
                y: 1122.7339623960147,
                fields: [
                    {
                        id: 'mal8m8p3ipitp8v9kr4z0gn9g',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '08trc1hzqekjnmxcb2ikv9u9o',
                        name: 'format',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'yxynnajub45obu6oswvmvofsv',
                        name: 'picker_format',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'hqgidgyhjfcdiuz6tq3zu3z3z',
                        name: 'label',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'a6mgiwz0m8p5ll8l67kwwh68i',
                        name: 'datetime_formats_pkey',
                        unique: true,
                        fieldIds: ['mal8m8p3ipitp8v9kr4z0gn9g'],
                        createdAt: now,
                    },
                ],
                color: '#4dee8a',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'xgclzdzifx4slkk2ra0rfeq0a',
                name: 'timezones',
                schema: 'public',
                x: -230.33008588991066,
                y: 2.6826160023086913,
                fields: [
                    {
                        id: 'j1o7cqiz607herbp5zphm45r3',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '3w7cpucusg3l6mhu7z9b73v8b',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'a7s5w4845shlpovnlvpe2f4gn',
                        name: 'location',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: '51lpu42okzgg4kqp1bx0xrulr',
                        name: 'timezones_pkey',
                        unique: true,
                        fieldIds: ['j1o7cqiz607herbp5zphm45r3'],
                        createdAt: now,
                    },
                ],
                color: '#ff9f74',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
            {
                id: 'zcv2giiq4g2xpqzi1q9pmqpf3',
                name: 'events',
                schema: 'public',
                x: 500,
                y: 100,
                fields: [
                    {
                        id: 'yp7x0pfyy99eaajf0vldvzp4k',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'lz25cas1wnfm3dwdxpyzwd4d8',
                        name: 'title',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'tljecb9xc4v96n1oo8hsyzt87',
                        name: 'location',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'm4k7ww0oebrib903utek14vqh',
                        name: 'bg_type',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'esumhe53iavl2893vcoanw9vf',
                        name: 'bg_color',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '9cwj0gf8o6ctbqftccmo4q732',
                        name: 'bg_image_path',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '1oondjvfc6mf377h0xf7et6kz',
                        name: 'description',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'l96yo6yxwa5aayaxs1cxgza26',
                        name: 'start_date',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '5zg4hb8mmio1zgua7v5s4qg2x',
                        name: 'end_date',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'avw7ftidln3mo27eiwlwtz9y2',
                        name: 'on_sale_date',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'e838qlpegmrmaff1wnzjjy304',
                        name: 'account_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '9foct6uao3s8muyg8lgtey0i7',
                        name: 'user_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 's1nmk9mi77xs65j3blhu2t8c7',
                        name: 'currency_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'ldda5g82fmdfppaet1ksscroq',
                        name: 'sales_volume',
                        type: {
                            id: 'numeric',
                            name: 'numeric',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        precision: 8,
                        scale: 2,
                        createdAt: now,
                    },
                    {
                        id: 'i2fp8xy4em07845lt3ur64v1o',
                        name: 'organiser_fees_volume',
                        type: {
                            id: 'numeric',
                            name: 'numeric',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        precision: 8,
                        scale: 2,
                        createdAt: now,
                    },
                    {
                        id: '5kzxxy20l1ijsddbt2g5e59gn',
                        name: 'organiser_fee_fixed',
                        type: {
                            id: 'numeric',
                            name: 'numeric',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        precision: 8,
                        scale: 2,
                        createdAt: now,
                    },
                    {
                        id: 'y8dl7cjtguvhxqd3dbd3xiihq',
                        name: 'organiser_fee_percentage',
                        type: {
                            id: 'numeric',
                            name: 'numeric',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        precision: 8,
                        scale: 2,
                        createdAt: now,
                    },
                    {
                        id: '9juhjf1odl1odb8bdjxjlszea',
                        name: 'organiser_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'oh8gvinvyt6icm9nj6xi708wz',
                        name: 'venue_name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '2jsx9eb2xegft1x2oxdvhsz7b',
                        name: 'venue_name_full',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '3bt3d296oeawofr6v52vpxw0b',
                        name: 'location_address',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '2c4lq21j9njc032bpn4f8j99b',
                        name: 'location_address_line_1',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'j7gag9oolwy8tfdr9zvqmihbm',
                        name: 'location_address_line_2',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'lgxjx411jt5pffwn2ohvyywyh',
                        name: 'location_country',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'e47i34unptpx4sh9v6o3tbkaf',
                        name: 'location_country_code',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '84rhgbmxwyn0kjkj9y0dahnia',
                        name: 'location_state',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'h4qq1iddxtk7qbudp80a9mu2l',
                        name: 'location_post_code',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '3seajga7yxh9jxld48ehd5jlc',
                        name: 'location_street_number',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '2tagpa5ji10r0tbp4hzo9mfg7',
                        name: 'location_lat',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'o10lyaro8b26tmn8py6lqgmzt',
                        name: 'location_long',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '5rb2exy1lg0v1fjx53pbcn6le',
                        name: 'location_google_place_id',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '2bonisfc2ae1gs8kntiwko0c1',
                        name: 'pre_order_display_message',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '79dktsa6deubaoq6vb3yitfod',
                        name: 'post_order_display_message',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'fd4w4o9gb8wqulwum1jszgkxq',
                        name: 'social_share_text',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'uw9jjybj6tyfsotaq7v5dnyr1',
                        name: 'social_show_facebook',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '9fe0ruug7mepmobq33r9f88k3',
                        name: 'social_show_linkedin',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'qp95ave5s2ozae0x5tawmy259',
                        name: 'social_show_twitter',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'mrkqngll3p0v2sql1o86ka3wz',
                        name: 'social_show_email',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '33ksiv1dwlnhoxqjj89fxcv27',
                        name: 'social_show_googleplus',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'lijyrxqwt1zgu4wu40b5x3sq7',
                        name: 'location_is_manual',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '9rienv3zzsrk24fvzgtlgd7x7',
                        name: 'is_live',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'nvuskbs5racfglrtkdvmx0pwd',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '2xswshy7kyzs61s7cmvx9e50b',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '1e8l62agfos0y4k23xxg5tjiv',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: 'ev947h2c7dt8e72eh7l58anhw',
                        name: 'barcode_type',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'ujsgkxw4fptwhplndltjbed6w',
                        name: 'ticket_border_color',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'xdvzvdxs3j4eypxtic00ynrvg',
                        name: 'ticket_bg_color',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'x2p3xdtg9quujxgeilhkjduv1',
                        name: 'ticket_text_color',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'nl0a62vne08t5skiwwnenn74d',
                        name: 'ticket_sub_text_color',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '6n3jpnlv7aksg9us78x5bear8',
                        name: 'google_tag_manager_code',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '2oxl49ibe79xvbpsd6jek1k2h',
                        name: 'social_show_whatsapp',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'fqsqfkxprsy75jordmo0263t5',
                        name: 'questions_collection_type',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'ztejrf5mmdsmdql9rtd525uj6',
                        name: 'checkout_timeout_after',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'flfmvdkpaei3h7lpfrigl37b3',
                        name: 'is_1d_barcode_enabled',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: 'bxdgcpccsidhelfz6vd5rfnj5',
                        name: 'enable_offline_payments',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: now,
                    },
                    {
                        id: '3039bcferleocvo53zxvbsk70',
                        name: 'offline_payment_instructions',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                    {
                        id: '2xrf2wkcvajk8tapt59r80mh5',
                        name: 'event_image_position',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: now,
                    },
                ],
                indexes: [
                    {
                        id: 'vje8o376p6w3svwyhf2jgmxau',
                        name: 'events_account_id_index',
                        unique: false,
                        fieldIds: ['e838qlpegmrmaff1wnzjjy304'],
                        createdAt: now,
                    },
                    {
                        id: '8gmt7d1kafg73n7yfcf2wxr1w',
                        name: 'events_pkey',
                        unique: true,
                        fieldIds: ['yp7x0pfyy99eaajf0vldvzp4k'],
                        createdAt: now,
                    },
                ],
                color: '#ff6b8a',
                isView: false,
                isMaterializedView: false,
                createdAt: now,
            },
        ],
        relationships: [
            {
                id: '0fv83n3rg0e1xhon04cgdr040',
                name: 'attendees_order_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'phg9zkuircctz782gq3g94qty',
                targetTableId: '0jwg98i8ql3apc2kk89n0vaw6',
                sourceFieldId: 'kgotvefy9nujd9c061jj8ikwf',
                targetFieldId: 'v5ytdip4utwx6w7kejm9znuu6',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: '1ezzeo3p2g4cj2mqkdssfrfu2',
                name: 'orders_account_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: '0jwg98i8ql3apc2kk89n0vaw6',
                targetTableId: 't3j52rhdvgmu9rab2jsfah0u6',
                sourceFieldId: '551jkb65dg7f5oyta09ttn68b',
                targetFieldId: 'zfgkmu7oopzooff6xbuhe4g27',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: '1yf4uc1g5887yr3buf7paud5j',
                name: 'orders_event_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: '0jwg98i8ql3apc2kk89n0vaw6',
                targetTableId: 'zcv2giiq4g2xpqzi1q9pmqpf3',
                sourceFieldId: 'dobgq59yozcsjev94gkmsmsj8',
                targetFieldId: 'yp7x0pfyy99eaajf0vldvzp4k',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: '3fzjxxdof1baekatl5f24zvof',
                name: 'messages_account_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'qxivebcj5m5hag01sl2jncho1',
                targetTableId: 't3j52rhdvgmu9rab2jsfah0u6',
                sourceFieldId: 'ov18xjczv54cmi9ygmeica28q',
                targetFieldId: 'zfgkmu7oopzooff6xbuhe4g27',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: '3ijxwx8v5cvgbcub9coqk3h3v',
                name: 'reserved_tickets_event_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'oq4zp3pg7o4ada4q374ca06ue',
                targetTableId: 'zcv2giiq4g2xpqzi1q9pmqpf3',
                sourceFieldId: '0u3iq5b7pe74g69kt2adu1kmv',
                targetFieldId: 'yp7x0pfyy99eaajf0vldvzp4k',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: '3mcx6xvwl5ap1r1wxzi264vun',
                name: 'order_items_order_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'rayvxwcf1pwf8chw6g8r4piaz',
                targetTableId: '0jwg98i8ql3apc2kk89n0vaw6',
                sourceFieldId: 'elh5g8yb7t7dhan4leu6tgmic',
                targetFieldId: 'v5ytdip4utwx6w7kejm9znuu6',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: '403ff9ki6fh2qvhz2elaycxe8',
                name: 'event_question_event_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'h7n2foxmyb8c70hi4fcihvab2',
                targetTableId: 'zcv2giiq4g2xpqzi1q9pmqpf3',
                sourceFieldId: 'i63yixq3geoas9opsc2r2lhx6',
                targetFieldId: 'yp7x0pfyy99eaajf0vldvzp4k',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: '4cknx78dy80dol1xkik468mmm',
                name: 'organisers_account_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: '658lzdwgz9s2tqb68d1u8nj16',
                targetTableId: 't3j52rhdvgmu9rab2jsfah0u6',
                sourceFieldId: 'o3gvyh4fl1j7hbz9e802c4on3',
                targetFieldId: 'zfgkmu7oopzooff6xbuhe4g27',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: '5436x0bt28mgmvky6qrl5hnmn',
                name: 'event_stats_event_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'v5629tdwxzwvabufh7zhckqsm',
                targetTableId: 'zcv2giiq4g2xpqzi1q9pmqpf3',
                sourceFieldId: '4muo9udg9d4j5qe296fxnl4c1',
                targetFieldId: 'yp7x0pfyy99eaajf0vldvzp4k',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: '5hqvkghwvd4n0ah8vtw3g9u5l',
                name: 'affiliates_event_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'r4lj4hos2mth0h379311kftcm',
                targetTableId: 'zcv2giiq4g2xpqzi1q9pmqpf3',
                sourceFieldId: '85o58550e05kial8t4mov52gt',
                targetFieldId: 'yp7x0pfyy99eaajf0vldvzp4k',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: '6z4bs4snxqalo1oetclsv28h2',
                name: 'event_question_question_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'h7n2foxmyb8c70hi4fcihvab2',
                targetTableId: 'i5u0kd4mjmdgun131p883b70e',
                sourceFieldId: 'b1qn83jdhuy4vdmls5sw9oy3s',
                targetFieldId: 'jw4acgrxqabbq2ptpz8o1ke1e',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: '7nfq321inwsdnr8i90tx8s2yj',
                name: 'tickets_order_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'd02btgvrqua69zcgbehgcn1gr',
                targetTableId: '0jwg98i8ql3apc2kk89n0vaw6',
                sourceFieldId: 'd6duek9o19clqajfu91f8cta2',
                targetFieldId: 'v5ytdip4utwx6w7kejm9znuu6',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: '8715crwnkwc7s61nkf4onzeja',
                name: 'ticket_order_ticket_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'tk7v1jd8qxwc02fv9rkm4bja6',
                targetTableId: 'd02btgvrqua69zcgbehgcn1gr',
                sourceFieldId: 'yhexrlsw5k9blqshsse51888a',
                targetFieldId: 'yia7etzlthe63e7l6vylb64rg',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: '8rjavjxvr6cr0u8epok7j8432',
                name: 'tickets_user_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'd02btgvrqua69zcgbehgcn1gr',
                targetTableId: '2z2bq85ryoxfem6hosxg7jt7b',
                sourceFieldId: '8vylrq8edgyepnmrgoq5x9i7h',
                targetFieldId: 'bvnn57vmyjywrcyu7kmlw38bj',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: '8xu0snkct7xo028l6xkasxj0x',
                name: 'question_options_question_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'v3t7cbh63rf9wkm598qxcwepx',
                targetTableId: 'i5u0kd4mjmdgun131p883b70e',
                sourceFieldId: 'xpdk4fxg9584wisecgqum86yo',
                targetFieldId: 'jw4acgrxqabbq2ptpz8o1ke1e',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'a164e0un5ar54z70jtyxe8yjo',
                name: 'question_ticket_question_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: '5v39qfrtcdt9bkh9kx55r3th2',
                targetTableId: 'i5u0kd4mjmdgun131p883b70e',
                sourceFieldId: 'dzk1oytdukrb9aqlf9m4jns5x',
                targetFieldId: 'jw4acgrxqabbq2ptpz8o1ke1e',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'aeka387ec03ju2ba23uxb9v54',
                name: 'messages_user_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'qxivebcj5m5hag01sl2jncho1',
                targetTableId: '2z2bq85ryoxfem6hosxg7jt7b',
                sourceFieldId: 'w72btrfyytr8jv6156tbtkych',
                targetFieldId: 'bvnn57vmyjywrcyu7kmlw38bj',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'c10bk83p529tek51k1z2mnl9x',
                name: 'event_access_codes_event_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'gnh3sy3oid51u6ez04alw5mam',
                targetTableId: 'zcv2giiq4g2xpqzi1q9pmqpf3',
                sourceFieldId: 'y62yqnkkms0xp7sscnorwafgf',
                targetFieldId: 'yp7x0pfyy99eaajf0vldvzp4k',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'c2pqn629lrkllku4770zda7px',
                name: 'accounts_currency_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 't3j52rhdvgmu9rab2jsfah0u6',
                targetTableId: 'wk57z8m9f9pehd7gwk8ecwl4g',
                sourceFieldId: '08ira3f80y0q7qz09ve54gxlc',
                targetFieldId: '444a71g6r6sx4k0cgpwkub56b',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'ckrt2dsovui1x4h1zh3gow7w7',
                name: 'event_images_event_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'fzo811akulhpt5nrkplly34jw',
                targetTableId: 'zcv2giiq4g2xpqzi1q9pmqpf3',
                sourceFieldId: 'ee7qgl7v87sm3jzr1d7yg4v7p',
                targetFieldId: 'yp7x0pfyy99eaajf0vldvzp4k',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'cqqe2ns7sunf4rgzsp8e0rnx3',
                name: 'events_currency_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'zcv2giiq4g2xpqzi1q9pmqpf3',
                targetTableId: 'wk57z8m9f9pehd7gwk8ecwl4g',
                sourceFieldId: 's1nmk9mi77xs65j3blhu2t8c7',
                targetFieldId: '444a71g6r6sx4k0cgpwkub56b',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'd1uzyx86mesher4k72rczg4hh',
                name: 'accounts_payment_gateway_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 't3j52rhdvgmu9rab2jsfah0u6',
                targetTableId: 'f4xl1qz0xo1bkj8nrcakrawnl',
                sourceFieldId: 'pawut3s7rndqpckllfjy5pm78',
                targetFieldId: 'ktigomjopdv0sa9tycebw3nm5',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'd3fps0gdffxsvpr3ll159jo4f',
                name: 'ticket_event_access_code_ticket_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'r3wzkvdnw2rksu7z4gt7syenh',
                targetTableId: 'd02btgvrqua69zcgbehgcn1gr',
                sourceFieldId: '7l9hnypk451mzflppn6tti2pd',
                targetFieldId: 'yia7etzlthe63e7l6vylb64rg',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'dl4im3sb8vde25hm40jrys44b',
                name: 'account_payment_gateways_account_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 's7lhy5krmgfp0ph64nhvmlypd',
                targetTableId: 't3j52rhdvgmu9rab2jsfah0u6',
                sourceFieldId: 'km9kvbmuou7p9s89hkjiorvsr',
                targetFieldId: 'zfgkmu7oopzooff6xbuhe4g27',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'faprapc7qxhm5p52htlrngrjn',
                name: 'ticket_event_access_code_event_access_code_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'r3wzkvdnw2rksu7z4gt7syenh',
                targetTableId: 'gnh3sy3oid51u6ez04alw5mam',
                sourceFieldId: '0xevkhf6nc5i02i6bjx8wzwma',
                targetFieldId: 'pabq42zess0hb3f2s4y1rsj9f',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'fsulvlxvprfsiy4gf77h2p6wy',
                name: 'affiliates_account_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'r4lj4hos2mth0h379311kftcm',
                targetTableId: 't3j52rhdvgmu9rab2jsfah0u6',
                sourceFieldId: '1nfepstv5v3owgltvsufin4p1',
                targetFieldId: 'zfgkmu7oopzooff6xbuhe4g27',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'g93x2wtth1oldbjxahldrjy84',
                name: 'events_account_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'zcv2giiq4g2xpqzi1q9pmqpf3',
                targetTableId: 't3j52rhdvgmu9rab2jsfah0u6',
                sourceFieldId: 'e838qlpegmrmaff1wnzjjy304',
                targetFieldId: 'zfgkmu7oopzooff6xbuhe4g27',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'hnak70tseah6ifryhr6til8oj',
                name: 'orders_payment_gateway_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: '0jwg98i8ql3apc2kk89n0vaw6',
                targetTableId: 'f4xl1qz0xo1bkj8nrcakrawnl',
                sourceFieldId: 'laenvryoe9a8c5jbou7qp12g3',
                targetFieldId: 'ktigomjopdv0sa9tycebw3nm5',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'ic64g32uavbgf85ajw8savvl6',
                name: 'question_answers_account_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'dj6793s7aaseyzmkdfvehhic8',
                targetTableId: 't3j52rhdvgmu9rab2jsfah0u6',
                sourceFieldId: '1bk7gdd0td6cc0928k3mfxy8j',
                targetFieldId: 'zfgkmu7oopzooff6xbuhe4g27',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'k6t6zylx6coqjfqpgw2oaxzbj',
                name: 'event_images_user_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'fzo811akulhpt5nrkplly34jw',
                targetTableId: '2z2bq85ryoxfem6hosxg7jt7b',
                sourceFieldId: '2nfy3clt34b38cnzqttgopw08',
                targetFieldId: 'bvnn57vmyjywrcyu7kmlw38bj',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'khvw0kye9owvbcsa65b619gek',
                name: 'tickets_event_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'd02btgvrqua69zcgbehgcn1gr',
                targetTableId: 'zcv2giiq4g2xpqzi1q9pmqpf3',
                sourceFieldId: 'h8hrihehigpyr10agej5x1syf',
                targetFieldId: 'yp7x0pfyy99eaajf0vldvzp4k',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'mp611gs8lnf4bwtq282nb9slg',
                name: 'ticket_order_order_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'tk7v1jd8qxwc02fv9rkm4bja6',
                targetTableId: '0jwg98i8ql3apc2kk89n0vaw6',
                sourceFieldId: 'f4biyyux9yqe9kv3v7waxjld4',
                targetFieldId: 'v5ytdip4utwx6w7kejm9znuu6',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'mynehg0ug9wuxccgdgfdr5468',
                name: 'accounts_date_format_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 't3j52rhdvgmu9rab2jsfah0u6',
                targetTableId: 't3rjit3hwpiuvn4c5p7rwh8im',
                sourceFieldId: 'dhnysbow6yqwjc0dhqkmn5xt1',
                targetFieldId: 'udagvzlt0do9u2rv2f7gxn5ui',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'nu0kkdeo9wy0tl2k3w2tue11q',
                name: 'attendees_event_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'phg9zkuircctz782gq3g94qty',
                targetTableId: 'zcv2giiq4g2xpqzi1q9pmqpf3',
                sourceFieldId: '0mff4k3u32drwr6h8y44z4xkf',
                targetFieldId: 'yp7x0pfyy99eaajf0vldvzp4k',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'o8pzoutegcnwpv9njce2w4y69',
                name: 'tickets_account_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'd02btgvrqua69zcgbehgcn1gr',
                targetTableId: 't3j52rhdvgmu9rab2jsfah0u6',
                sourceFieldId: '12wlwlqnmt4yvbcibo7dnk6ji',
                targetFieldId: 'zfgkmu7oopzooff6xbuhe4g27',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'p7fx5pdi7uabmbve7vdi0ch8o',
                name: 'question_answers_event_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'dj6793s7aaseyzmkdfvehhic8',
                targetTableId: 'zcv2giiq4g2xpqzi1q9pmqpf3',
                sourceFieldId: '42g11ttmj6u4e4tg9em4aqer0',
                targetFieldId: 'yp7x0pfyy99eaajf0vldvzp4k',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'peyyvs2wi84dsq2trvhgvx559',
                name: 'attendees_account_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'phg9zkuircctz782gq3g94qty',
                targetTableId: 't3j52rhdvgmu9rab2jsfah0u6',
                sourceFieldId: '5vtctmdfxkdmff8ay26jrjsdd',
                targetFieldId: 'zfgkmu7oopzooff6xbuhe4g27',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'pvwnj2ih1rxxdssl2hd2i737j',
                name: 'question_answers_attendee_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'dj6793s7aaseyzmkdfvehhic8',
                targetTableId: 'phg9zkuircctz782gq3g94qty',
                sourceFieldId: 'z0tu4dmtw62r5822h1qaljn67',
                targetFieldId: 'wr8k5tmphui1x4xsnzwkot8up',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'q79kf4bivnc21fk8ctd77l03v',
                name: 'questions_account_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'i5u0kd4mjmdgun131p883b70e',
                targetTableId: 't3j52rhdvgmu9rab2jsfah0u6',
                sourceFieldId: '47kpvyaujh0nslg7wmwh9adcs',
                targetFieldId: 'zfgkmu7oopzooff6xbuhe4g27',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'q7b1ttyrzh4ydaofz5gkvzgd2',
                name: 'reserved_tickets_ticket_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'oq4zp3pg7o4ada4q374ca06ue',
                targetTableId: 'd02btgvrqua69zcgbehgcn1gr',
                sourceFieldId: '25p7hhg97oxp8j885xcr5ob1o',
                targetFieldId: 'yia7etzlthe63e7l6vylb64rg',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'qg868l9w7eu9xx84y8sf7e9fl',
                name: 'question_answers_question_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'dj6793s7aaseyzmkdfvehhic8',
                targetTableId: 'i5u0kd4mjmdgun131p883b70e',
                sourceFieldId: 'jr4v69i918bnijz6txgzqgy20',
                targetFieldId: 'jw4acgrxqabbq2ptpz8o1ke1e',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'qu0o5wu9xwjfkbfcjet5tyddu',
                name: 'events_user_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'zcv2giiq4g2xpqzi1q9pmqpf3',
                targetTableId: '2z2bq85ryoxfem6hosxg7jt7b',
                sourceFieldId: '9foct6uao3s8muyg8lgtey0i7',
                targetFieldId: 'bvnn57vmyjywrcyu7kmlw38bj',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'qw6gw4kekzq28z0hbxxn25ap0',
                name: 'accounts_country_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 't3j52rhdvgmu9rab2jsfah0u6',
                targetTableId: 'ai9wqugvgyan2g0001y80raad',
                sourceFieldId: '6t8rjlkz76pp6f4yfv02bq275',
                targetFieldId: 'l4xa66t2m3mb21wcq4g8ruukj',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'r8vkeqtd78bicjtv67i514afg',
                name: 'attendees_ticket_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'phg9zkuircctz782gq3g94qty',
                targetTableId: 'd02btgvrqua69zcgbehgcn1gr',
                sourceFieldId: 'zdjijp5tri7p9q8huelv1fslr',
                targetFieldId: 'yia7etzlthe63e7l6vylb64rg',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'sjs2v7xjxwgx4b4qq94n27us6',
                name: 'events_organiser_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'zcv2giiq4g2xpqzi1q9pmqpf3',
                targetTableId: '658lzdwgz9s2tqb68d1u8nj16',
                sourceFieldId: '9juhjf1odl1odb8bdjxjlszea',
                targetFieldId: 's6e068z03w8qkfxitviitkkoc',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'sko6960fmz6v6192tuh39ww97',
                name: 'account_payment_gateways_payment_gateway_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 's7lhy5krmgfp0ph64nhvmlypd',
                targetTableId: 'f4xl1qz0xo1bkj8nrcakrawnl',
                sourceFieldId: '1zeat4z4lvkkaetvtosvb1yda',
                targetFieldId: 'ktigomjopdv0sa9tycebw3nm5',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'td2txrdoydjwr99sci46fzpcz',
                name: 'event_images_account_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'fzo811akulhpt5nrkplly34jw',
                targetTableId: 't3j52rhdvgmu9rab2jsfah0u6',
                sourceFieldId: 'isb4kxin3zcpeq9kz5u4bnje6',
                targetFieldId: 'zfgkmu7oopzooff6xbuhe4g27',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'topskgxrwrhti6x0ju0sb76hk',
                name: 'accounts_datetime_format_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 't3j52rhdvgmu9rab2jsfah0u6',
                targetTableId: 'wuyp5audt963j9pq7reh2avl7',
                sourceFieldId: '6cg66erxwjzsv9hyba8qjfcwl',
                targetFieldId: 'mal8m8p3ipitp8v9kr4z0gn9g',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'v6yhslr1d8n8mzxfpwrrzwkz3',
                name: 'accounts_timezone_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 't3j52rhdvgmu9rab2jsfah0u6',
                targetTableId: 'xgclzdzifx4slkk2ra0rfeq0a',
                sourceFieldId: '62cmd84esjcz2wax7v1ob4kzp',
                targetFieldId: 'j1o7cqiz607herbp5zphm45r3',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'w3v0utzgol4xpnb33s5z7tgcr',
                name: 'messages_event_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'qxivebcj5m5hag01sl2jncho1',
                targetTableId: 'zcv2giiq4g2xpqzi1q9pmqpf3',
                sourceFieldId: '4z771kjbg4hqu03s9olhhve8m',
                targetFieldId: 'yp7x0pfyy99eaajf0vldvzp4k',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'yblmvxbjc5s6hi303gg8r2zcn',
                name: 'questions_question_type_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'i5u0kd4mjmdgun131p883b70e',
                targetTableId: '6a55dg99s0tq6epao17d36q6h',
                sourceFieldId: '4wsyj4dyrobwyxoe9ejhqzb2k',
                targetFieldId: 'zy3495xhg4r7jf0jajidpca9p',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'ydhs1q637af2baw3g0i7iaaur',
                name: 'orders_order_status_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: '0jwg98i8ql3apc2kk89n0vaw6',
                targetTableId: '4rdnnwi1cuzwxyvkx57vrfryi',
                sourceFieldId: 'h44j0estu8g3yfxit6xllj8f2',
                targetFieldId: 'pogtj140gvwfm4zruz343526g',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'ys4pb3v3b5kbwxpixbdgf67g3',
                name: 'question_ticket_ticket_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: '5v39qfrtcdt9bkh9kx55r3th2',
                targetTableId: 'd02btgvrqua69zcgbehgcn1gr',
                sourceFieldId: 'o06yl4othecyh19jcxt2jlofc',
                targetFieldId: 'yia7etzlthe63e7l6vylb64rg',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
            {
                id: 'zvp7qh704xsilvjk0lxm17t8a',
                name: 'users_account_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: '2z2bq85ryoxfem6hosxg7jt7b',
                targetTableId: 't3j52rhdvgmu9rab2jsfah0u6',
                sourceFieldId: 'wa1vqnaj7ppcgk3u9jrjgjb8n',
                targetFieldId: 'zfgkmu7oopzooff6xbuhe4g27',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: now,
            },
        ],
        dependencies: [],
    },
};