File: /var/www/vhosts/greenclinic.kz/clinic_back/database/migrations/2021_03_16_114510_change_integer.php
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ChangeInteger extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('application', function (Blueprint $table) {
$table->bigInteger('phone')->change();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('application', function (Blueprint $table) {
//
});
}
}