1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00

Added vat_number to clients table also

This commit is contained in:
Troels Liebe Bentsen 2014-10-14 23:47:33 +02:00
parent a32431c223
commit 7f288e224d

View File

@ -3,7 +3,7 @@
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddCompanySubtitle extends Migration {
class AddCompanyVatNumber extends Migration {
/**
* Run the migrations.
@ -16,6 +16,11 @@ class AddCompanySubtitle extends Migration {
{
$table->string('vat_number')->nullable();
});
Schema::table('clients', function($table)
{
$table->string('vat_number')->nullable();
});
}
/**
@ -29,6 +34,10 @@ class AddCompanySubtitle extends Migration {
{
$table->dropColumn('vat_number');
});
Schema::table('clients', function($table)
{
$table->dropColumn('vat_number');
});
}
}