Unique Validation on one column and conditional on second column based on row value

前端 未结 0 993
刺人心
刺人心 2021-02-20 13:41

I have a database in which email is set as unique validation with status. I have set scope as a int \'status\' which is 1 when particular account is active. So if user switches

相关标签:
回答
  • 消灭零回复
提交回复
热议问题