CREATE TABLE IF NOT EXISTS `#__advpopup_popups` (
	`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
	`title` varchar(250) NOT NULL DEFAULT '',
	`checked_out` int(10) NOT NULL DEFAULT '0',
	`checked_out_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
	`ordering` int(10) NOT NULL DEFAULT '0',
	`access` int(10) NOT NULL DEFAULT '1',
	`language` char(7) NOT NULL DEFAULT '',
	`created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
	`created_by` int(10) unsigned NOT NULL DEFAULT '0',
	`created_by_alias` varchar(255) NOT NULL DEFAULT '',
	`modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
	`modified_by` int(10) unsigned NOT NULL DEFAULT '0',
	`params` text NOT NULL,
	`data` text NOT NULL,
	PRIMARY KEY (`id`),
	KEY `idx_access` (`access`),
	KEY `idx_checkout` (`checked_out`),
	KEY `idx_createdby` (`created_by`),
	KEY `idx_language` (`language`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8;

