diff options
author | devian_peoplelogy <devianleong@gmail.com> | 2022-09-28 16:52:30 +0800 |
---|---|---|
committer | devian_peoplelogy <devianleong@gmail.com> | 2022-09-28 16:52:30 +0800 |
commit | da9e202b77c4094392ef7742f49aa3a13024c527 (patch) | |
tree | b19fb1711d9054814271f86893e8cc6357491d6a | |
parent | 3f6b6678ca405142bf35279abda8b83966bfb14e (diff) |
Update
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | database/migrations/create_scorm_tables.php.stub | 1 | ||||
-rw-r--r-- | src/Model/ScormModel.php | 1 |
3 files changed, 6 insertions, 0 deletions
@@ -133,3 +133,7 @@ Update your Scorm table: - Change hash_name to title - Remove origin_file_mime field +***Upgrade from version 3 to 4:*** +Update your Scorm table: +- Add identifier (varchar 191) + diff --git a/database/migrations/create_scorm_tables.php.stub b/database/migrations/create_scorm_tables.php.stub index 1fa78f6..d60328c 100644 --- a/database/migrations/create_scorm_tables.php.stub +++ b/database/migrations/create_scorm_tables.php.stub @@ -28,6 +28,7 @@ class CreateScormTables extends Migration $table->string('version'); $table->double('ratio')->nullable(); $table->string('uuid'); + $table->string('identifier'); $table->string('entry_url')->nullable(); $table->timestamps(); }); diff --git a/src/Model/ScormModel.php b/src/Model/ScormModel.php index e7c5a16..c9992f3 100644 --- a/src/Model/ScormModel.php +++ b/src/Model/ScormModel.php @@ -30,6 +30,7 @@ class ScormModel extends Model 'version', 'ratio', 'uuid', + 'identifier', 'entry_url', 'created_at', 'updated_at', |