File "2018_04_02_193232_create_estimation_method_pbc.php"

Full path: /home/qooetu/costes.qooetu.com/database/migrations/2018_04_02_193232_create_estimation_method_pbc.php
File size: 1.01 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Editor &nnbsp; Back

<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateEstimationMethodPbc extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        /*Schema::create('method_estimations', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('estimation_id')->unsigned()->nullable();
            $table->string('pbc_workitem')->nullable();
            $table->enum('method',['SimpleQuantity','ActualQuantity','StandardizedQuantity'])->nullable();
            $table->timestamps();
            $table->foreign('estimation_id')->references('id')->on('estimations')
                ->onUpdate('cascade')->onDelete('cascade');
        });*/
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('method_estimations');
    }
}