Commit e421642e authored by Alfonso Rafael Solis Rangel's avatar Alfonso Rafael Solis Rangel
Browse files

Cambios en la migracion de la base de datos

parent 81fb241b
Loading
Loading
Loading
Loading
+19 −19
Original line number Diff line number Diff line
@@ -15,25 +15,25 @@ public function up(): void
        Schema::create('contactos', function (Blueprint $table) {
            $table->id();
            $table->string('nombre');
            $table->string('ap_paterno');
            $table->string('ap_materno');
            $table->string('cargo_desc');
            $table->integer('mes_cump');
            $table->integer('dia_cump');
            $table->string('domicilio_oficial');
            $table->integer('codigo_postal');
            $table->string('localidad_oficial');
            $table->string('municipio_oficial');
            $table->string('estado');
            $table->string('pais');
            $table->string('domicilio_par');
            $table->integer('cp_par');
            $table->string('localidad_par');
            $table->string('municipio_par');
            $table->string('estado_par');
            $table->string('pais_par');
            $table->boolean('finado');
            $table->string('foto_perfil');
            $table->string('ap_paterno')->nullable();
            $table->string('ap_materno')->nullable();
            $table->string('cargo_desc')->nullable();
            $table->integer('mes_cump')->nullable();
            $table->integer('dia_cump')->nullable();
            $table->string('domicilio_oficial')->nullable();
            $table->integer('codigo_postal')->nullable();
            $table->string('localidad_oficial')->nullable();
            $table->string('municipio_oficial')->nullable();
            $table->string('estado')->nullable();
            $table->string('pais')->nullable();
            $table->string('domicilio_par')->nullable();
            $table->integer('cp_par')->nullable();
            $table->string('localidad_par')->nullable();
            $table->string('municipio_par')->nullable();
            $table->string('estado_par')->nullable();
            $table->string('pais_par')->nullable();
            $table->boolean('finado')->nullable();
            $table->string('foto_perfil')->nullable();
            $table->unsignedBigInteger('conyuge_id')->nullable();
            $table->unsignedBigInteger('profesion_id')->nullable();
            $table->unsignedBigInteger('cargo_id')->nullable();