diff --git a/.editorconfig b/.editorconfig index e291365a9..198996b96 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,7 +2,7 @@ root = true [*] charset = utf-8 -indent_style = space +indent_style = tab indent_size = 4 end_of_line = lf insert_final_newline = true diff --git a/lib/Migration/Version000009Date20190625000800.php b/lib/Migration/Version000009Date20190625000800.php index 4565efa98..b148d05b6 100644 --- a/lib/Migration/Version000009Date20190625000800.php +++ b/lib/Migration/Version000009Date20190625000800.php @@ -56,7 +56,8 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt 'length' => 10, ]); $table->addColumn('looked_up', 'boolean', [ - 'notnull' => true, + 'notnull' => false, + 'default' => false, ]); $table->setPrimaryKey(['id']); $table->addIndex(['adr'], 'maps_adr'); diff --git a/lib/Migration/Version000012Date20190722184716.php b/lib/Migration/Version000012Date20190722184716.php index 8b5d64be8..ce8701373 100644 --- a/lib/Migration/Version000012Date20190722184716.php +++ b/lib/Migration/Version000012Date20190722184716.php @@ -65,7 +65,8 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt 'length' => 10, ]); $table->addColumn('looked_up', 'boolean', [ - 'notnull' => true, + 'notnull' => false, + 'default' => false, ]); $table->setPrimaryKey(['id']); $table->addIndex(['adr'], 'maps_adr');