remove unique constraint on payment hash

This commit is contained in:
David Bomba 2021-03-22 07:23:21 +11:00
parent f80179814d
commit 8197a87ad0

View File

@ -37,10 +37,6 @@ class AddUniqueConstraintsOnAllEntities extends Migration
$table->unique(['company_id', 'number']);
});
Schema::table('payment_hashes', function (Blueprint $table) {
$table->unique(['hash']);
});
Schema::table('recurring_invoices', function (Blueprint $table) {
$table->string('number')->change();
$table->unique(['company_id', 'number']);