Add SealShare file sharing application with encryption, branding, auth, Docker, and Octane support

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
surtic86
2026-02-13 11:43:20 +01:00
co-authored by Claude Opus 4.6
parent 4790be8142
commit e37b322dde
120 changed files with 6346 additions and 1459 deletions
@@ -0,0 +1,35 @@
<?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('shares', function (Blueprint $table) {
$table->id();
$table->string('token', 16)->unique();
$table->string('password')->nullable();
$table->text('encryption_key')->nullable();
$table->string('encryption_salt')->nullable();
$table->timestamp('expires_at')->nullable();
$table->unsignedInteger('max_downloads')->nullable();
$table->unsignedInteger('download_count')->default(0);
$table->unsignedBigInteger('total_size')->default(0);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('shares');
}
};