migration to add hubspot deal id to uploaded_files

This commit is contained in:
Daniel Roth 2026-04-16 15:04:43 +00:00
parent c561732baf
commit 37446fd1ed
4 changed files with 6348 additions and 0 deletions

View file

@ -0,0 +1 @@
ALTER TABLE "uploaded_files" ADD COLUMN "hubspot_deal_id" text;

File diff suppressed because it is too large Load diff

View file

@ -1184,6 +1184,13 @@
"when": 1776246796721,
"tag": "0168_romantic_kronos",
"breakpoints": true
},
{
"idx": 169,
"version": "7",
"when": 1776351792028,
"tag": "0169_freezing_moonstone",
"breakpoints": true
}
]
}

View file

@ -33,6 +33,7 @@ export const uploadedFiles = pgTable(
}).notNull(),
landlordPropertyId: text("landlord_property_id"),
uprn: bigint("uprn", { mode: "bigint" }),
hubsotDealId: text("hubspot_deal_id"),
hubspotListingId: bigint("hubspot_listing_id", { mode: "bigint" }),
fileType: fileType("file_type"),
source: fileSource("file_source")