@foundrynorth/compass-schema 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schema.d.ts +25 -0
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +3 -0
- package/dist/schema.js.map +1 -1
- package/package.json +1 -1
- package/src/schema.ts +4 -0
package/package.json
CHANGED
package/src/schema.ts
CHANGED
|
@@ -4780,6 +4780,9 @@ export const mediaOrders = pgTable(
|
|
|
4780
4780
|
// Order-level notes
|
|
4781
4781
|
orderNotes: text("order_notes"),
|
|
4782
4782
|
|
|
4783
|
+
// Sales initiative (links to sales_initiatives table)
|
|
4784
|
+
initiativeCode: varchar("initiative_code"),
|
|
4785
|
+
|
|
4783
4786
|
// Billing fields
|
|
4784
4787
|
navigaAdvertiserId: text("naviga_advertiser_id"),
|
|
4785
4788
|
purchaseOrderNumber: text("purchase_order_number"),
|
|
@@ -4841,6 +4844,7 @@ export const mediaOrders = pgTable(
|
|
|
4841
4844
|
index("media_orders_vendor_fulfillment_status_idx").on(table.vendorFulfillmentStatus),
|
|
4842
4845
|
index("media_orders_parent_company_idx").on(table.parentHubspotCompanyId),
|
|
4843
4846
|
index("media_orders_contract_id_idx").on(table.contractId),
|
|
4847
|
+
index("media_orders_initiative_code_idx").on(table.initiativeCode),
|
|
4844
4848
|
]
|
|
4845
4849
|
);
|
|
4846
4850
|
|