Working on credit_number_counter
This commit is contained in:
parent
a3522081da
commit
f2ea4a1669
2 changed files with 13 additions and 5 deletions
|
|
@ -21,6 +21,11 @@ class IncreasePrecision extends Migration
|
|||
$table->decimal('cost', 15, 4)->change();
|
||||
$table->decimal('qty', 15, 4)->change();
|
||||
});
|
||||
|
||||
Schema::table('clients', function ($table) {
|
||||
$table->integer('credit_number_counter')->default(1)->nullable();
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -30,6 +35,8 @@ class IncreasePrecision extends Migration
|
|||
*/
|
||||
public function down()
|
||||
{
|
||||
//
|
||||
Schema::table('clients', function ($table) {
|
||||
$table->dropColumn('credit_number_counter');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue