diff options
author | Khaled Lela <eng.khaled.lela@gmail.com> | 2022-02-10 01:17:43 +0200 |
---|---|---|
committer | Khaled Lela <eng.khaled.lela@gmail.com> | 2022-02-10 01:17:43 +0200 |
commit | f658708e0ba11ced12a395b848cc13771db2628b (patch) | |
tree | 5f5e1a68c071ad9c02bf79e077001d8e4355a710 /database/migrations | |
parent | 9e6f0a90b6b99d7a08fbe07ecd9c304b825f3a16 (diff) |
update scorm model
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.'); |