twitter_username added

This commit is contained in:
Benjamin Takats
2023-01-18 18:00:33 +01:00
parent 4bc57ac7b1
commit 33f16f6d8f
3 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<?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('lecturers', function (Blueprint $table) {
$table->string('twitter_username')
->nullable();
$table->string('website')
->nullable();
});
}
/**
* Reverse the migrations.
* @return void
*/
public function down()
{
Schema::table('lecturers', function (Blueprint $table) {
//
});
}
};