Tax rate change workflow.

This commit is contained in:
cuneytsenturk
2018-11-06 17:55:31 +03:00
parent f3a7055682
commit 79ebd9d025
10 changed files with 176 additions and 62 deletions

View File

@ -12,8 +12,7 @@ class AddTaxColumns extends Migration
public function up()
{
Schema::table('taxes', function ($table) {
$table->boolean('calculate')->default(0);
$table->boolean('compound')->default(0);
$table->string('type')->default('normal');
});
}
@ -26,8 +25,7 @@ class AddTaxColumns extends Migration
{
Schema::table('taxes', function ($table) {
$table->dropColumn([
'calculate',
'compound',
'type',
]);
});
}