浏览代码

Add new migration for cw summarys

Daniel Supernault 6 年之前
父节点
当前提交
7561dd23ba
共有 1 个文件被更改,包括 30 次插入0 次删除
  1. 30 0
      database/migrations/2018_09_18_043334_add_cw_desc_to_status.php

+ 30 - 0
database/migrations/2018_09_18_043334_add_cw_desc_to_status.php

@@ -0,0 +1,30 @@
+<?php
+
+use Illuminate\Support\Facades\Schema;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Database\Migrations\Migration;
+
+class AddCwDescToStatus extends Migration
+{
+    /**
+     * Run the migrations.
+     *
+     * @return void
+     */
+    public function up()
+    {
+        Schema::table('statuses', function ($table) {
+            $table->string('cw_summary')->nullable();
+        });
+    }
+
+    /**
+     * Reverse the migrations.
+     *
+     * @return void
+     */
+    public function down()
+    {
+        //
+    }
+}