-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alexander Miertsch
committed
May 1, 2015
1 parent
7ff2474
commit 999f94e
Showing
8 changed files
with
90 additions
and
116 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
language: php | ||
|
||
php: | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
|
||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
-- Replace [shortclassname] with the lowercase short classname of your aggregate roots, e.g. My\Model\User = user = user_stream | ||
|
||
CREATE TABLE IF NOT EXISTS `[shortclassname]_stream` ( | ||
`eventId` varchar(200) COLLATE utf8_unicode_ci NOT NULL, | ||
`event_id` varchar(36) COLLATE utf8_unicode_ci NOT NULL, | ||
`version` int(11) NOT NULL, | ||
`eventName` text COLLATE utf8_unicode_ci NOT NULL, | ||
`event_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL, | ||
`event_class` varchar(100) COLLATE utf8_unicode_ci NOT NULL, | ||
`payload` text COLLATE utf8_unicode_ci NOT NULL, | ||
`occurredOn` text COLLATE utf8_unicode_ci NOT NULL, | ||
`created_at` varchar(50) COLLATE utf8_unicode_ci NOT NULL, | ||
`aggregate_id` text COLLATE utf8_unicode_ci NOT NULL, | ||
PRIMARY KEY (`eventId`) | ||
PRIMARY KEY (`event_id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
CREATE TABLE IF NOT EXISTS `event_stream` ( | ||
`eventId` varchar(200) COLLATE utf8_unicode_ci NOT NULL, | ||
`event_id` varchar(36) COLLATE utf8_unicode_ci NOT NULL, | ||
`version` int(11) NOT NULL, | ||
`eventName` text COLLATE utf8_unicode_ci NOT NULL, | ||
`event_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL, | ||
`event_class` varchar(100) COLLATE utf8_unicode_ci NOT NULL, | ||
`payload` text COLLATE utf8_unicode_ci NOT NULL, | ||
`occurredOn` text COLLATE utf8_unicode_ci NOT NULL, | ||
`aggregate_id` text COLLATE utf8_unicode_ci NOT NULL, | ||
`aggregate_type` text COLLATE utf8_unicode_ci NOT NULL, | ||
PRIMARY KEY (`eventId`) | ||
`created_at` varchar(50) COLLATE utf8_unicode_ci NOT NULL, | ||
`aggregate_id` varchar(36) COLLATE utf8_unicode_ci NOT NULL, | ||
`aggregate_type` varchar(100) COLLATE utf8_unicode_ci NOT NULL, | ||
PRIMARY KEY (`event_id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; |
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
Oops, something went wrong.