diff options
author | Tortue Torche <tortuetorche@users.noreply.github.com> | 2019-12-10 16:49:14 +0300 |
---|---|---|
committer | Tortue Torche <tortuetorche@users.noreply.github.com> | 2019-12-10 17:03:55 +0300 |
commit | 78cd4648cbd961b8937a68f109513569969f4a12 (patch) | |
tree | 1c2f28c6d423faa95fbab502e0efa0ef88af2fd7 /lib/Migration | |
parent | c6fe4082c2fde0ba8dc0d1cad8f5f5c7361b1c18 (diff) |
The 'delete_date' column in 'polls_events' table could be null.
Fix PostgreSQL and SQLite tests.
Signed-off-by: Tortue Torche <tortuetorche@users.noreply.github.com>
Diffstat (limited to 'lib/Migration')
-rw-r--r-- | lib/Migration/Version0010Date20190801063812.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Migration/Version0010Date20190801063812.php b/lib/Migration/Version0010Date20190801063812.php index 1901d64d..e90dc899 100644 --- a/lib/Migration/Version0010Date20190801063812.php +++ b/lib/Migration/Version0010Date20190801063812.php @@ -76,7 +76,7 @@ class Version0010Date20190801063812 extends SimpleMigrationStep { } if (!$table->hasColumn('delete_date')) { $table->addColumn('delete_date', Type::DATETIME, [ - 'notnull' => true + 'notnull' => false ]); } if (!$table->hasColumn('vote_limit')) { |