瀏覽代碼

Fixed migration

jquino 5 年之前
父節點
當前提交
096c902a2c
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      database/migrations/2019_07_07_230040_create_professors_table.php

+ 1
- 1
database/migrations/2019_07_07_230040_create_professors_table.php 查看文件

@@ -18,7 +18,7 @@ class CreateProfessorsTable extends Migration
18 18
             $table->string('num_prof', 16);
19 19
             $table->string('first_name');
20 20
             $table->string('last_name');
21
-            $table->string('system_name');
21
+            $table->string('system_name')->nullable();
22 22
             $table->string('email')->nullable();
23 23
             $table->enum('type', ['plantilla', 'contrato', 'ta'])->nullable();
24 24
             $table->unsignedBigInteger('dept_id')->default(0);