diff options
-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', |