Waavi/translation

SoftDelete issue

Opened this issue · 0 comments

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