소스 검색

Fixed migration

jquino 4 년 전
부모
커밋
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);