
# ---------------------------------------------------------------------- #
# Alter table "ARTICOLO"                                                 #
# ---------------------------------------------------------------------- #

ALTER TABLE `ARTICOLO` DROP COLUMN `seoDesc`;

ALTER TABLE `ARTICOLO` DROP COLUMN `seoH1`;

ALTER TABLE `ARTICOLO` DROP COLUMN `seoTitle`;



ALTER TABLE `TIPO` DROP COLUMN `seoTitle`;

ALTER TABLE `TIPO` DROP COLUMN `seoDesc`;

ALTER TABLE `TIPO` DROP COLUMN `seoH1`;


ALTER TABLE `ARTICOLO` ADD COLUMN `nomeSeo` VARCHAR(30);

ALTER TABLE `ARTICOLO` ADD COLUMN `erroriSeo` VARCHAR(254);


# ---------------------------------------------------------------------- #
# Alter table "TIPO"                                                     #
# ---------------------------------------------------------------------- #

ALTER TABLE `TIPO` ADD COLUMN `flgMainPage` INTEGER;


# ---------------------------------------------------------------------- #
# Alter table "ATTIVITA"                                                 #
# ---------------------------------------------------------------------- #

ALTER TABLE `ATTIVITA` ADD COLUMN `nomeAttivitaSeo` VARCHAR(30);

UPDATE DESC_TXT_LANG SET	 campo="metaDescTemplateLeaf" where tabella ='TIPO' and campo="metaDescTemplate";


