discourse-legacysite-perl/site/slowtwitch.com/cgi-bin/articles/admin/defs/glinks_ClickTrack.def
2024-06-17 21:49:12 +10:00

73 lines
1.2 KiB
Modula-2

# Database definition file for 'glinks_ClickTrack' table
# Last updated: Fri Aug 31 13:04:08 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => '',
'cols' => {
'LinkID' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'type' => 'INT'
},
'IP' => {
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'size' => '16',
'type' => 'CHAR'
},
'ClickType' => {
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '3',
'type' => 'ENUM',
'values' => [
'Rate',
'Hits',
'Review'
]
},
'ReviewID' => {
'default' => '0',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '4',
'type' => 'INT'
},
'Created' => {
'form_size' => '20',
'form_type' => 'DATE',
'not_null' => '1',
'pos' => '5',
'type' => 'TIMESTAMP'
}
},
'fk' => {},
'fk_tables' => [],
'index' => {
'cndx' => [
'Created'
]
},
'pk' => [],
'subclass' => {
'table' => {
'glinks_ClickTrack' => 'Links::Table::ClickTrack'
}
},
'unique' => {
'ct_licr' => [
'LinkID',
'IP',
'ClickType',
'ReviewID'
]
}
};
# vim:syn=perl:ts=4:noet