diff options
-rw-r--r-- | database/migrations/create_scorm_tables.php.stub | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/database/migrations/create_scorm_tables.php.stub b/database/migrations/create_scorm_tables.php.stub index c246365..506e9cb 100644 --- a/database/migrations/create_scorm_tables.php.stub +++ b/database/migrations/create_scorm_tables.php.stub @@ -22,6 +22,7 @@ class CreateScormTables extends Migration // scorm_model Schema::create($tableNames['scorm_table'], function (Blueprint $table) { $table->bigIncrements('id'); + $table->morphs('resource'); $table->string('version'); $table->string('hash_name'); $table->string('origin_file')->nullable(); |