First Commit

This commit is contained in:
marco
2026-09-01 07:49:48 -03:00
commit 28b1044038
399 changed files with 41659 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php
require '/app/vendor/autoload.php';
$app = require_once '/app/bootstrap/app.php';
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
$kernel->bootstrap();
$s = \App\Models\Subject::firstOrCreate(
['name' => 'Test Game Subject'],
['description' => 'Test game', 'introduction' => 'Test game intro', 'message_type' => 'game_simulator', 'is_system' => false, 'user_id' => 1]
);
\App\Models\UserSubject::firstOrCreate(
['user_id' => 1, 'subject_id' => $s->id],
['frequency' => 'daily', 'preferred_times' => ['09:00'], 'insight_language' => 'pt_BR', 'delivery_channels' => ['dashboard'], 'is_active' => true]
);
echo 'ok';