-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
逻辑删除是否考虑del_flag填充为时间戳或者该数据ID #6992
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
版本号:
3.4.3-GA
问题描述:
后端为了保证数据的唯一性,加了业务字段 del_flag的联合索引,这样删除的数据就只能添加一次,再次删除后就无法添加该数据,
有没有考虑del_flag删除后填充为时间戳或者被删除数据的ID,生效数据填充为0,这样可以保证数据唯一且可以支持多次删除。
错误截图:
无。
友情提示:
The text was updated successfully, but these errors were encountered: