[ Index ] |
|
Code source de SPIP Agora 1.4 |
1 [action] 2 ALTER TABLE spip_articles ADD version_id integer; 3 [action] 4 ALTER TABLE spip_articles ADD activer_historique varchar(3) ; 5 [action] 6 ALTER TABLE spip_articles ALTER activer_historique SET DEFAULT 'non' ; 7 [action] 8 UPDATE spip_articles SET activer_historique = 'non' ; 9 [action] 10 ALTER TABLE spip_articles ALTER activer_historique SET NOT NULL ; 11 [action] 12 CREATE INDEX articles_index ON spip_articles USING btree (version_id); 13 [action] 14 CREATE TABLE spip_articles_historique ( 15 id_article_historique bigint NOT NULL default '0', 16 id_article bigint NOT NULL default '0', 17 surtitre text NOT NULL, 18 titre text NOT NULL, 19 soustitre text NOT NULL, 20 descriptif text NOT NULL, 21 chapo text NOT NULL, 22 texte text NOT NULL, 23 ps text NOT NULL, 24 date_heure varchar(19) NOT NULL default '0000-00-00 00:00:00', 25 extra text NOT NULL, 26 PRIMARY KEY (id_article_historique) 27 );
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 14:40:03 2007 | par Balluche grâce à PHPXref 0.7 |