Skip to content

Commit

Permalink
Merge pull request #21 from NanoCellWebDesign/master
Browse files Browse the repository at this point in the history
Fixes SQLSTATE[HY000]: General error: 1364 Field 'permissions' doesn't have a default value.
  • Loading branch information
warrickbayman authored Aug 10, 2021
2 parents d0b5909 + 7b38e06 commit 3902cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/add_deadbolt_permissions_column.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class addDeadboltPermissionsColumn extends Migration
public function up(): void
{
Schema::table($this->table, function (Blueprint $table) {
$table->json('permissions')->after('id');
$table->json('permissions')->after('id')->nullable();
});
}

Expand Down

0 comments on commit 3902cfb

Please sign in to comment.