Skip to content

Commit

Permalink
Adopted migrations for sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
SCIF committed Jul 16, 2016
1 parent 624997f commit 51ed4ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -13,7 +13,7 @@ class AddTextHtmlToPosts extends Migration
public function up()
{
Schema::table('posts', function (Blueprint $table) {
$table->text('text_html');
$table->text('text_html')->default('');
});
}

Expand Down
Expand Up @@ -13,7 +13,7 @@ class AddAvatarToUsersTable extends Migration
public function up()
{
Schema::table('users', function (Blueprint $table) {
$table->string('avatar');
$table->string('avatar')->default('');
});
}

Expand Down

0 comments on commit 51ed4ab

Please sign in to comment.