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

Registration date not stored when using Mnesia #4173

Open
Dunedan opened this issue Mar 9, 2024 · 0 comments
Open

Registration date not stored when using Mnesia #4173

Dunedan opened this issue Mar 9, 2024 · 0 comments

Comments

@Dunedan
Copy link

Dunedan commented Mar 9, 2024

Environment

  • ejabberd version: 23.01
  • Erlang version: Erlang (SMP,ASYNC_THREADS) (BEAM) emulator version 13.1.5
  • OS: Linux (Debian)
  • Installed from: distro package

Bug description

When using an SQL database backend, the users table contains a created_at column, containing the timestamp of the user registration. That doesn't seem to be the case when using Mnesia as database backend, as there isn't such a field in the passwd table. Having the registration date available when using Mnesia as well would be quite valuable.

Also with the current behavior, when using the export2sql command to migrate from Mnesia to an SQL database, this results in created_at being populated with the date of the migration, instead of the registration date or no date at all, leading to wrong registration dates after the migration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant