I have a table categories
and I need to add one additional row named sort order
. Can I do this in Symfony way like doctrine:schema:update
or something like this or I need to do it in another way?
Asked
Active
Viewed 295 times
0

pogibas
- 27,303
- 19
- 84
- 117

Pawel Novikov
- 465
- 1
- 11
- 26
-
is this a custom table/entity? – Johannes Wachter Nov 09 '17 at 10:23
-
yes. there is a folder named 'project-build' with db.sql file inside which creates tables for project. – Pawel Novikov Nov 09 '17 at 10:24
-
and how will this sql file be imported? doctrine:schema:update can only handle doctrine entities – Johannes Wachter Nov 09 '17 at 10:29
-
I know it, but the question is does Sulu has something like this doctrine:schema:update to updating existing tables ? – Pawel Novikov Nov 09 '17 at 11:33
-
we dont have any built in tools for this. we relly on the tools of symfony and doctrine for this task – Johannes Wachter Nov 09 '17 at 15:09