<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateConnectionInfoTable extends Migration
{
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('connection_info', function (Blueprint $table) {
$table->increments('id');
$table->string('ip');
$table->integer('port')->unsigned();
$table->string('password');
$table->integer('added_by')->unsigned();
$table->timestamps();
});
}
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('connection_info');
}
}