This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DROP TABLE dbo.Events | |
DROP TABLE dbo.Streams | |
CREATE TABLE dbo.Streams( | |
StreamId CHAR(40) NOT NULL, | |
StreamIdOriginal NVARCHAR(1000) NOT NULL, | |
StreamIdInternal INT IDENTITY(1,1) NOT NULL, | |
IsDeleted BIT NOT NULL DEFAULT ((0)), | |
CONSTRAINT PK_Streams PRIMARY KEY CLUSTERED (StreamIdInternal) | |
); |