Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create('uploadfile_files', function(Blueprint $table) { |
||
17 | $table->bigIncrements('id'); |
||
18 | $table->string('title'); |
||
19 | $table->text('description')->nullable(); |
||
20 | $table->string('filename'); |
||
21 | $table->string('mime'); |
||
22 | $table->string('path'); |
||
23 | $table->integer('size'); |
||
24 | $table->unsignedInteger('uploaded_by'); |
||
25 | $table->unsignedInteger('module_instance_id'); |
||
26 | $table->unsignedInteger('activity_instance_id'); |
||
27 | $table->timestamps(); |
||
28 | $table->softDeletes(); |
||
29 | }); |
||
44 |