Browse Source

Fixed migration

jquino 4 years ago
parent
commit
096c902a2c
1 changed files with 1 additions and 1 deletions
  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 View File

@@ -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);