From 80a183a94bd344c3ac08109019fdc7d341a57a6e Mon Sep 17 00:00:00 2001 From: Sam Light Date: Fri, 28 Mar 2025 01:07:59 +0000 Subject: Setup categories table, model and factory --- workbench/app/Models/Category.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 workbench/app/Models/Category.php (limited to 'workbench/app/Models') diff --git a/workbench/app/Models/Category.php b/workbench/app/Models/Category.php new file mode 100644 index 0000000..d1b1dcd --- /dev/null +++ b/workbench/app/Models/Category.php @@ -0,0 +1,22 @@ +hasMany(Product::class); + } +} -- cgit v1.2.3