PATH:
home
/
lab2454c
/
crypto.keyreum.com
/
platform
/
packages
/
slug
/
database
/
migrations
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateSlugTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('slugs', function (Blueprint $table) { $table->id(); $table->string('key', 255); $table->integer('reference_id')->unsigned(); $table->string('reference_type', 255); $table->string('prefix', 120)->nullable()->default(''); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('slugs'); } }
[+]
..
[-] 2017_11_03_070450_create_slug_table.php
[edit]