Skip to content

Commit

Permalink
fix some spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp authored and oskardudycz committed May 18, 2024
1 parent a5f3152 commit 39bc20b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,18 +133,18 @@ FROM events

private void CreateStreamsTable()
{
const string creatStreamsTableSql =
const string createStreamsTableSql =
@"CREATE TABLE IF NOT EXISTS streams(
id UUID NOT NULL PRIMARY KEY,
type TEXT NOT NULL,
version BIGINT NOT NULL
);";
databaseConnection.Execute(creatStreamsTableSql);
databaseConnection.Execute(createStreamsTableSql);
}

private void CreateEventsTable()
{
const string creatEventsTableSql =
const string createEventsTableSql =
@"CREATE TABLE IF NOT EXISTS events(
id UUID NOT NULL PRIMARY KEY,
data JSONB NOT NULL,
Expand All @@ -155,7 +155,7 @@ private void CreateEventsTable()
FOREIGN KEY(stream_id) REFERENCES streams(id),
CONSTRAINT events_stream_and_version UNIQUE(stream_id, version)
);";
databaseConnection.Execute(creatEventsTableSql);
databaseConnection.Execute(createEventsTableSql);
}

private void CreateAppendEventFunction()
Expand Down

0 comments on commit 39bc20b

Please sign in to comment.