File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,10 @@ As configured, the following property is used by the marking store::
169
169
If a ``multiple_state `` is used, the persisted state type should be an ``array ``,
170
170
using Doctrine, you can use ``json `` or ``json_array ``.
171
171
172
- If a ``single_state `` is used, the persisted state type could be a string
172
+ If a ``single_state `` is used, the persisted state type could be a string,
173
+ if you need to store an int (due to DB limitations and/or project constraints),
174
+ be aware that you need to implement :class: `Symfony\\ Component\\ Workflow\\ MarkingStore\\ MarkingStoreInterface `
175
+ in order to transform the int back to something understandable by Workflow.
173
176
174
177
If something else is used, you're in charge of choosing the best storage format.
175
178
You can’t perform that action at this time.
0 commit comments