Quellcode durchsuchen

Fixed migration

jquino vor 4 Jahren
Ursprung
Commit
096c902a2c

+ 1
- 1
database/migrations/2019_07_07_230040_create_professors_table.php Datei anzeigen

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