azgs / azlibrary_database

1 stars 1 forks source link

Deleting user accounts? #82

Closed aazaff closed 4 months ago

aazaff commented 5 months ago

Is there any danger of something breaking if we delete an entry form the public.users table? Do we track user information from that table in any logs?

NoisyFlowers commented 5 months ago

The only foreign key relation to that table that I am aware of is in the uploads table. We can check first to see if the user_id in question has any entries there.

aazaff commented 5 months ago

Ah, this is for Haley's old account. So it definitely does. No worries.

NoisyFlowers commented 5 months ago

Might need a soft delete function there too.

Or maybe just zap the password field.