Block version upgrading - how to run database updates

Re: Block version upgrading - how to run database updates

by Tony Delahunty -
Number of replies: 0

... now delved a bit further, and to reply to my own post, I can see that the $oldversion number is the previously read in setting from $this->version value in the block_blockname.php code; but what should the 'do something' look like, in order to execute sql insert or alters when a DB-upgraded version number is present ?

Tony