Вход Регистрация
Файл: database/migrations/2018_04_24_124715_create_mobs_temp_table.php
Строк: 26
<?php

use IlluminateSupportFacadesSchema;
use 
IlluminateDatabaseSchemaBlueprint;
use 
IlluminateDatabaseMigrationsMigration;

class 
CreateMobsTempTable extends Migration
{
    
/**
     * Run the migrations.
     *
     * @return void
     */
    
public function up()
    {
        
Schema::create('mobs_temp', function (Blueprint $table) {
            
$table->increments('id');
            
$table->integer('user');
            
$table->string('status')->default('prepare');
            
$table->text('myStats');
            
$table->text('mobStats');
            
$table->timestamps();
        });
    }

    
/**
     * Reverse the migrations.
     *
     * @return void
     */
    
public function down()
    {
        
Schema::dropIfExists('mobs_temp');
    }
}
Онлайн: 0
Реклама