Files
newznab-tmux/database/migrations/2017_10_12_124141_create_releaseextrafull_table.php
T
DariusIII f390796790 Apply fixes from StyleCI
[ci skip] [skip ci]
2017-10-12 10:55:39 +00:00

31 lines
672 B
PHP

<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateReleaseextrafullTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('releaseextrafull', function (Blueprint $table) {
$table->integer('releases_id')->unsigned()->primary()->comment('FK to releases.id');
$table->text('mediainfo', 65535)->nullable()->default('NULL');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('releaseextrafull');
}
}