Add freeCompanyId to rankedUser table
This commit is contained in:
parent
f81ce746c5
commit
f5382aa16d
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class AlterFreeCompanyRankedUsersAddFreeCompanyIdColuhmn extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('free_company_ranked_users', function (Blueprint $table) {
|
||||
$table->string('freeCompanyId', 32)->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('free_company_ranked_users', function (Blueprint $table) {
|
||||
$table->dropColumn('freeCompanyId');
|
||||
});
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user