Let’s assume that we have two tables users
and messages
with the following fields:
- users: id, name, email
- messages: id, content, user_id
I want to delete a user but keep all data in messages. Is there a way to do this?
Let’s assume that we have two tables users
and messages
with the following fields:
I want to delete a user but keep all data in messages. Is there a way to do this?