mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for migrations
This commit is contained in:
parent
0684c93791
commit
01590b06c1
@ -15,13 +15,20 @@ class AddNumberFieldToClientsAndVendors extends Migration
|
|||||||
{
|
{
|
||||||
Schema::table('clients', function (Blueprint $table) {
|
Schema::table('clients', function (Blueprint $table) {
|
||||||
$table->renameColumn('id_number', 'number');
|
$table->renameColumn('id_number', 'number');
|
||||||
$table->string('id_number')->nullable();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('vendors', function (Blueprint $table) {
|
Schema::table('vendors', function (Blueprint $table) {
|
||||||
$table->renameColumn('id_number', 'number');
|
$table->renameColumn('id_number', 'number');
|
||||||
|
});
|
||||||
|
|
||||||
|
Schema::table('clients', function (Blueprint $table) {
|
||||||
$table->string('id_number')->nullable();
|
$table->string('id_number')->nullable();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Schema::table('vendors', function (Blueprint $table) {
|
||||||
|
$table->string('id_number')->nullable();
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user