@foundrynorth/compass-schema 1.0.17 → 1.0.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foundrynorth/compass-schema",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "Canonical Drizzle ORM schema for Foundry Compass (rough-waterfall database)",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
package/src/schema.ts CHANGED
@@ -7307,25 +7307,8 @@ export const signerRoleEnum = pgEnum("signer_role", [
7307
7307
  "counter_signer",
7308
7308
  ]);
7309
7309
 
7310
- export const contractSigners = pgTable(
7311
- "contract_signers",
7312
- {
7313
- id: uuid("id").primaryKey().defaultRandom(),
7314
- contractId: uuid("contract_id")
7315
- .notNull()
7316
- .references(() => contracts.id, { onDelete: "cascade" }),
7317
- role: signerRoleEnum("role").notNull().default("client_signer"),
7318
- displayOrder: integer("display_order").notNull().default(1),
7319
- hubspotContactId: text("hubspot_contact_id"),
7320
- name: text("name").notNull(),
7321
- email: text("email").notNull(),
7322
- createdAt: timestamp("created_at").notNull().defaultNow(),
7323
- },
7324
- (table) => [
7325
- index("contract_signers_contract_id_idx").on(table.contractId),
7326
- ]
7327
- );
7328
- export type ContractSigner = typeof contractSigners.$inferSelect;
7310
+ // contractSigners table removed — signing is managed in fn-flux.
7311
+ // signerRoleEnum is retained because orderSigners still uses it.
7329
7312
 
7330
7313
  export const orderSigners = pgTable(
7331
7314
  "order_signers",