1day2die %!s(int64=3) %!d(string=hai) anos
pai
achega
4c4d64f30f
Modificáronse 1 ficheiros con 35 adicións e 0 borrados
  1. 35 0
      database/migrations/2021_11_04_195244_tax_in_config.php

+ 35 - 0
database/migrations/2021_11_04_195244_tax_in_config.php

@@ -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()
+    {
+
+    }
+}