mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-21 18:40:57 -04:00
Added vat_number to clients table also
This commit is contained in:
parent
a32431c223
commit
7f288e224d
@ -3,7 +3,7 @@
|
|||||||
use Illuminate\Database\Schema\Blueprint;
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
use Illuminate\Database\Migrations\Migration;
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
|
||||||
class AddCompanySubtitle extends Migration {
|
class AddCompanyVatNumber extends Migration {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Run the migrations.
|
* Run the migrations.
|
||||||
@ -16,6 +16,11 @@ class AddCompanySubtitle extends Migration {
|
|||||||
{
|
{
|
||||||
$table->string('vat_number')->nullable();
|
$table->string('vat_number')->nullable();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Schema::table('clients', function($table)
|
||||||
|
{
|
||||||
|
$table->string('vat_number')->nullable();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -26,6 +31,10 @@ class AddCompanySubtitle extends Migration {
|
|||||||
public function down()
|
public function down()
|
||||||
{
|
{
|
||||||
Schema::table('accounts', function($table)
|
Schema::table('accounts', function($table)
|
||||||
|
{
|
||||||
|
$table->dropColumn('vat_number');
|
||||||
|
});
|
||||||
|
Schema::table('clients', function($table)
|
||||||
{
|
{
|
||||||
$table->dropColumn('vat_number');
|
$table->dropColumn('vat_number');
|
||||||
});
|
});
|
Loading…
x
Reference in New Issue
Block a user