diff options
author | devianl2 <devianleong@gmail.com> | 2022-02-11 13:04:26 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 13:04:26 +0800 |
commit | 88d7940d4db9519c046f8c5375ef092da1daab35 (patch) | |
tree | 0a0d29e08313068c758a48f496b7b58abf0a462d /database/migrations | |
parent | 3da455045032735b1cab91a575c43fa064bc022f (diff) | |
parent | 8a88eed9cab825d297f0d738efd5e0752b675f61 (diff) |
Revert "Revert "Improve SCORM disk storage handler""
Diffstat (limited to 'database/migrations')
-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.'); |