mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-26 02:52:30 +01:00
1489f7a694
PufferPanel v0.9 (Laravel) is now Pterodactyl 1.0
33 lines
676 B
PHP
33 lines
676 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
class MakeSubusersTable extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
Schema::create('subusers', function (Blueprint $table) {
|
|
$table->increments('id')->unsigned();
|
|
$table->integer('user_id')->unsigned();
|
|
$table->integer('server_id')->unsigned();
|
|
$table->char('daemonSecret', 36);
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::drop('subusers');
|
|
}
|
|
}
|