Skip to content

Commit

Permalink
Add typehint to migration
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot committed May 18, 2016
1 parent 302508f commit 95c61e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/database/2016_05_18_000000_teamwork_setup_tables.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ public function up()
} );


Schema::create( \Config::get( 'teamwork.teams_table' ), function ( $table )
Schema::create( \Config::get( 'teamwork.teams_table' ), function ( Blueprint $table )
{
$table->increments( 'id' )->unsigned();
$table->integer( 'owner_id' )->unsigned()->nullable();
$table->string( 'name' );
$table->timestamps();
} );

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

0 comments on commit 95c61e8

Please sign in to comment.