Beispiel #1
0
 /**
  * Méthode static de création de la table d'upload
  * @param String $pApplication [optional] Nom de l'application sur laquelle on souhaite ajouter la table
  * @return resource
  */
 public static function create($pApplication = "main")
 {
     return Query::create($pApplication . "_upload", "MyISAM")->addField("id_upload", "int", "11", "", false, true)->addField("path_upload", "varchar", "255")->execute();
 }