Fix for migrations
This commit is contained in:
parent
0684c93791
commit
01590b06c1
1 changed files with 8 additions and 1 deletions
|
|
@ -15,13 +15,20 @@ class AddNumberFieldToClientsAndVendors extends Migration
|
|||
{
|
||||
Schema::table('clients', function (Blueprint $table) {
|
||||
$table->renameColumn('id_number', 'number');
|
||||
$table->string('id_number')->nullable();
|
||||
});
|
||||
|
||||
Schema::table('vendors', function (Blueprint $table) {
|
||||
$table->renameColumn('id_number', 'number');
|
||||
});
|
||||
|
||||
Schema::table('clients', function (Blueprint $table) {
|
||||
$table->string('id_number')->nullable();
|
||||
});
|
||||
|
||||
Schema::table('vendors', function (Blueprint $table) {
|
||||
$table->string('id_number')->nullable();
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue