PostgreSQL Support (#4486)
Co-authored-by: Matthew Penner <matthew@pterodactyl.io>
This commit is contained in:
parent
21613fa602
commit
3bf5a71802
223 changed files with 912 additions and 1052 deletions
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
|
@ -8,7 +9,7 @@ class AddNodes extends Migration
|
|||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up()
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('nodes', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
|
@ -23,7 +24,7 @@ class AddNodes extends Migration
|
|||
$table->mediumInteger('disk_overallocate')->unsigned()->nullable();
|
||||
$table->char('daemonSecret', 36)->unique();
|
||||
$table->smallInteger('daemonListen')->unsigned()->default(8080);
|
||||
$table->smallInteger('daemonSFTP')->unsgined()->default(2022);
|
||||
$table->smallInteger('daemonSFTP')->unsigned()->default(2022);
|
||||
$table->string('daemonBase')->default('/home/daemon-files');
|
||||
$table->timestamps();
|
||||
});
|
||||
|
@ -32,7 +33,7 @@ class AddNodes extends Migration
|
|||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down()
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('nodes');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue