Skip to content

Commit

Permalink
Needed to fix nullable issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vsposato committed Jul 21, 2015
1 parent 69a5c99 commit 0f5b8b5
Showing 1 changed file with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,16 @@ public function up()
$table->string( 'title', 100 );
$table->boolean( 'is_warranty' );
$table->date( 'start_date' );
$table->date( 'completion_date' );
$table->decimal( 'improvement_time', 8, 2 );
$table->longText( 'notes' );
$table->decimal( 'cost', 10, 2 );
$table->dateTime( 'deleted_at' );
$table->date( 'completion_date' )
->nullable();
$table->decimal( 'improvement_time', 8, 2 )
->nullable();
$table->longText( 'notes' )
->nullable();
$table->decimal( 'cost', 10, 2 )
->nullable();
$table->dateTime( 'deleted_at' )
->nullable();
$table->timestamps();
} );
}
Expand Down

0 comments on commit 0f5b8b5

Please sign in to comment.