add media stuff

This commit is contained in:
Benjamin Takats
2022-12-03 19:44:41 +01:00
parent 3749c3653b
commit a8fa8ecc5b
16 changed files with 219 additions and 24 deletions

View File

@@ -13,6 +13,7 @@ return new class extends Migration {
{
Schema::table('lecturers', function (Blueprint $table) {
$table->longText('description')
->fulltext()
->nullable();
});
}

View File

@@ -0,0 +1,31 @@
<?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('courses', function (Blueprint $table) {
$table->longText('description')
->fulltext()
->nullable();
});
}
/**
* Reverse the migrations.
* @return void
*/
public function down()
{
Schema::table('courses', function (Blueprint $table) {
//
});
}
};

View File

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