Skip to content

🐛 CreatedAt behavior default value error #32

@hiscaler

Description

@hiscaler

No duplicates 🥲.

  • I have searched for a similar issue in our bug tracker and didn't find any solutions.

What happened?

Error

`created_at` DATETIME NOT NULL DEFAULT 'CURRENT_TIMESTAMP',

The right is

`created_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,

Version

entity-behavior v1.3.0
orm v2.7.1,
PHP 8.1

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions