16 lines
686 B
SQL
16 lines
686 B
SQL
-- Aggiunge tabella categorie interne per com_circolari e il campo categoria_id su #__circolari
|
|
CREATE TABLE IF NOT EXISTS `#__circolari_categorie` (
|
|
`id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
|
|
`title` VARCHAR(190) NOT NULL,
|
|
`alias` VARCHAR(190) NOT NULL DEFAULT '',
|
|
`description` TEXT DEFAULT NULL,
|
|
`state` TINYINT(1) NOT NULL DEFAULT 1,
|
|
`ordering` INT(11) NOT NULL DEFAULT 0,
|
|
`created` DATETIME NULL DEFAULT NULL,
|
|
`created_by` INT(10) UNSIGNED NULL DEFAULT NULL,
|
|
`modified` DATETIME NULL DEFAULT NULL,
|
|
`modified_by` INT(10) UNSIGNED NULL DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `idx_alias` (`alias`)
|
|
) ENGINE=InnoDB DEFAULT COLLATE=utf8mb4_unicode_ci;
|