|
|
@@ -0,0 +1,53 @@
|
|
|
+<?php
|
|
|
+
|
|
|
+use Illuminate\Database\Migrations\Migration;
|
|
|
+use Illuminate\Database\Schema\Blueprint;
|
|
|
+use Illuminate\Support\Facades\Schema;
|
|
|
+
|
|
|
+class SeedKeyValuesTable extends Migration
|
|
|
+{
|
|
|
+ /**
|
|
|
+ * Run the migrations.
|
|
|
+ *
|
|
|
+ * @return void
|
|
|
+ */
|
|
|
+ public function up()
|
|
|
+ {
|
|
|
+ \App\KeyValues::create([
|
|
|
+ 'key' => 'order_last_created_sync_at',
|
|
|
+ 'value' => null,
|
|
|
+ ]);
|
|
|
+ \App\KeyValues::create([
|
|
|
+ 'key' => 'order_last_updated_sync_at',
|
|
|
+ 'value' => null,
|
|
|
+ ]);
|
|
|
+
|
|
|
+ \App\KeyValues::create([
|
|
|
+ 'key' => 'commodity_last_created_sync_at',
|
|
|
+ 'value' => null,
|
|
|
+ ]);
|
|
|
+ \App\KeyValues::create([
|
|
|
+ 'key' => 'commodity_last_updated_sync_at',
|
|
|
+ 'value' => null,
|
|
|
+ ]);
|
|
|
+
|
|
|
+ \App\KeyValues::create([
|
|
|
+ 'key' => 'asn_last_created_sync_at',
|
|
|
+ 'value' => null,
|
|
|
+ ]);
|
|
|
+ \App\KeyValues::create([
|
|
|
+ 'key' => 'asn_last_updated_sync_at',
|
|
|
+ 'value' => null,
|
|
|
+ ]);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Reverse the migrations.
|
|
|
+ *
|
|
|
+ * @return void
|
|
|
+ */
|
|
|
+ public function down()
|
|
|
+ {
|
|
|
+ //
|
|
|
+ }
|
|
|
+}
|