Whats this? We can add new servers now?!
This commit is contained in:
parent
6289e7ae8d
commit
264431a271
10 changed files with 214 additions and 85 deletions
|
@ -0,0 +1,36 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class RemoveDaemonTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::dropIfExists('daemon');
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::create('daemon', function (Blueprint $table) {
|
||||
$table->increments('id')->unsigned();
|
||||
$table->mediumInteger('server')->unsigned();
|
||||
$table->string('parameter');
|
||||
$table->text('value');
|
||||
$table->tinyInteger('editable')->unsigned()->default(0);
|
||||
$table->tinyInteger('visible')->unsigned()->default(0);
|
||||
$table->text('regex')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue