for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateH5pLibrariesCachedassetsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
Schema::create('h5p_libraries_cachedassets', function (Blueprint $table) {
$table->bigInteger('library_id')->unsigned();
$table->string('hash', 64);
$table->primary(['library_id', 'hash'], 'fk_primary');
});
}
* Reverse the migrations.
public function down()
Schema::drop('h5p_libraries_cachedassets');