MINI Sh3ll
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRegisterApi extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('register_api', function (Blueprint $table) {
$table->increments('id');
$table->string('name',500);
$table->string('qid');
$table->unsignedTinyInteger('plot_type')->comment('1=Graph,2=Numeric');
$table->unsignedTinyInteger('graph_duration');
$table->string('service_id')->comment('Column Name which contains service id in response');
$table->string('x_value')->comment('Column Name which contains x co-ordinates in response');
$table->string('y_value')->comment('Column Name which contains y co-ordinates in response');
$table->timestamps();
$table->softDeletes();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('register_api');
}
}
OHA YOOOO