Skip to content

Commit

Permalink
change event_stream name, does not propagate down
Browse files Browse the repository at this point in the history
  • Loading branch information
basz committed Feb 6, 2018
1 parent 649ca9e commit 42b41ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/postgres/01_event_streams_table.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CREATE TABLE event_streams (
CREATE TABLE e_stream (
no BIGSERIAL,
real_stream_name VARCHAR(150) NOT NULL,
stream_name CHAR(41) NOT NULL,
Expand All @@ -7,4 +7,4 @@ CREATE TABLE event_streams (
PRIMARY KEY (no),
UNIQUE (stream_name)
);
CREATE INDEX on event_streams (category);
CREATE INDEX on e_stream (category);
2 changes: 1 addition & 1 deletion tests/Projection/PostgresProjectionManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected function setUp(): void
$this->connection,
new PostgresAggregateStreamStrategy()
);
$this->projectionManager = new PostgresProjectionManager($this->eventStore, $this->connection);
$this->projectionManager = new PostgresProjectionManager($this->eventStore, $this->connection, 'e_stream');
}

protected function tearDown(): void
Expand Down

0 comments on commit 42b41ec

Please sign in to comment.