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

[C2] Remove user.registration_date #6045

Open
3 tasks
ywarnier opened this issue Jan 24, 2025 · 0 comments
Open
3 tasks

[C2] Remove user.registration_date #6045

ywarnier opened this issue Jan 24, 2025 · 0 comments

Comments

@ywarnier
Copy link
Member

ywarnier commented Jan 24, 2025

The user table still maintains a registration_date field which is a functional duplicate of user.created_at.

  • Remove registration_date in the entity.
  • add a migration to deal with the field from 1.11.x, verifying that an empty created_at will be filled by the registration_date value before deletion.
  • verify (including in backup/restore code) that this doesn't cause issues with user imports, user exports, cronjobs or other places where registration_date might be used. In such cases, just replace by created_at.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants