Closed hopewise closed 8 years ago
Which version of teamwork do you use?
Can you take a look at the migration file? It should use the users
table:
Schema::table( 'users', function ( Blueprint $table ) {
$table->integer( 'current_team_id' )->unsigned()->nullable();
} );
Sorry, it turns out that Config::get( 'auth.table' ) results into blank value, as 'auth.table' is not defined in Config, I had to add \Config::set( 'auth.table', "users" ); to run the migrations..
By the way, where would I define 'auth.table' ?
Looks like your migration is from an older version of this package, which was not optimized for laravel 5.2 - there's still an open PR that I need to look at.
In the meantime you can just set it to your users table name. Probably just users
:)
Ok, thank you :+1:
I am using postgres, in the migration I got this error:
Any advice?