mirror of
https://github.com/zeropingheroes/lancache-autofill
synced 2024-11-21 23:23:03 +00:00
Merge pull request #57 from jdmcmahan/fix-unique-constraint
Use bigInteger type for app ID columns to avoid overflow
This commit is contained in:
commit
f94fcf3ae6
1 changed files with 2 additions and 2 deletions
|
@ -44,13 +44,13 @@ class InitialiseDatabase extends Command
|
|||
|
||||
$this->info('Creating empty database tables');
|
||||
Capsule::schema()->create('steam_apps', function ($table) {
|
||||
$table->integer('id')->unique();
|
||||
$table->bigInteger('id')->unique();
|
||||
$table->string('name');
|
||||
});
|
||||
|
||||
Capsule::schema()->create('steam_queue', function ($table) {
|
||||
$table->increments('id')->unique();
|
||||
$table->integer('app_id');
|
||||
$table->bigInteger('app_id');
|
||||
$table->string('status');
|
||||
$table->string('platform');
|
||||
$table->integer('popularity')->nullable()->default(1);
|
||||
|
|
Loading…
Reference in a new issue