mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Allow Null = 0
Allow Value to be nullable, will autofill 0 if value is null or 0, to facilitate "unlimited" connections.
This commit is contained in:
@@ -14,7 +14,7 @@ class AddMaxConnectionsColumnToDatabasesTable extends Migration
|
||||
public function up()
|
||||
{
|
||||
Schema::table('databases', function (Blueprint $table) {
|
||||
$table->integer('max_connections')->nullable(false)->default(0)->after('password');
|
||||
$table->integer('max_connections')->nullable()->default(0)->after('password');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user