mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 07:02:34 +01:00
Merge pull request #646 from hannenijhuis/master
Fixed vendors table migration setting unique after filling values
This commit is contained in:
commit
55f457d258
@ -117,6 +117,10 @@ class CreateVendorsTable extends Migration
|
|||||||
Schema::table('invoices', function (Blueprint $table) {
|
Schema::table('invoices', function (Blueprint $table) {
|
||||||
$table->boolean('has_expenses')->default(false);
|
$table->boolean('has_expenses')->default(false);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Schema::table('payment_terms', function (Blueprint $table) {
|
||||||
|
$table->unique(array('account_id', 'public_id'));
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user