Browse Source

Fixed migration

jquino 4 years ago
parent
commit
096c902a2c

+ 1
- 1
database/migrations/2019_07_07_230040_create_professors_table.php View File

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