{"action":"created","issue":{"url":"https://api.github.com/repos/neos/Neos.Cqrs/issues/42","repository_url":"https://api.github.com/repos/neos/Neos.Cqrs","labels_url":"https://api.github.com/repos/neos/Neos.Cqrs/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/neos/Neos.Cqrs/issues/42/comments","events_url":"https://api.github.com/repos/neos/Neos.Cqrs/issues/42/events","html_url":"https://github.com/neos/Neos.Cqrs/issues/42","id":181137372,"number":42,"title":"Use Migration mechanism to create the tables","user":{"login":"bwaidelich","id":307571,"avatar_url":"https://avatars.githubusercontent.com/u/307571?v=3","gravatar_id":"","url":"https://api.github.com/users/bwaidelich","html_url":"https://github.com/bwaidelich","followers_url":"https://api.github.com/users/bwaidelich/followers","following_url":"https://api.github.com/users/bwaidelich/following{/other_user}","gists_url":"https://api.github.com/users/bwaidelich/gists{/gist_id}","starred_url":"https://api.github.com/users/bwaidelich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwaidelich/subscriptions","organizations_url":"https://api.github.com/users/bwaidelich/orgs","repos_url":"https://api.github.com/users/bwaidelich/repos","events_url":"https://api.github.com/users/bwaidelich/events{/privacy}","received_events_url":"https://api.github.com/users/bwaidelich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-05T12:18:57Z","updated_at":"2016-10-05T12:18:58Z","closed_at":null,"body":"_From @bwaidelich on September 23, 2016 12:30_\n\nCreating the ES tables via `flow eventstore:createschema` still fails for me (`Unknown column type \"flow_json_array\" requested.`). Besides every `flow doctrine:migrationgenerate` wants to delete the ES tables).\r\n\r\nSo I'd suggest to replace the `EventStoreSchema` by a dummy entity that could look sth like this:\r\n```php\r\n/**\r\n * @Flow\\Entity(readOnly=true)\r\n * @internal This class is only used as schema provider for the required db table\r\n */\r\nclass EventStoreSchema\r\n{\r\n\r\n    /**\r\n     * @ORM\\Column(type=\"text\")\r\n     * @var string\r\n     */\r\n    protected $streamName;\r\n\r\n    // ...\r\n}\r\n```\r\nand to create a standard doctrine migration for that\n\n_Copied from original issue: neos/Neos.EventStore.DatabaseStorageAdapter#6_"},"comment":{"url":"https://api.github.com/repos/neos/Neos.Cqrs/issues/comments/251658384","html_url":"https://github.com/neos/Neos.Cqrs/issues/42#issuecomment-251658384","issue_url":"https://api.github.com/repos/neos/Neos.Cqrs/issues/42","id":251658384,"user":{"login":"bwaidelich","id":307571,"avatar_url":"https://avatars.githubusercontent.com/u/307571?v=3","gravatar_id":"","url":"https://api.github.com/users/bwaidelich","html_url":"https://github.com/bwaidelich","followers_url":"https://api.github.com/users/bwaidelich/followers","following_url":"https://api.github.com/users/bwaidelich/following{/other_user}","gists_url":"https://api.github.com/users/bwaidelich/gists{/gist_id}","starred_url":"https://api.github.com/users/bwaidelich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwaidelich/subscriptions","organizations_url":"https://api.github.com/users/bwaidelich/orgs","repos_url":"https://api.github.com/users/bwaidelich/repos","events_url":"https://api.github.com/users/bwaidelich/events{/privacy}","received_events_url":"https://api.github.com/users/bwaidelich/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T12:18:58Z","updated_at":"2016-10-05T12:18:58Z","body":"I agree that it would be nice to make this work out of the box but still be extensible.\r\nOne thing that should be possible from the start (IMO) is a different configuration per Bounded Context / Package.\r\nE.g. I want one event stream table per BC or even a completely different storage backend for one. I think that's pretty important especially if we start to use the EventStore for parts of the core (like we plan with the Content Repository)"}}
{"actor":{"display_login":"bwaidelich"}}