mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-05 18:23:48 +00:00
UI enhancements for file request
This commit is contained in:
@@ -24,10 +24,11 @@ class UploadRequestFactory extends Factory
|
||||
return [
|
||||
'id' => $this->faker->uuid,
|
||||
'user_id' => $this->faker->uuid,
|
||||
'folder_id' => $this->faker->uuid,
|
||||
'email' => $this->faker->email,
|
||||
'notes' => $this->faker->realText(80),
|
||||
'status' => $this->faker->randomElement(
|
||||
'folder_id' => $this->faker->uuid,
|
||||
'email' => $this->faker->email,
|
||||
'name' => $this->faker->name,
|
||||
'notes' => $this->faker->realText(80),
|
||||
'status' => $this->faker->randomElement(
|
||||
['active', 'filled', 'expired']
|
||||
),
|
||||
'created_at' => $this->faker->dateTimeBetween('-1 months'),
|
||||
|
||||
@@ -16,9 +16,10 @@ class CreateUploadRequestsTable extends Migration
|
||||
Schema::create('upload_requests', function (Blueprint $table) {
|
||||
$table->uuid('id');
|
||||
$table->uuid('user_id');
|
||||
$table->uuid('folder_id');
|
||||
$table->uuid('folder_id')->nullable();
|
||||
$table->enum('status', ['active', 'filling', 'filled', 'expired'])->default('active');
|
||||
$table->string('email')->nullable();
|
||||
$table->text('name')->nullable();
|
||||
$table->longText('notes')->nullable();
|
||||
$table->timestamps();
|
||||
$table->charset = 'utf8mb4';
|
||||
|
||||
Reference in New Issue
Block a user