• [^] # Re: Et la démo ?

    Posté par . En réponse au journal Auxrames : Outil de gestion d'équipe. Évalué à 1.

    Faut vraiment que je détaille ça sur le site, désolé.
    SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

    CREATE TABLE IF NOT EXISTS `tasks` (
    `id` int(11) NOT NULL auto_increment,
    `name` text NOT NULL,
    `manager` int(11) NOT NULL,
    `idProject` int(11) NOT NULL,
    `idUser` int(11) NOT NULL,
    `startDate` datetime NOT NULL,
    `stopDate` datetime NOT NULL,
    `holidays` tinyint(1) NOT NULL,
    `workload` int(11) NOT NULL default '0',
    PRIMARY KEY (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1;


    CREATE TABLE IF NOT EXISTS `users` (
    `id` int(11) NOT NULL auto_increment,
    `name` text NOT NULL,
    `display` tinyint(1) NOT NULL default '0',
    `location` int(1) NOT NULL default '1',
    PRIMARY KEY (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1;