Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class CreateFfmpegQueueTable extends Migration |
||
9 | { |
||
10 | public function up() |
||
11 | { |
||
12 | Schema::create(Larupload::FFMPEG_QUEUE_TABLE, function(Blueprint $table) { |
||
13 | $table->increments('id'); |
||
14 | $table->unsignedInteger('record_id'); |
||
15 | $table->string('record_class', 50); |
||
16 | $table->boolean('status')->default(0); |
||
17 | $table->text('message')->nullable(); |
||
18 | |||
19 | $table->timestamp('created_at')->nullable(); |
||
20 | $table->timestamp('started_at')->nullable(); |
||
21 | $table->timestamp('finished_at')->nullable(); |
||
22 | }); |
||
23 | } |
||
24 | |||
25 | public function down() |
||
28 | } |
||
29 | } |
||
30 |