mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 02:04:30 -04:00
Set defaults for new fields
This commit is contained in:
parent
85cf468d97
commit
1e70afae3f
@ -13,15 +13,15 @@ class AddDefaultRates extends Migration
|
||||
public function up()
|
||||
{
|
||||
Schema::table('accounts', function ($table) {
|
||||
$table->decimal('task_rate', 12, 4);
|
||||
$table->decimal('task_rate', 12, 4)->default(0);
|
||||
});
|
||||
|
||||
Schema::table('clients', function ($table) {
|
||||
$table->decimal('task_rate', 12, 4);
|
||||
$table->decimal('task_rate', 12, 4)->default(0);
|
||||
});
|
||||
|
||||
Schema::table('projects', function ($table) {
|
||||
$table->decimal('task_rate', 12, 4);
|
||||
$table->decimal('task_rate', 12, 4)->default(0);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user