1
0
mirror of https://github.com/devfake/flox.git synced 2024-11-15 06:32:34 +01:00

prepare database for tv

This commit is contained in:
devfake 2016-11-24 11:52:10 +01:00
parent 6b84606ea4
commit 72588937a3
2 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,8 @@
'title',
'original_title',
'poster',
'media_type',
'tv_data',
'rating',
'released',
'created_at',

View File

@ -18,6 +18,8 @@ class CreateItemsTable extends Migration
$table->string('title')->index();
$table->string('original_title')->index();
$table->string('poster');
$table->string('media_type')->default('movie');
$table->longText('tv_data')->nullable();
$table->string('genre')->nullable();
$table->string('rating');
$table->integer('released');