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