Push some basic add server functionality

Doesn’t support adding the server, but adds improved support for
handling picking server location, node, and ip+port
This commit is contained in:
Dane Everitt 2015-12-07 00:47:19 -05:00
parent 28594cff70
commit 47235b670a
9 changed files with 344 additions and 7 deletions

View file

@ -0,0 +1,31 @@
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddAssignedTo extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('allocations', function (Blueprint $table) {
$table->mediumInteger('assigned_to')->unsigned()->nullable()->after('port');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('allocations', function (Blueprint $table) {
$table->dropColumn('assigned_to');
});
}
}