Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
home
/
qtdcvxyp
/
karir.star4hire.com
/
database
/
migrations
✏️
Editing: 2022_04_22_074555_migrate_ver_2_0_1.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class MigrateVer201 extends Migration { /** * Run the migrations. * * @return void */ public function up() { // Schema::table('users', function (Blueprint $table) { if (!Schema::hasColumn('users', 'need_update_pw')) { $table->tinyInteger('need_update_pw')->nullable()->default(0); } }); Schema::table('bc_jobs', function (Blueprint $table) { if (!Schema::hasColumn('bc_jobs', 'number_recruitments')) { $table->integer('number_recruitments')->nullable(); } }); Schema::table('bc_locations', function (Blueprint $table) { if (!Schema::hasColumn('bc_locations', 'zipcode')) { $table->string('zipcode', 50)->nullable(); } }); } /** * Reverse the migrations. * * @return void */ public function down() { // } }
💾 Save Changes
❌ Cancel