Skip to content
Snippets Groups Projects
Commit 8ea75c9d authored by Ryan Senior's avatar Ryan Senior
Browse files

Change the core_user.updated_at migration

MySQL 5.5 and before doesn't support computed default values for
datetime fields. It supports them in later versions, and on timestamp
fields for 5.5, but not datetime fields, which is what we use for our
auditing columns currently. This comment just removes that default
computed value and the related not null constraint.
parent 6477d395
Branches
Tags
No related merge requests found
......@@ -4079,6 +4079,5 @@ databaseChangeLog:
name: updated_at
type: datetime
remarks: 'When was this User last updated?'
constraints:
nullable: false
defaultValueComputed: now()
- sql:
sql: update core_user set updated_at=date_joined
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment