Files
domain-wall/packages/db/migrations/meta/0001_snapshot.json
2025-10-20 17:07:41 +03:00

1287 lines
32 KiB
JSON

{
"id": "28594094-4368-4168-8d84-02d185507e54",
"prevId": "aafa7f4b-ccc8-4922-970f-e5d552274301",
"version": "7",
"dialect": "postgresql",
"tables": {
"public.account": {
"name": "account",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "text",
"primaryKey": true,
"notNull": true
},
"account_id": {
"name": "account_id",
"type": "text",
"primaryKey": false,
"notNull": true
},
"provider_id": {
"name": "provider_id",
"type": "text",
"primaryKey": false,
"notNull": true
},
"user_id": {
"name": "user_id",
"type": "text",
"primaryKey": false,
"notNull": true
},
"access_token": {
"name": "access_token",
"type": "text",
"primaryKey": false,
"notNull": false
},
"refresh_token": {
"name": "refresh_token",
"type": "text",
"primaryKey": false,
"notNull": false
},
"id_token": {
"name": "id_token",
"type": "text",
"primaryKey": false,
"notNull": false
},
"access_token_expires_at": {
"name": "access_token_expires_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false
},
"refresh_token_expires_at": {
"name": "refresh_token_expires_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false
},
"scope": {
"name": "scope",
"type": "text",
"primaryKey": false,
"notNull": false
},
"password": {
"name": "password",
"type": "text",
"primaryKey": false,
"notNull": false
},
"created_at": {
"name": "created_at",
"type": "timestamp",
"primaryKey": false,
"notNull": true
},
"updated_at": {
"name": "updated_at",
"type": "timestamp",
"primaryKey": false,
"notNull": true
}
},
"indexes": {},
"foreignKeys": {
"account_user_id_user_id_fk": {
"name": "account_user_id_user_id_fk",
"tableFrom": "account",
"tableTo": "user",
"columnsFrom": [
"user_id"
],
"columnsTo": [
"id"
],
"onDelete": "cascade",
"onUpdate": "no action"
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {},
"policies": {},
"checkConstraints": {},
"isRLSEnabled": false
},
"public.user": {
"name": "user",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "text",
"primaryKey": true,
"notNull": true
},
"name": {
"name": "name",
"type": "text",
"primaryKey": false,
"notNull": true
},
"email": {
"name": "email",
"type": "text",
"primaryKey": false,
"notNull": true
},
"email_verified": {
"name": "email_verified",
"type": "boolean",
"primaryKey": false,
"notNull": true
},
"image": {
"name": "image",
"type": "text",
"primaryKey": false,
"notNull": false
},
"created_at": {
"name": "created_at",
"type": "timestamp",
"primaryKey": false,
"notNull": true
},
"updated_at": {
"name": "updated_at",
"type": "timestamp",
"primaryKey": false,
"notNull": true
},
"username": {
"name": "username",
"type": "text",
"primaryKey": false,
"notNull": false
},
"display_username": {
"name": "display_username",
"type": "text",
"primaryKey": false,
"notNull": false
},
"role": {
"name": "role",
"type": "text",
"primaryKey": false,
"notNull": false
},
"banned": {
"name": "banned",
"type": "boolean",
"primaryKey": false,
"notNull": false
},
"ban_reason": {
"name": "ban_reason",
"type": "text",
"primaryKey": false,
"notNull": false
},
"ban_expires": {
"name": "ban_expires",
"type": "timestamp",
"primaryKey": false,
"notNull": false
},
"parent_id": {
"name": "parent_id",
"type": "text",
"primaryKey": false,
"notNull": false
},
"discount_percent": {
"name": "discount_percent",
"type": "integer",
"primaryKey": false,
"notNull": false
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {
"user_email_unique": {
"name": "user_email_unique",
"nullsNotDistinct": false,
"columns": [
"email"
]
},
"user_username_unique": {
"name": "user_username_unique",
"nullsNotDistinct": false,
"columns": [
"username"
]
}
},
"policies": {},
"checkConstraints": {},
"isRLSEnabled": false
},
"public.verification": {
"name": "verification",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "text",
"primaryKey": true,
"notNull": true
},
"identifier": {
"name": "identifier",
"type": "text",
"primaryKey": false,
"notNull": true
},
"value": {
"name": "value",
"type": "text",
"primaryKey": false,
"notNull": true
},
"expires_at": {
"name": "expires_at",
"type": "timestamp",
"primaryKey": false,
"notNull": true
},
"created_at": {
"name": "created_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false
},
"updated_at": {
"name": "updated_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {},
"policies": {},
"checkConstraints": {},
"isRLSEnabled": false
},
"public.coupon": {
"name": "coupon",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true
},
"code": {
"name": "code",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"description": {
"name": "description",
"type": "text",
"primaryKey": false,
"notNull": false
},
"discount_type": {
"name": "discount_type",
"type": "varchar(16)",
"primaryKey": false,
"notNull": true
},
"discount_value": {
"name": "discount_value",
"type": "numeric(12, 2)",
"primaryKey": false,
"notNull": true
},
"max_usage_count": {
"name": "max_usage_count",
"type": "integer",
"primaryKey": false,
"notNull": false
},
"current_usage_count": {
"name": "current_usage_count",
"type": "integer",
"primaryKey": false,
"notNull": true,
"default": 0
},
"min_order_value": {
"name": "min_order_value",
"type": "numeric(12, 2)",
"primaryKey": false,
"notNull": false
},
"max_discount_amount": {
"name": "max_discount_amount",
"type": "numeric(12, 2)",
"primaryKey": false,
"notNull": false
},
"start_date": {
"name": "start_date",
"type": "timestamp",
"primaryKey": false,
"notNull": true
},
"end_date": {
"name": "end_date",
"type": "timestamp",
"primaryKey": false,
"notNull": false
},
"is_active": {
"name": "is_active",
"type": "boolean",
"primaryKey": false,
"notNull": true,
"default": true
},
"created_at": {
"name": "created_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "now()"
},
"updated_at": {
"name": "updated_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "now()"
},
"created_by": {
"name": "created_by",
"type": "text",
"primaryKey": false,
"notNull": false
}
},
"indexes": {},
"foreignKeys": {
"coupon_created_by_user_id_fk": {
"name": "coupon_created_by_user_id_fk",
"tableFrom": "coupon",
"tableTo": "user",
"columnsFrom": [
"created_by"
],
"columnsTo": [
"id"
],
"onDelete": "set null",
"onUpdate": "no action"
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {
"coupon_code_unique": {
"name": "coupon_code_unique",
"nullsNotDistinct": false,
"columns": [
"code"
]
}
},
"policies": {},
"checkConstraints": {},
"isRLSEnabled": false
},
"public.email_account": {
"name": "email_account",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true
},
"email": {
"name": "email",
"type": "varchar(128)",
"primaryKey": false,
"notNull": true
},
"password": {
"name": "password",
"type": "varchar(128)",
"primaryKey": false,
"notNull": true
},
"used": {
"name": "used",
"type": "boolean",
"primaryKey": false,
"notNull": true,
"default": false
},
"agent_id": {
"name": "agent_id",
"type": "text",
"primaryKey": false,
"notNull": false
},
"last_active_check_at": {
"name": "last_active_check_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "now()"
},
"created_at": {
"name": "created_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "now()"
},
"updated_at": {
"name": "updated_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "now()"
}
},
"indexes": {},
"foreignKeys": {
"email_account_agent_id_user_id_fk": {
"name": "email_account_agent_id_user_id_fk",
"tableFrom": "email_account",
"tableTo": "user",
"columnsFrom": [
"agent_id"
],
"columnsTo": [
"id"
],
"onDelete": "set null",
"onUpdate": "no action"
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {
"email_account_email_unique": {
"name": "email_account_email_unique",
"nullsNotDistinct": false,
"columns": [
"email"
]
}
},
"policies": {},
"checkConstraints": {},
"isRLSEnabled": false
},
"public.flight_ticket_info": {
"name": "flight_ticket_info",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true
},
"ticket_id": {
"name": "ticket_id",
"type": "text",
"primaryKey": false,
"notNull": true,
"default": "''"
},
"flight_type": {
"name": "flight_type",
"type": "varchar(24)",
"primaryKey": false,
"notNull": true
},
"departure": {
"name": "departure",
"type": "text",
"primaryKey": false,
"notNull": true
},
"arrival": {
"name": "arrival",
"type": "text",
"primaryKey": false,
"notNull": true
},
"departure_date": {
"name": "departure_date",
"type": "timestamp",
"primaryKey": false,
"notNull": true
},
"return_date": {
"name": "return_date",
"type": "timestamp",
"primaryKey": false,
"notNull": true
},
"dates": {
"name": "dates",
"type": "json",
"primaryKey": false,
"notNull": true,
"default": "'[]'::json"
},
"flight_iteneraries": {
"name": "flight_iteneraries",
"type": "json",
"primaryKey": false,
"notNull": true,
"default": "'[]'::json"
},
"price_details": {
"name": "price_details",
"type": "json",
"primaryKey": false,
"notNull": true
},
"bags_info": {
"name": "bags_info",
"type": "json",
"primaryKey": false,
"notNull": true
},
"last_available": {
"name": "last_available",
"type": "json",
"primaryKey": false,
"notNull": true
},
"refundable": {
"name": "refundable",
"type": "boolean",
"primaryKey": false,
"notNull": true,
"default": false
},
"passenger_counts": {
"name": "passenger_counts",
"type": "json",
"primaryKey": false,
"notNull": true,
"default": "'{\"adult\":1,\"children\":0}'::json"
},
"cabin_class": {
"name": "cabin_class",
"type": "varchar(24)",
"primaryKey": false,
"notNull": true
},
"share_id": {
"name": "share_id",
"type": "text",
"primaryKey": false,
"notNull": true,
"default": "''"
},
"checkout_url": {
"name": "checkout_url",
"type": "text",
"primaryKey": false,
"notNull": true,
"default": "''"
},
"is_cache": {
"name": "is_cache",
"type": "boolean",
"primaryKey": false,
"notNull": true,
"default": false
},
"ref_oids": {
"name": "ref_oids",
"type": "json",
"primaryKey": false,
"notNull": true,
"default": "'[]'::json"
},
"created_at": {
"name": "created_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "now()"
},
"updated_at": {
"name": "updated_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "now()"
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {},
"policies": {},
"checkConstraints": {},
"isRLSEnabled": false
},
"public.inbox": {
"name": "inbox",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true
},
"email_id": {
"name": "email_id",
"type": "text",
"primaryKey": false,
"notNull": true,
"default": "''"
},
"from": {
"name": "from",
"type": "text",
"primaryKey": false,
"notNull": false
},
"to": {
"name": "to",
"type": "text",
"primaryKey": false,
"notNull": false
},
"cc": {
"name": "cc",
"type": "text",
"primaryKey": false,
"notNull": false
},
"subject": {
"name": "subject",
"type": "text",
"primaryKey": false,
"notNull": false
},
"body": {
"name": "body",
"type": "text",
"primaryKey": false,
"notNull": false
},
"attachments": {
"name": "attachments",
"type": "json",
"primaryKey": false,
"notNull": false
},
"date": {
"name": "date",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "now()"
},
"email_account_id": {
"name": "email_account_id",
"type": "integer",
"primaryKey": false,
"notNull": true
},
"created_at": {
"name": "created_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "now()"
},
"updated_at": {
"name": "updated_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "now()"
}
},
"indexes": {},
"foreignKeys": {
"inbox_email_account_id_email_account_id_fk": {
"name": "inbox_email_account_id_email_account_id_fk",
"tableFrom": "inbox",
"tableTo": "email_account",
"columnsFrom": [
"email_account_id"
],
"columnsTo": [
"id"
],
"onDelete": "cascade",
"onUpdate": "no action"
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {},
"policies": {},
"checkConstraints": {},
"isRLSEnabled": false
},
"public.order": {
"name": "order",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true
},
"order_price": {
"name": "order_price",
"type": "numeric(12, 2)",
"primaryKey": false,
"notNull": false
},
"discount_amount": {
"name": "discount_amount",
"type": "numeric(12, 2)",
"primaryKey": false,
"notNull": false
},
"display_price": {
"name": "display_price",
"type": "numeric(12, 2)",
"primaryKey": false,
"notNull": false
},
"base_price": {
"name": "base_price",
"type": "numeric(12, 2)",
"primaryKey": false,
"notNull": false
},
"fullfilled_price": {
"name": "fullfilled_price",
"type": "numeric(12, 2)",
"primaryKey": false,
"notNull": false,
"default": "'0'"
},
"price_per_passenger": {
"name": "price_per_passenger",
"type": "numeric(12, 2)",
"primaryKey": false,
"notNull": false,
"default": "'0'"
},
"status": {
"name": "status",
"type": "varchar(24)",
"primaryKey": false,
"notNull": false
},
"pnr": {
"name": "pnr",
"type": "varchar(12)",
"primaryKey": false,
"notNull": true,
"default": "''"
},
"flight_ticket_info_id": {
"name": "flight_ticket_info_id",
"type": "integer",
"primaryKey": false,
"notNull": true
},
"payment_details_id": {
"name": "payment_details_id",
"type": "integer",
"primaryKey": false,
"notNull": false
},
"email_account_id": {
"name": "email_account_id",
"type": "integer",
"primaryKey": false,
"notNull": false
},
"agent_id": {
"name": "agent_id",
"type": "text",
"primaryKey": false,
"notNull": false
},
"created_at": {
"name": "created_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "now()"
},
"updated_at": {
"name": "updated_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "now()"
}
},
"indexes": {},
"foreignKeys": {
"order_flight_ticket_info_id_flight_ticket_info_id_fk": {
"name": "order_flight_ticket_info_id_flight_ticket_info_id_fk",
"tableFrom": "order",
"tableTo": "flight_ticket_info",
"columnsFrom": [
"flight_ticket_info_id"
],
"columnsTo": [
"id"
],
"onDelete": "no action",
"onUpdate": "no action"
},
"order_payment_details_id_payment_details_id_fk": {
"name": "order_payment_details_id_payment_details_id_fk",
"tableFrom": "order",
"tableTo": "payment_details",
"columnsFrom": [
"payment_details_id"
],
"columnsTo": [
"id"
],
"onDelete": "set null",
"onUpdate": "no action"
},
"order_email_account_id_email_account_id_fk": {
"name": "order_email_account_id_email_account_id_fk",
"tableFrom": "order",
"tableTo": "email_account",
"columnsFrom": [
"email_account_id"
],
"columnsTo": [
"id"
],
"onDelete": "set null",
"onUpdate": "no action"
},
"order_agent_id_user_id_fk": {
"name": "order_agent_id_user_id_fk",
"tableFrom": "order",
"tableTo": "user",
"columnsFrom": [
"agent_id"
],
"columnsTo": [
"id"
],
"onDelete": "set null",
"onUpdate": "no action"
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {},
"policies": {},
"checkConstraints": {},
"isRLSEnabled": false
},
"public.passenger_info": {
"name": "passenger_info",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true
},
"passenger_pii_id": {
"name": "passenger_pii_id",
"type": "integer",
"primaryKey": false,
"notNull": false
},
"payment_details_id": {
"name": "payment_details_id",
"type": "integer",
"primaryKey": false,
"notNull": false
},
"passenger_type": {
"name": "passenger_type",
"type": "varchar(24)",
"primaryKey": false,
"notNull": true
},
"seat_selection": {
"name": "seat_selection",
"type": "json",
"primaryKey": false,
"notNull": false
},
"bag_selection": {
"name": "bag_selection",
"type": "json",
"primaryKey": false,
"notNull": false
},
"order_id": {
"name": "order_id",
"type": "integer",
"primaryKey": false,
"notNull": false
},
"flight_ticket_info_id": {
"name": "flight_ticket_info_id",
"type": "integer",
"primaryKey": false,
"notNull": false
},
"agents_info": {
"name": "agents_info",
"type": "boolean",
"primaryKey": false,
"notNull": true,
"default": false
},
"agent_id": {
"name": "agent_id",
"type": "text",
"primaryKey": false,
"notNull": false
},
"created_at": {
"name": "created_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "now()"
},
"updated_at": {
"name": "updated_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "now()"
}
},
"indexes": {},
"foreignKeys": {
"passenger_info_passenger_pii_id_passenger_pii_id_fk": {
"name": "passenger_info_passenger_pii_id_passenger_pii_id_fk",
"tableFrom": "passenger_info",
"tableTo": "passenger_pii",
"columnsFrom": [
"passenger_pii_id"
],
"columnsTo": [
"id"
],
"onDelete": "cascade",
"onUpdate": "no action"
},
"passenger_info_payment_details_id_payment_details_id_fk": {
"name": "passenger_info_payment_details_id_payment_details_id_fk",
"tableFrom": "passenger_info",
"tableTo": "payment_details",
"columnsFrom": [
"payment_details_id"
],
"columnsTo": [
"id"
],
"onDelete": "set null",
"onUpdate": "no action"
},
"passenger_info_order_id_order_id_fk": {
"name": "passenger_info_order_id_order_id_fk",
"tableFrom": "passenger_info",
"tableTo": "order",
"columnsFrom": [
"order_id"
],
"columnsTo": [
"id"
],
"onDelete": "cascade",
"onUpdate": "no action"
},
"passenger_info_flight_ticket_info_id_flight_ticket_info_id_fk": {
"name": "passenger_info_flight_ticket_info_id_flight_ticket_info_id_fk",
"tableFrom": "passenger_info",
"tableTo": "flight_ticket_info",
"columnsFrom": [
"flight_ticket_info_id"
],
"columnsTo": [
"id"
],
"onDelete": "set null",
"onUpdate": "no action"
},
"passenger_info_agent_id_user_id_fk": {
"name": "passenger_info_agent_id_user_id_fk",
"tableFrom": "passenger_info",
"tableTo": "user",
"columnsFrom": [
"agent_id"
],
"columnsTo": [
"id"
],
"onDelete": "set null",
"onUpdate": "no action"
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {},
"policies": {},
"checkConstraints": {},
"isRLSEnabled": false
},
"public.passenger_pii": {
"name": "passenger_pii",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true
},
"first_name": {
"name": "first_name",
"type": "varchar(64)",
"primaryKey": false,
"notNull": true
},
"middle_name": {
"name": "middle_name",
"type": "varchar(64)",
"primaryKey": false,
"notNull": true
},
"last_name": {
"name": "last_name",
"type": "varchar(64)",
"primaryKey": false,
"notNull": true
},
"email": {
"name": "email",
"type": "varchar(128)",
"primaryKey": false,
"notNull": true
},
"phone_country_code": {
"name": "phone_country_code",
"type": "varchar(6)",
"primaryKey": false,
"notNull": true
},
"phone_number": {
"name": "phone_number",
"type": "varchar(20)",
"primaryKey": false,
"notNull": true
},
"nationality": {
"name": "nationality",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"gender": {
"name": "gender",
"type": "varchar(32)",
"primaryKey": false,
"notNull": true
},
"dob": {
"name": "dob",
"type": "date",
"primaryKey": false,
"notNull": true
},
"passport_no": {
"name": "passport_no",
"type": "varchar(64)",
"primaryKey": false,
"notNull": true
},
"passport_expiry": {
"name": "passport_expiry",
"type": "varchar(12)",
"primaryKey": false,
"notNull": true
},
"country": {
"name": "country",
"type": "varchar(128)",
"primaryKey": false,
"notNull": true
},
"state": {
"name": "state",
"type": "varchar(128)",
"primaryKey": false,
"notNull": true
},
"city": {
"name": "city",
"type": "varchar(128)",
"primaryKey": false,
"notNull": true
},
"zip_code": {
"name": "zip_code",
"type": "varchar(21)",
"primaryKey": false,
"notNull": true
},
"address": {
"name": "address",
"type": "text",
"primaryKey": false,
"notNull": true
},
"address2": {
"name": "address2",
"type": "text",
"primaryKey": false,
"notNull": false
},
"created_at": {
"name": "created_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "now()"
},
"updated_at": {
"name": "updated_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "now()"
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {},
"policies": {},
"checkConstraints": {},
"isRLSEnabled": false
},
"public.payment_details": {
"name": "payment_details",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true
},
"cardholder_name": {
"name": "cardholder_name",
"type": "varchar(128)",
"primaryKey": false,
"notNull": true
},
"card_number": {
"name": "card_number",
"type": "varchar(20)",
"primaryKey": false,
"notNull": true
},
"expiry": {
"name": "expiry",
"type": "varchar(5)",
"primaryKey": false,
"notNull": true
},
"cvv": {
"name": "cvv",
"type": "varchar(6)",
"primaryKey": false,
"notNull": true
},
"flight_ticket_info_id": {
"name": "flight_ticket_info_id",
"type": "integer",
"primaryKey": false,
"notNull": false
},
"created_at": {
"name": "created_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "now()"
},
"updated_at": {
"name": "updated_at",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "now()"
}
},
"indexes": {},
"foreignKeys": {
"payment_details_flight_ticket_info_id_flight_ticket_info_id_fk": {
"name": "payment_details_flight_ticket_info_id_flight_ticket_info_id_fk",
"tableFrom": "payment_details",
"tableTo": "flight_ticket_info",
"columnsFrom": [
"flight_ticket_info_id"
],
"columnsTo": [
"id"
],
"onDelete": "set null",
"onUpdate": "no action"
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {},
"policies": {},
"checkConstraints": {},
"isRLSEnabled": false
}
},
"enums": {},
"schemas": {},
"sequences": {},
"roles": {},
"policies": {},
"views": {},
"_meta": {
"columns": {},
"schemas": {},
"tables": {}
}
}