Skip to content
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

SoftDelete issue #144

Open
binaryk opened this issue Sep 27, 2018 · 0 comments
Open

SoftDelete issue #144

binaryk opened this issue Sep 27, 2018 · 0 comments

Comments

@binaryk
Copy link

binaryk commented Sep 27, 2018

The table migration contains:

  • unique force for two columns:
$table->string('locale', 6)->unique();
$table->string('name', 60)->unique();
  • and softDelete as well: $table->softDeletes();

These 2 rules are nonsense, since if you will try to POST a language which was soft deleted, the SQL will fail your script like this:

screenshot 2018-09-28 at 00 20 51

Even I have it soft deleted:

screenshot 2018-09-28 at 00 21 44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant