Deleting table using Doctrine2 and Symfony2

前端 未结 4 1845
悲哀的现实
悲哀的现实 2021-01-05 19:04

How can I delete table using Doctrine2 and Symfony2? I\'ve generated entities and updated schema, now I want to delete this structure.

4条回答
  •  -上瘾入骨i
    2021-01-05 19:34

    Just delete the tables which you are no longer using manually...Doctrine totally ignores unmapped tables.

提交回复
热议问题