@tspvivek/baasix-sdk 0.1.0-alpha.6 → 0.1.0-alpha.7

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.
@@ -381,6 +381,8 @@ interface IndexDefinition {
381
381
  name: string;
382
382
  fields: string[];
383
383
  unique?: boolean;
384
+ /** When true, NULL values are considered equal for unique indexes (PostgreSQL 15+) */
385
+ nullsNotDistinct?: boolean;
384
386
  }
385
387
  type RelationshipType = "M2O" | "O2M" | "M2M" | "M2A" | "O2O";
386
388
  interface RelationshipDefinition {
@@ -381,6 +381,8 @@ interface IndexDefinition {
381
381
  name: string;
382
382
  fields: string[];
383
383
  unique?: boolean;
384
+ /** When true, NULL values are considered equal for unique indexes (PostgreSQL 15+) */
385
+ nullsNotDistinct?: boolean;
384
386
  }
385
387
  type RelationshipType = "M2O" | "O2M" | "M2M" | "M2A" | "O2O";
386
388
  interface RelationshipDefinition {