Info and filtering by course tracks, table of content on chapter view with links and previous and next buttons.
This commit is contained in:
1 parent
d4d8330d83
commit
5902bf7c2b
9 files changed
+1024
-477
No files matched your search
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('courses', function (Blueprint $table) {
|
||||
$table->text('tracks')->after('status')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('courses', function (Blueprint $table) {
|
||||
$table->removeColumn('tracks');
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user