Migration

This commit is contained in:
1day2die 2021-11-04 21:02:40 +01:00
parent 79b1be655c
commit 4c4d64f30f

View file

@ -0,0 +1,35 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class TaxInConfig extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::table('configurations')->insert(
array(
'key' => 'TAX_IN_PERCENT',
'value' => '0',
'type' => 'integer',
'description' => 'This will be added to the Product Price on Checkout',
)
);
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
}
}