deployer fixes

This commit is contained in:
Mark Gregory
2026-10-12 09:53:48 +01:00
parent 2139e55137
commit 85f9e56b03
9 changed files with 84 additions and 2 deletions
@@ -0,0 +1,18 @@
<?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::create('download_products', function (Blueprint $table) {
$table->id(); $table->string('name'); $table->text('description')->nullable();
$table->string('version')->nullable(); $table->string('platform')->nullable();
$table->string('file_path')->nullable(); $table->string('original_filename')->nullable();
$table->unsignedBigInteger('file_size')->default(0); $table->unsignedBigInteger('download_count')->default(0);
$table->boolean('is_published')->default(false); $table->timestamps();
});
}
public function down(): void { Schema::dropIfExists('download_products'); }
};