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:
parent
6b84606ea4
commit
72588937a3
@ -17,6 +17,8 @@
|
||||
'title',
|
||||
'original_title',
|
||||
'poster',
|
||||
'media_type',
|
||||
'tv_data',
|
||||
'rating',
|
||||
'released',
|
||||
'created_at',
|
||||
|
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user