Skip to content

Instantly share code, notes, and snippets.

@metaperl
Created August 24, 2009 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save metaperl/174137 to your computer and use it in GitHub Desktop.
Save metaperl/174137 to your computer and use it in GitHub Desktop.
CREATE TABLE IF NOT EXISTS `agent_filter` (
`id` int(10) unsigned NOT NULL auto_increment,
`people_id` int(10) unsigned NOT NULL default '0',
`filter_set_id` int(10) unsigned NOT NULL default '0',
`filter_id` int(10) unsigned NOT NULL default '0',
`operator` enum('eq','ne','ge','le','nop') NOT NULL,
`value` varchar(32) NOT NULL default '',
`created_stamp` timestamp NOT NULL default CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
KEY `people_id` (`people_id`),
KEY `filter_set_id` (`filter_set_id`),
KEY `filter_id` (`filter_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=38339 ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment