diff --git a/database/migrations/2024_02_05_000010_create_openai_requests_table.php b/database/migrations/2024_02_05_000010_create_openai_requests_table.php index 05e7604..517ba7f 100644 --- a/database/migrations/2024_02_05_000010_create_openai_requests_table.php +++ b/database/migrations/2024_02_05_000010_create_openai_requests_table.php @@ -16,8 +16,8 @@ public function up(): void $table->string('method')->nullable()->index(); $table->string('status')->index(); - $table->unsignedDecimal('cost', 16, 8)->nullable(); - $table->unsignedDecimal('time_sec', 10, 4)->nullable(); + $table->decimal('cost', 16, 8)->nullable(); + $table->decimal('time_sec', 10, 4)->nullable(); $table->string('model_requested')->nullable(); $table->string('model_used')->nullable(); $table->jsonb('input')->nullable();