Merge pull request #5494 from turbo124/v5-develop

Fixes for migrations
This commit is contained in:
David Bomba 2021-04-21 16:07:00 +10:00 committed by GitHub
commit 6ed863acd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ class IdNumberFieldsForMissingEntities extends Migration
Schema::table('vendors', function (Blueprint $table) { Schema::table('vendors', function (Blueprint $table) {
$table->text('vendor_hash')->nullable(); $table->text('vendor_hash')->nullable();
$table->text('public_notes')->nullable(); $table->text('public_notes')->nullable();
$table->unique(['company_id', 'number']); // $table->unique(['company_id', 'number']);
}); });
Schema::table('vendor_contacts', function (Blueprint $table) { Schema::table('vendor_contacts', function (Blueprint $table) {