Add Files page upload flow with manual folders and duplicate handling.
Deploy Ladill Transfer / deploy (push) Successful in 44s

Users can create folders, upload files or folders, and choose replace or keep both on name conflicts instead of auto-grouping by transfer.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-08 21:27:39 +00:00
co-authored by Cursor
parent 19170d6bc7
commit f9b16f6b61
12 changed files with 746 additions and 127 deletions
@@ -0,0 +1,27 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::table('transfers', function (Blueprint $table) {
$table->boolean('is_folder')->default(false)->after('status');
$table->boolean('is_root_storage')->default(false)->after('is_folder');
$table->index(['user_id', 'is_folder']);
$table->index(['user_id', 'is_root_storage']);
});
}
public function down(): void
{
Schema::table('transfers', function (Blueprint $table) {
$table->dropIndex(['user_id', 'is_folder']);
$table->dropIndex(['user_id', 'is_root_storage']);
$table->dropColumn(['is_folder', 'is_root_storage']);
});
}
};