Skip to content

Commit e718af5

Browse files
authored
Merge pull request #466 from frankebersoll/patch-1
Change Primary Key name for MSSQL Snapshot Store
2 parents 2adc64e + 1839699 commit e718af5

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

RELEASE_NOTES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
* Fix: Commands are now correctly published when no events are emitted from a saga
44
after handling a domain event
5+
* Minor fix: Updated name of Primary Key for MSSQL Snapshot Store to be different
6+
from MSSQL Event Store, so both can be used in the same database without conflicts
57

68
### New in 0.58.3377 (released 2018-05-15)
79

Source/EventFlow.MsSql/SnapshotStores/Scripts/0001 - Create EventFlowSnapshots.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ BEGIN
77
[AggregateSequenceNumber] [int] NOT NULL,
88
[Data] [nvarchar](MAX) NOT NULL,
99
[Metadata] [nvarchar](MAX) NOT NULL,
10-
CONSTRAINT [PK_EventFlow] PRIMARY KEY CLUSTERED
10+
CONSTRAINT [PK_EventFlowSnapshots] PRIMARY KEY CLUSTERED
1111
(
1212
[Id] ASC
1313
)
@@ -19,4 +19,4 @@ BEGIN
1919
[AggregateId] ASC,
2020
[AggregateSequenceNumber] ASC
2121
)
22-
END
22+
END

0 commit comments

Comments
 (0)