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

Cambio a string en la extension

parent 3bd2b3d1
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
    /**
     * Run the migrations.
     */
    public function up(): void
    {
        Schema::table('telefonos', function (Blueprint $table) {
            $table->string('ext')->change();
        });
    }

    /**
     * Reverse the migrations.
     */
    public function down(): void
    {
        Schema::table('telefonos', function (Blueprint $table) {
            $table->integer('ext')->change();
        });
    }
};