~automne-team/automne/4.1

« back to all changes in this revision

Viewing changes to automne/sql/updates/v402-to-v410-3.sql

  • Committer: sebastien
  • Date: 2010-10-13 15:57:36 UTC
  • mto: This revision was merged to the branch mainline in revision 303.
  • Revision ID: sebastien.pauchet@ws-interactive.fr-20101013155736-y74xmc1d0zb6es2l
Move directories :
/html to /automne/html
/sql to /automne/sql
/automne_bin to /automne/bin
/automne_modules_files to /files

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
ALTER TABLE  `websites` ADD  `codename_web` VARCHAR( 255 ) NOT NULL AFTER  `id_web` ;
 
2
update websites set codename_web='root' where id_web = '1';
 
3
update websites set codename_web=label_web where id_web != '1';