forked from Alex/Pterodactyl-Panel
1489f7a694
PufferPanel v0.9 (Laravel) is now Pterodactyl 1.0
33 lines
681 B
PHP
33 lines
681 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
class MakePermissionsTable extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
Schema::create('permissions', function (Blueprint $table) {
|
|
$table->increments('id')->unsigned();
|
|
$table->integer('user_id')->unsigned();
|
|
$table->integer('server_id')->unsigned();
|
|
$table->string('permission');
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::drop('permissions');
|
|
}
|
|
}
|