Migration
This commit is contained in:
parent
79b1be655c
commit
4c4d64f30f
35
database/migrations/2021_11_04_195244_tax_in_config.php
Normal file
35
database/migrations/2021_11_04_195244_tax_in_config.php
Normal 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()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue