How to create tables using old tables code

Jimako, Tue Dec 08 2020, 16:15

public function install_post($var)
 {

      $sql = e107::getDb();
 
       $eplug_tables = array(  ... old table array ... )

       foreach ($eplug_tables as $table_query)
	{
		e107::getDB()->gen($table_query);
	}
}