Open
Description
Expected:
When creating the updated_ts
column in table.timestamps()
, its DDL should be:
timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
Actual:
The ON UPDATE CURRENT_TIMESTAMP
part is missing - the updated_ts
column is never autoupdated.
The syntax I'm describing works for MySQL, I'm not sure how compatible across database engines it is.
Metadata
Metadata
Assignees
Labels
No labels