Skip to content

Commit 9d09fce

Browse files
committed
Add a note about a possible SQLite error
1 parent 3926224 commit 9d09fce

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doctrine.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,13 @@ directly inside the ``Product`` class via DocBlock annotations:
391391
</entity>
392392
</doctrine-mapping>
393393
394+
.. note::
395+
396+
If you are using an SQLite database, you'll see the following error:
397+
*PDOException: SQLSTATE[HY000]: General error: 1 Cannot add a NOT NULL
398+
column with default value NULL*. Add a ``nullable=true`` option to the
399+
``description`` property to fix the problem.
400+
394401
.. note::
395402

396403
A bundle can accept only one metadata definition format. For example, it's

0 commit comments

Comments
 (0)