Skip to content
Snippets Groups Projects
Commit fb6b0aad authored by Shizuco's avatar Shizuco
Browse files

feat: add column role to user

parent cd684e7b
No related branches found
No related tags found
No related merge requests found
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', function (Blueprint $table) {
$table->string('role');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment