mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fix for migrations
This commit is contained in:
parent
61ea7e3897
commit
0684c93791
@ -14,11 +14,13 @@ class AddNumberFieldToClientsAndVendors extends Migration
|
||||
public function up()
|
||||
{
|
||||
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) {
|
||||
$table->string('number')->nullable();
|
||||
$table->renameColumn('id_number', 'number');
|
||||
$table->string('id_number')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user