File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,20 @@ Woh! You now have a new ``src/Entity/Product.php`` file::
163
163
Confused why the price is an integer? Don't worry: this is just an example.
164
164
But, storing prices as integers (e.g. 100 = $1 USD) can avoid rounding issues.
165
165
166
+ .. note ::
167
+
168
+ If you are using an SQLite database, you'll see the following error:
169
+ *PDOException: SQLSTATE[HY000]: General error: 1 Cannot add a NOT NULL
170
+ column with default value NULL *. Add a ``nullable=true `` option to the
171
+ ``description `` property to fix the problem.
172
+
173
+ .. note ::
174
+
175
+ A bundle can accept only one metadata definition format. For example, it's
176
+ not possible to mix YAML metadata definitions with annotated PHP entity
177
+ class definitions.
178
+ >>>>>>> 3.4
179
+
166
180
.. caution ::
167
181
168
182
There is a `limit of 767 bytes for the index key prefix `_ when using
You can’t perform that action at this time.
0 commit comments