Skip to content

Commit

Permalink
Support 5.8 fully (including for new installs) (#109)
Browse files Browse the repository at this point in the history
* Change migration from integer to bigInteger for users id

* Support 5.8 in composer.json
  • Loading branch information
ow authored and mpociot committed Aug 27, 2019
1 parent 4de34f5 commit 9142374
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"prefer-stable" : true,
"require": {
"php": ">=5.6.4",
"laravel/framework": "5.5.*|5.6.*|5.7.*"
"laravel/framework": "5.5.*|5.6.*|5.7.*|5.8.*"
},
"require-dev": {
"phpunit/phpunit": "~4.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function up()

Schema::create( \Config::get( 'teamwork.team_user_table' ), function ( Blueprint $table )
{
$table->integer( 'user_id' )->unsigned();
$table->bigInteger( 'user_id' )->unsigned();
$table->integer( 'team_id' )->unsigned();
$table->timestamps();

Expand All @@ -48,7 +48,7 @@ public function up()
Schema::create( \Config::get( 'teamwork.team_invites_table' ), function(Blueprint $table)
{
$table->increments('id');
$table->integer('user_id')->unsigned();
$table->bigInteger('user_id')->unsigned();
$table->integer('team_id')->unsigned();
$table->enum('type', ['invite', 'request']);
$table->string('email');
Expand Down

0 comments on commit 9142374

Please sign in to comment.