Skip to content

Commit

Permalink
Add default value
Browse files Browse the repository at this point in the history
  • Loading branch information
iAklis committed Aug 21, 2017
1 parent f184e33 commit a824d41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions database/migrations/2017_08_21_120744_create_team_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ public function up()
$table->string('password');
$table->dateTimeTz('signUpTime');
$table->dateTimeTz('lastLoginTime');
$table->decimal('score');
$table->boolean('banned');
$table->decimal('score')->default(0);
$table->boolean('banned')->default(0);
$table->rememberToken();
$table->timestamps();
});
Expand Down

0 comments on commit a824d41

Please sign in to comment.