From 64f931e68696a19d102eeb3313e554a4b21bbd37 Mon Sep 17 00:00:00 2001 From: Charles T Date: Sun, 1 Oct 2023 00:37:21 +0800 Subject: [PATCH] Add (ai gen) --- .../2023_09_29_123805_create_shopee_seller_scrapes_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/2023_09_29_123805_create_shopee_seller_scrapes_table.php b/database/migrations/2023_09_29_123805_create_shopee_seller_scrapes_table.php index 0360de2..007b5ba 100644 --- a/database/migrations/2023_09_29_123805_create_shopee_seller_scrapes_table.php +++ b/database/migrations/2023_09_29_123805_create_shopee_seller_scrapes_table.php @@ -21,7 +21,7 @@ public function up(): void $table->timestamp('last_ai_written_at'); $table->integer('write_counts')->default(0); $table->timestamps(); - $table->foreign('category')->references('id')->on('categories'); + $table->foreign('category_id')->references('id')->on('categories'); }); }