@event-driven-io/emmett-sqlite 0.38.3 → 0.38.4
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -651,7 +651,7 @@ var streamsTableSQL = sql(
|
|
|
651
651
|
stream_type TEXT NOT NULL,
|
|
652
652
|
stream_metadata JSONB NOT NULL,
|
|
653
653
|
is_archived BOOLEAN NOT NULL DEFAULT FALSE,
|
|
654
|
-
PRIMARY KEY (stream_id,
|
|
654
|
+
PRIMARY KEY (stream_id, partition, is_archived),
|
|
655
655
|
UNIQUE (stream_id, partition, is_archived)
|
|
656
656
|
);`
|
|
657
657
|
);
|