# ---------------------------------------------------------------------- #
# Script generated with: DeZign for Databases v5.2.0                     #
# Target DBMS:           MySQL 5                                         #
# Project file:          abliaDbComuni2.dez                              #
# Project name:          DB COMUNI - ABLIA                               #
# Author:                Andrea Colzi                                    #
# Script type:           Database creation script                        #
# Created on:            2009-09-21 16.52                                #
# Model version:         Version 2009-09-21 1                            #
# ---------------------------------------------------------------------- #


# ---------------------------------------------------------------------- #
# Tables                                                                 #
# ---------------------------------------------------------------------- #

# ---------------------------------------------------------------------- #
# Add table "TEMPLATE_MSG"                                               #
# ---------------------------------------------------------------------- #

CREATE TABLE `TEMPLATE_MSG` (
    `id_templateMsg` INTEGER NOT NULL AUTO_INCREMENT,
    `descrizione` VARCHAR(60),
    `flgTipo` INTEGER,
    `messaggio` TEXT,
    CONSTRAINT `PK_TEMPLATE_MSG` PRIMARY KEY (`id_templateMsg`)
);



ALTER TABLE `TIPO_DOCUMENTO` MODIFY `codice` CHAR(5);
