mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
feat: add public column to playlists table
This commit is contained in:
parent
871d2e3463
commit
05441f834c
1 changed files with 15 additions and 0 deletions
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class AddPublicColumnToPlaylistsTable extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('playlists', static function (Blueprint $table): void {
|
||||
$table->boolean('public')->default(false)->after('rules');
|
||||
});
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue