Sindbad~EG File Manager

Current Path : /proc/thread-self/cwd/database/migrations/
Upload File :
Current File : //proc/thread-self/cwd/database/migrations/2023_06_20_161927_create_respostas_table.php

<?php

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

class CreateRespostasTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('respostas', function (Blueprint $table) {
            $table->id();
            $table->unsignedBigInteger('startup_id');
            $table->unsignedBigInteger('questionario_id');
            $table->decimal('estrategia', 8, 2);
            $table->decimal('pesquisa_e_desenvolvimento', 8, 2);
            $table->decimal('comercializacao', 8, 2);
            $table->decimal('gestao_de_processos', 8, 2);
            $table->decimal('clima_de_projeto', 8, 2);
            $table->decimal('cultura_da_startup', 8, 2);
            $table->decimal('indicadores_de_desempenho', 8, 2);
            $table->decimal('insercao_digital', 8, 2);
            $table->decimal('interacao_em_ecossistemas', 8, 2);
            $table->decimal('capacidade_financeira', 8, 2);
            $table->timestamps();

            $table->foreign('startup_id')->references('id')->on('startups')->onDelete('cascade');
            $table->foreign('questionario_id')->references('id')->on('questionarios')->onDelete('cascade');
        });
    }

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

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists