Custom table in database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MaxDau
    Member
    • Nov 2022
    • 38

    Custom table in database

    Is it possible to create an additional table in the database or is there a risk that the table will be deleted during an update or rebuild?
  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    As nobody have respond, i. will try :

    no, no issue in upgrade..
    but you can not use ORM or any other (certainly 100%) EspoCrm function to access to this table.

    But maybe, https://docs.espocrm.com/administrat.../#hard-rebuild can delete table.. (not verified the command code), but hard-rebuild is not for everyone to use as advice by Yuri.
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    • a.slyzhko
      Member
      • Oct 2023
      • 90

      #3
      I use custom table and retrieve data with sqlExecutor by running plain sql. No issues for about a month since I implemented this logic.

      Comment

      • yuri
        Member
        • Mar 2014
        • 8440

        #4
        Tables are not removed on hard rebuild, as stated in the docs.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        Working...