From c76a9180fdb6a507c897c6f8aa96c4b1530e0a80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enes=20Sacid=20B=C3=BCker?= <73346401+EnesSacid-Buker@users.noreply.github.com> Date: Fri, 10 Mar 2023 10:50:42 +0300 Subject: [PATCH] Added description to some functions --- app/Traits/Updates.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Traits/Updates.php b/app/Traits/Updates.php index ae5fabf11..7006ea9da 100644 --- a/app/Traits/Updates.php +++ b/app/Traits/Updates.php @@ -51,6 +51,9 @@ trait Updates } } + /** + * Run single migration. + */ public function runMigration(string $file_name, $alias = ''): void { $path = $this->getPathByAlias($alias); @@ -68,6 +71,9 @@ trait Updates Artisan::call('migrate', ['--force' => true, '--path' => $migration_file]); } + /** + * Run multiple migrations. + */ public function runMigrations(array $file_names, $alias = ''): void { foreach ($file_names as $file_name) {