diff options
author | devianl2 <devianleong@gmail.com> | 2022-02-11 11:21:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 11:21:33 +0800 |
commit | 9a3d5c62ac377bfcb9e31f98275636548c4d65ea (patch) | |
tree | f5f792b1775c82e103f492a25cce3c1234f8b4e7 /database | |
parent | ca8137f985224373c22fa195288fb093d548a75c (diff) | |
parent | f2faa8f007834444a129db4fb8f4ece901b21fed (diff) |
Merge pull request #7 from KhaledLela/main
Improve SCORM disk storage handler
Diffstat (limited to 'database')
-rw-r--r-- | database/migrations/create_scorm_tables.php.stub | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/database/migrations/create_scorm_tables.php.stub b/database/migrations/create_scorm_tables.php.stub index 506e9cb..6a136b3 100644 --- a/database/migrations/create_scorm_tables.php.stub +++ b/database/migrations/create_scorm_tables.php.stub @@ -97,19 +97,7 @@ class CreateScormTables extends Migration */ public function down() { - $tableNames = config('scorm_sco_tracking_table'); - - if (empty($tableNames)) { - throw new \Exception('Error: Table not found.'); - } - - $tableNames = config('scorm_sco_table'); - - if (empty($tableNames)) { - throw new \Exception('Error: Table not found.'); - } - - $tableNames = config('scorm_table'); + $tableNames = config('scorm.table_names'); if (empty($tableNames)) { throw new \Exception('Error: Table not found.'); |