raffles document uploader added / Free Resource Completed

This commit is contained in:
2025-08-03 00:01:49 +05:45
parent efa9231391
commit a3b863970e
25 changed files with 472 additions and 1062 deletions

View File

@@ -13,13 +13,14 @@ return new class extends Migration
{
Schema::create('documents', function (Blueprint $table) {
$table->id();
$table->string('title');
$table->string('file_path');
$table->string('title')->nullable();
$table->string('file_path')->nullable();
$table->string('collection_name')->default('uploads');
$table->unsignedBigInteger('documentable_id');
$table->string('documentable_type');
$table->index(['documentable_type', 'documentable_id']);
$table->unsignedBigInteger("order")->nullable();
$table->timestamps();
});
});
}
/**