Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds projects support #150

Merged
merged 21 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixes problem with running migrations on mysql db driver
  • Loading branch information
butschster committed Apr 29, 2024
commit 330417051a6219bb058ff007a2665e7a23cb0bf0
2 changes: 1 addition & 1 deletion .github/workflows/phpunit-memory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
PERSISTENCE_DRIVER: memory

jobs:
phpunit-db:
phpunit-memory:
uses: spiral/gh-actions/.github/workflows/phpunit.yml@master
with:
extensions: >-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function up(): void
$this->table('events')
->addColumn('uuid', 'string', ['nullable' => false, 'size' => 36])
->addColumn('type', 'string', ['nullable' => false, 'size' => 50])
->addColumn('payload', 'jsonb', ['nullable' => false])
->addColumn('payload', 'json', ['nullable' => false])
->addColumn('timestamp', 'float', ['nullable' => false])
->addColumn('project_id', 'integer', ['nullable' => true])
->setPrimaryKeys(['uuid'])
Expand Down
2 changes: 1 addition & 1 deletion app/modules/Events/Domain/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function __construct(
#[Column(type: 'string(50)')]
private string $type,

#[Column(type: 'jsonb', typecast: Json::class)]
#[Column(type: 'json', typecast: Json::class)]
private Json $payload,

#[Column(type: 'string(25)', typecast: Timestamp::class)]
Expand Down
Loading