added auto_inc to id in styles table

fixed a bug in the ai-model edit form
switched to sqlite
This commit is contained in:
2025-08-06 13:39:36 +02:00
parent 57f3dbc402
commit 573661825b
6 changed files with 48 additions and 82 deletions

View File

@@ -12,7 +12,7 @@ return new class extends Migration
public function up(): void
{
Schema::create('styles', function (Blueprint $table) {
$table->id();
$table->increments('id');
$table->string('title');
$table->text('prompt');
$table->text('description');