HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.0.30
System: Linux multiplicar 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64
User: root (0)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /var/www/html/edd.sumar.com.py/database/migrations/2021_05_29_141714_create_interrogantes_table.php
<?php

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

class CreateInterrogantesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('interrogantes', function (Blueprint $table) {
            $table->id();

            $table->longText('int_nom');
            $table->boolean('int_tipo');
            $table->boolean('int_ubicacion');
            $table->integer('int_nr')->nullable();
            $table->integer('int_inicio')->nullable();
            $table->integer('int_fin')->nullable();
            $table->string('int_opcion1')->nullable();
            $table->double('int_opcion1_punto')->nullable();
            $table->string('int_opcion2')->nullable();
            $table->double('int_opcion2_punto')->nullable();
            $table->string('int_opcion3')->nullable();
            $table->double('int_opcion3_punto')->nullable();
            $table->string('int_opcion4')->nullable();
            $table->double('int_opcion4_punto')->nullable();
            $table->string('int_opcion5')->nullable();
            $table->double('int_opcion5_punto')->nullable();
            $table->string('int_opcion6')->nullable();
            $table->double('int_opcion6_punto')->nullable();
            $table->string('int_opcion7')->nullable();
            $table->double('int_opcion7_punto')->nullable();
            $table->string('int_opcion8')->nullable();
            $table->double('int_opcion8_punto')->nullable();
            $table->string('int_opcion9')->nullable();
            $table->double('int_opcion9_punto')->nullable();
            $table->string('int_opcion10')->nullable();
            $table->double('int_opcion10_punto')->nullable();
            $table->boolean('int_estado')->default(1);

            $table->unsignedBigInteger('competencia_id');
            $table->foreign('competencia_id')->references('id')->on('competencias');

            $table->timestamps();
        });
    }

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