This commit is contained in:
BuildTools committed 2023-09-16 18:22:08 +02:00
commit f02b0e6191
132 files changed
+15402

No files matched your search

@@ -0,0 +1,33 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('songrequests', function (Blueprint $table) {
$table->id();
$table->string('artist');
$table->string('title');
$table->integer('requestedby');
$table->integer('upvotes');
$table->integer('position');
$table->enum('status', ['requested', 'accepted', 'denied', 'fulfilled']);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('songrequests');
}
};