Seed data into DB upon extension installation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rabii
    Active Community Member
    • Jun 2016
    • 1257

    Seed data into DB upon extension installation

    i am working on an extension and i need to be able to seed database with some record upon extension installation. what is the best way to seed data into database ?

    Thanks
    Rabii
    Web Dev
  • item
    Active Community Member
    • Mar 2017
    • 1484

    #2
    Hi Rabii,
    if i have understand,
    if you have advanced pack, look into : AfterInstall.php


    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    Working...