====== Installation ====== Le fichier **mymodule/mymodule.install** contient 4 hooks exécuté lorsque le module est installé ou désinstallé. * **mymodule_schema()** * **mymodule_install()** * **mymodule_uninstall()** * **mymodule_update_N()** 'Description de la table 1', 'fields' => [ 'id' => [ 'description' => 'ID', 'type' => 'serial', 'unsigned' => True, 'not null' => True, ], ... ... ], 'primary key' => ['id'], 'indexes' => [ 'index1' => ['champ1', 'champ2'], 'index2' => [...], ], ]; $schema['table2'] = [ ... ... ... ]; return $schema; }