We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Error
`created_at` DATETIME NOT NULL DEFAULT 'CURRENT_TIMESTAMP',
The right is
`created_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
entity-behavior v1.3.0 orm v2.7.1, PHP 8.1
The text was updated successfully, but these errors were encountered:
Change
namespace Cycle\Database\Schema; public function defaultValue(mixed $value): self { $this->defaultValue = match (true) { $value === self::DATETIME_NOW => new Fragment(static::DATETIME_NOW), static::isJson($this) !== false && \is_array($value) => Jsoner::toJson($value), default => $value }; return $this; }
Use Fragment include.
Sorry, something went wrong.
roxblnfk
msmakouz
No branches or pull requests
No duplicates 🥲.
What happened?
Error
The right is
Version
entity-behavior v1.3.0
orm v2.7.1,
PHP 8.1
The text was updated successfully, but these errors were encountered: