mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for migrations
This commit is contained in:
parent
b9c868d3ff
commit
605f4d0b0c
@ -122,7 +122,7 @@ class ClientTransformer extends EntityTransformer
|
|||||||
'last_login' => (int) $client->last_login,
|
'last_login' => (int) $client->last_login,
|
||||||
'size_id' => (string) $client->size_id,
|
'size_id' => (string) $client->size_id,
|
||||||
'public_notes' => $client->public_notes ?: '',
|
'public_notes' => $client->public_notes ?: '',
|
||||||
// 'currency_id' => (string)$client->currency_id,
|
'client_hash' => (string)$client->client_hash,
|
||||||
'address1' => $client->address1 ?: '',
|
'address1' => $client->address1 ?: '',
|
||||||
'address2' => $client->address2 ?: '',
|
'address2' => $client->address2 ?: '',
|
||||||
'phone' => $client->phone ?: '',
|
'phone' => $client->phone ?: '',
|
||||||
|
@ -47,6 +47,16 @@ class AddIsPublicToDocumentsTable extends Migration
|
|||||||
$table->boolean('auto_bill')->default(0);
|
$table->boolean('auto_bill')->default(0);
|
||||||
$table->unsignedInteger('design_id')->nullable();
|
$table->unsignedInteger('design_id')->nullable();
|
||||||
$table->boolean('uses_inclusive_taxes')->default(0);
|
$table->boolean('uses_inclusive_taxes')->default(0);
|
||||||
|
$table->string('custom_surcharge1')->nullable();
|
||||||
|
$table->string('custom_surcharge2')->nullable();
|
||||||
|
$table->string('custom_surcharge3')->nullable();
|
||||||
|
$table->string('custom_surcharge4')->nullable();
|
||||||
|
$table->boolean('custom_surcharge_tax1')->default(false);
|
||||||
|
$table->boolean('custom_surcharge_tax2')->default(false);
|
||||||
|
$table->boolean('custom_surcharge_tax3')->default(false);
|
||||||
|
$table->boolean('custom_surcharge_tax4')->default(false);
|
||||||
|
|
||||||
|
$table->decimal('exchange_rate', 13, 6)->default(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('companies', function ($table) {
|
Schema::table('companies', function ($table) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user