StreakFit — API Laravel 13 OSDD + Octane/FrankenPHP
Build & Deploy / build (push) Successful in 18s

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-19 03:00:17 +02:00
co-authored by Claude Opus 4.8
commit af32669931
300 changed files with 21235 additions and 0 deletions
@@ -0,0 +1,34 @@
<?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('exercises', function (Blueprint $table) {
$table->id();
$table->string('external_id')->unique(); // "0001" du dataset
$table->string('name');
$table->string('slug')->index();
$table->string('category')->nullable()->index(); // waist, chest...
$table->string('body_part')->nullable()->index(); // upper arms, back...
$table->string('equipment')->nullable()->index(); // dumbbell, body weight...
$table->string('target')->nullable()->index(); // muscle cible principal
$table->string('muscle_group')->nullable(); // synergistes primaires
$table->json('secondary_muscles')->nullable(); // ["deltoid", ...]
$table->json('instructions')->nullable(); // { en:[...], fr:[...] }
$table->string('image_path')->nullable(); // clé S3 / chemin média
$table->string('gif_path')->nullable();
$table->string('attribution')->nullable();
$table->timestamps();
});
}
public function down(): void
{
Schema::dropIfExists('exercises');
}
};