Code to create table automatically in database when activating custom plugin

  1. 2 weeks ago

    I have a custom plugin and I want to know how to achieve this when I will activate a plugin it should create a table automatically in the database.
    Any help would be great.
    Thanks in advance.

 

or Sign Up to reply!