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:
parent
0ecfb40f5e
commit
82dd7dc8e3
8 changed files with 28 additions and 12 deletions
|
@ -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');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue