<install>
<sql>
<file charset="utf8" driver="mysql">install.sql</file>
</sql>
</install>
<uninstall>
<sql>
<file charset="utf8" driver="mysql">uninstall.sql</file>
</sql>
</uninstall>
install.sql:
------------------
DROP TABLE IF EXISTS `#__hello`;
CREATE TABLE `#__hello` (
`id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
`greeting` VARCHAR(25) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;
INSERT INTO `#__hello` (`greeting`) VALUES ('Hello, World!'), ('Bonjour, Monde!'), ('Ciao, Mondo!');
disclosure ->
http://docs.joomla.org/Developing_a_Model-View-Controller_Component_-_Part_3_-_Using_the_Databaseparla di componente ma dovrebbe essere la stessa cosa per i moduli (per i plugin lo è)
M