General developer forum

Creating a table through block/db/upgrade. Moodle 3.4+

 
Picture of Marcus Green
Re: Creating a table through block/db/upgrade. Moodle 3.4+
Core developersParticularly helpful MoodlersPlugin developersTesters

To add to Davo's comment, the XMLDB editor not only allows you to create a table, but it spits out the PHP that you can copy and paste into an upgrade.php file. I missed that feature when I first started working on it. 


 
Average of ratings: Useful (1)