allow null/false value for boolean field
This commit is contained in:
parent
5d63922e7c
commit
932fb8cd46
@ -25,7 +25,7 @@ class Version0002Date20210524131313 extends \OCP\Migration\SimpleMigrationStep {
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
$table->addColumn('subscribed', Types::BOOLEAN, [
|
$table->addColumn('subscribed', Types::BOOLEAN, [
|
||||||
'notnull' => true,
|
'notnull' => false,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$table->addColumn('updated', Types::DATETIME_MUTABLE, [
|
$table->addColumn('updated', Types::DATETIME_MUTABLE, [
|
||||||
|
Loading…
Reference in New Issue
Block a user