a120_struct.sql
-- app=a120
-- version=5.0
-- --------------------------------------------------
CREATE TABLE `/*db_name*/`.`/*app*/` (
`ID` smallint(5) unsigned NOT NULL auto_increment,
`IDcategory` smallint(5) unsigned NOT NULL default '0',
`IDtype` tinyint(4) unsigned NOT NULL default '0',
`nickname` varchar(50) character set utf8 collate utf8_unicode_ci NOT NULL default '',
`fullname` varchar(120) character set utf8 collate utf8_unicode_ci NOT NULL default '',
`email` varchar(60) character set ascii NOT NULL default '',
`homepage` varchar(200) character set ascii NOT NULL default '',
`is_default` char(1) character set ascii NOT NULL default 'N',
`xdata` text NOT NULL,
`active` char(1) character set ascii NOT NULL default 'N',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------
CREATE TABLE `/*db_name*/`.`/*app*/_category` (
`ID` smallint(5) unsigned NOT NULL auto_increment,
`IDre` smallint(5) unsigned NOT NULL default '0',
`name` varchar(100) character set utf8 collate utf8_unicode_ci NOT NULL default '',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------
This content is generated from file 'http://svn.cyclone3.org/trunk/frame/_addons/App/120/a120_struct.sql'

User Comments