Skip to content

Commit da9e202

Browse files
committed
Update
1 parent 3f6b667 commit da9e202

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,7 @@ Update your Scorm table:
133133
- Change hash_name to title
134134
- Remove origin_file_mime field
135135

136+
***Upgrade from version 3 to 4:***
137+
Update your Scorm table:
138+
- Add identifier (varchar 191)
139+

database/migrations/create_scorm_tables.php.stub

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ class CreateScormTables extends Migration
2828
$table->string('version');
2929
$table->double('ratio')->nullable();
3030
$table->string('uuid');
31+
$table->string('identifier');
3132
$table->string('entry_url')->nullable();
3233
$table->timestamps();
3334
});

src/Model/ScormModel.php

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class ScormModel extends Model
3030
'version',
3131
'ratio',
3232
'uuid',
33+
'identifier',
3334
'entry_url',
3435
'created_at',
3536
'updated_at',

0 commit comments

Comments
 (0)