raffles document uploader added / Free Resource Completed
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user