From 5a8c47e29afdbb61c32c1e03162abb1bb871ee9e Mon Sep 17 00:00:00 2001 From: horus Date: Thu, 2 Apr 2020 21:52:04 +0200 Subject: Initial commit. --- app/Category.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app/Category.php (limited to 'app/Category.php') diff --git a/app/Category.php b/app/Category.php new file mode 100644 index 0000000..7f0cdb2 --- /dev/null +++ b/app/Category.php @@ -0,0 +1,18 @@ +belongsToMany('App\Article', 'article_category'); + } +} -- cgit v1.2.3