mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on credit_number_counter
This commit is contained in:
parent
a3522081da
commit
f2ea4a1669
@ -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…
x
Reference in New Issue
Block a user