OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – Programming Questions Delete entity/update database

This topic contains 3 replies, has 2 voices, and was last updated by  Jowo 9 years ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
  • #33450


    Is there ANY way, command line, manually or any other way to HARD delete an entire entity so I can re-create it?

    Right now I can “delete” it in GUI, but it is still there. I want to remove it from Doctrine AND the database completely without having to re-install entire Oro just to delete an entity.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
  • #33451


    No possible way to do this without re-installing the entire application?


    Ayushi Sangal

    Hello Jowo You can try this to delete entity form database.write following code in action nd call that action

    $em = $this->getDoctrine()->getManager();
    $sql = ‘DROP TABLE logoReference;’;
    $connection = $em->getConnection();
    $stmt = $connection->prepare($sql);



    That is just drop table? I can do that in phpmyadmin too.

    Does it delete the entity from doctrine?

Viewing 3 replies - 1 through 3 (of 3 total)

The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.

Back to top