boka3/evolutions/004-user-name-allow-null.sql
Erik Thuning 57cb0b0076 Implemented automatic removal of old users' PII.
This entailed adding a new routine in include/Cron.php that checks for old
users and purges their username and notes.

As part of this some other changes were necessary:
 - Introduced a creation time for users, so it's possible to distinguish
   between an old user with no loans and a new user with no loans.
 - The user.name field in the database now allows null values.
2025-09-23 16:46:32 +02:00

2 lines
53 B
SQL

alter table `user` modify column `name` varchar(64);