First pass at adding key files

This commit is contained in:
dsainty
2024-06-17 21:49:12 +10:00
commit aa25e9347f
1274 changed files with 392549 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# Database access & configuration file
# Last updated: Fri Aug 31 13:04:07 2007
# Created by GT::SQL $Revision: 1.111 $
{
'PREFIX' => 'glinks_',
'PrintError' => '0',
'RaiseError' => '0',
'database' => 'slowtwitch',
'def_path' => '/var/home/slowtwitch/slowtwitch.com/cgi-bin/articles/admin/defs',
'driver' => 'mysql',
'host' => '192.168.1.10',
'login' => 'slowtwitch',
'obj_cache' => '1',
'password' => 'k9volqlAcpq',
'port' => undef
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,74 @@
# Database definition file for 'glinks_Bookmark_Folders' table
# Last updated: Fri Aug 31 13:04:08 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => 'my_folder_id',
'cols' => {
'my_folder_id' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'type' => 'INT',
'unsigned' => '1'
},
'my_folder_name' => {
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'size' => '255',
'type' => 'VARCHAR'
},
'my_folder_description' => {
'form_size' => '20',
'form_type' => 'TEXT',
'pos' => '3',
'size' => '255',
'type' => 'VARCHAR'
},
'my_folder_user_username_fk' => {
'form_size' => '20',
'form_type' => 'TEXT',
'pos' => '4',
'size' => '50',
'type' => 'VARCHAR'
},
'my_folder_default' => {
'default' => '0',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '5',
'type' => 'TINYINT',
'unsigned' => '1'
},
'my_folder_public' => {
'default' => '0',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '6',
'type' => 'TINYINT',
'unsigned' => '1'
}
},
'fk' => {
'glinks_Users' => {
'my_folder_user_username_fk' => 'Username'
}
},
'fk_tables' => [
'glinks_Bookmark_Links'
],
'index' => {},
'pk' => [
'my_folder_id'
],
'subclass' => {
'table' => {}
},
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,66 @@
# Database definition file for 'glinks_Bookmark_Links' table
# Last updated: Fri Aug 31 13:04:08 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => 'my_id',
'cols' => {
'my_id' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'type' => 'INT',
'unsigned' => '1'
},
'my_link_id_fk' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'type' => 'INT',
'unsigned' => '1'
},
'my_user_username_fk' => {
'form_size' => '20',
'form_type' => 'TEXT',
'pos' => '3',
'size' => '50',
'type' => 'VARCHAR'
},
'my_folder_id_fk' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '4',
'type' => 'INT',
'unsigned' => '1'
},
'my_comment' => {
'form_size' => '20',
'form_type' => 'TEXT',
'pos' => '5',
'size' => '255',
'type' => 'VARCHAR'
}
},
'fk' => {
'glinks_Bookmark_Folders' => {
'my_folder_id_fk' => 'my_folder_id'
},
'glinks_Links' => {
'my_link_id_fk' => 'ID'
},
'glinks_Users' => {
'my_user_username_fk' => 'Username'
}
},
'fk_tables' => [],
'index' => {},
'pk' => [
'my_id'
],
'subclass' => {},
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,52 @@
# Database definition file for 'glinks_CatLinks' 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',
'unsigned' => '1'
},
'CategoryID' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'type' => 'INT',
'unsigned' => '1'
}
},
'fk' => {
'glinks_Category' => {
'CategoryID' => 'ID'
},
'glinks_Links' => {
'LinkID' => 'ID'
}
},
'fk_tables' => [],
'index' => {
'lndx' => [
'LinkID'
]
},
'pk' => [],
'subclass' => {
'table' => {
'glinks_CatLinks' => 'Links::Table::CatLinks'
}
},
'unique' => {
'cl_cl_q' => [
'CategoryID',
'LinkID'
]
}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,67 @@
# Database definition file for 'glinks_CatPrice' table
# Last updated: Fri Aug 31 13:04:07 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => 'cp_id',
'cols' => {
'cp_id' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'type' => 'INT',
'unsigned' => '1'
},
'cp_cat_id_fk' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'type' => 'INT',
'unsigned' => '1'
},
'cp_term' => {
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '3',
'size' => '10',
'type' => 'CHAR'
},
'cp_cost' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '4',
'type' => 'DOUBLE'
},
'cp_type' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '5',
'type' => 'TINYINT',
'unsigned' => '1'
},
'cp_description' => {
'form_size' => '30',
'form_type' => 'TEXTAREA',
'pos' => '6',
'type' => 'TEXT'
}
},
'fk' => {
'glinks_Category' => {
'cp_cat_id_fk' => 'ID'
}
},
'fk_tables' => [],
'index' => {},
'pk' => [
'cp_id'
],
'subclass' => {},
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,48 @@
# Database definition file for 'glinks_CatRelations' table
# Last updated: Fri Aug 31 13:04:08 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => '',
'cols' => {
'CategoryID' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'type' => 'INT',
'unsigned' => '1'
},
'RelatedID' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'type' => 'INT',
'unsigned' => '1'
},
'RelationName' => {
'form_size' => '20',
'form_type' => 'TEXT',
'pos' => '3',
'size' => '255',
'type' => 'VARCHAR'
}
},
'fk' => {
'glinks_Category' => {
'CategoryID' => 'ID',
'RelatedID' => 'ID'
}
},
'fk_tables' => [],
'index' => {
'catid' => [
'CategoryID'
]
},
'pk' => [],
'subclass' => {},
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,264 @@
# Database definition file for 'glinks_Category' table
# Last updated: Sun Jun 10 22:17:08 2012
# Created by GT::SQL::Table $Revision: 1.274 $
{
'ai' => 'ID',
'cols' => {
'ID' => {
'form_display' => 'ID',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'type' => 'INT',
'unsigned' => '1'
},
'Name' => {
'form_display' => 'Name',
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'regex' => '^[^/]+$',
'size' => '255',
'type' => 'VARCHAR',
'weight' => '3'
},
'FatherID' => {
'default' => '0',
'form_display' => 'Parent Category ID',
'form_size' => '1',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '3',
'type' => 'INT',
'unsigned' => '1'
},
'CatRoot' => {
'default' => '0',
'form_size' => '10',
'form_type' => 'hidden',
'not_null' => '1',
'pos' => '4',
'type' => 'INT',
'unsigned' => '1'
},
'CatDepth' => {
'default' => '0',
'form_size' => '10',
'form_type' => 'hidden',
'not_null' => '1',
'pos' => '5',
'type' => 'INT',
'unsigned' => '1'
},
'Full_Name' => {
'form_display' => 'Full Name',
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '6',
'size' => '255',
'type' => 'VARCHAR'
},
'Description' => {
'form_display' => 'Description',
'form_size' => '30',
'form_type' => 'TEXTAREA',
'pos' => '7',
'type' => 'LONGTEXT',
'weight' => '1'
},
'Meta_Description' => {
'form_display' => 'Meta Description',
'form_size' => '30',
'form_type' => 'TEXTAREA',
'pos' => '8',
'type' => 'LONGTEXT'
},
'Meta_Keywords' => {
'form_display' => 'Meta Keywords',
'form_size' => '30',
'form_type' => 'TEXTAREA',
'pos' => '9',
'type' => 'LONGTEXT'
},
'Header' => {
'form_display' => 'Header',
'form_size' => '30',
'form_type' => 'TEXTAREA',
'pos' => '10',
'type' => 'LONGTEXT'
},
'Footer' => {
'form_display' => 'Footer',
'form_size' => '30',
'form_type' => 'TEXTAREA',
'pos' => '11',
'type' => 'LONGTEXT'
},
'Category_Template' => {
'form_display' => 'Category Template',
'form_size' => '20',
'form_type' => 'TEXT',
'pos' => '12',
'size' => '20',
'type' => 'VARCHAR'
},
'Number_of_Links' => {
'default' => '0',
'form_display' => 'Number of Links',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '13',
'type' => 'INT'
},
'Direct_Links' => {
'default' => '0',
'form_display' => 'Links (without subcats)',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '14',
'type' => 'INT'
},
'Has_New_Links' => {
'default' => 'No',
'form_display' => 'Has New Links',
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '15',
'type' => 'ENUM',
'values' => [
'No',
'Yes'
]
},
'Has_Changed_Links' => {
'default' => 'No',
'form_display' => 'Has Changed Links',
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '16',
'type' => 'ENUM',
'values' => [
'No',
'Yes'
]
},
'Newest_Link' => {
'form_display' => 'Newest Link',
'form_size' => '20',
'form_type' => 'DATE',
'pos' => '17',
'type' => 'DATE'
},
'Timestmp' => {
'default' => 'CURRENT_TIMESTAMP',
'form_display' => 'Timestamp',
'form_size' => '20',
'form_type' => 'DATE',
'pos' => '18',
'time_check' => '1',
'type' => 'TIMESTAMP'
},
'Payment_Mode' => {
'default' => '0',
'form_display' => 'Payment Mode',
'form_names' => [
'0',
'1',
'2',
'3'
],
'form_size' => '1',
'form_type' => 'SELECT',
'form_values' => [
'Use global settings',
'Not accepted',
'Optional',
'Required'
],
'not_null' => '1',
'pos' => '19',
'type' => 'TINYINT'
},
'Payment_Description' => {
'form_display' => 'Payment Description',
'form_size' => '30',
'form_type' => 'TEXTAREA',
'pos' => '20',
'type' => 'LONGTEXT'
},
'Cat_Pos' => {
'pos' => '21',
'type' => 'INT'
},
'Featured_Links' => {
'file_max_size' => '',
'file_save_in' => '',
'file_save_scheme' => 'HASHED',
'file_save_url' => '',
'form_display' => 'Featured Links',
'form_size' => [
'50',
'6'
],
'form_type' => 'TEXTAREA',
'not_null' => '0',
'pos' => '22',
'regex' => '',
'size' => '255',
'type' => 'VARCHAR',
'weight' => ''
}
},
'fk' => {
'glinks_Category' => {
'FatherID' => 'ID'
}
},
'fk_tables' => [
'glinks_Category_tree',
'glinks_Category',
'glinks_CatPrice',
'glinks_CatLinks',
'glinks_CatRelations',
'glinks_Editors',
'glinks_NewsletterSubscription'
],
'index' => {
'c_p' => [
'Payment_Mode'
],
'catndx' => [
'Name'
],
'fthrindex' => [
'FatherID'
],
'namndx' => [
'Full_Name'
],
'rootndx' => [
'CatRoot'
]
},
'pk' => [
'ID'
],
'subclass' => {
'html' => {
'glinks_Category' => 'Links::HTML::Category'
},
'relation' => {},
'table' => {
'glinks_Category' => 'Links::Table::Category'
}
},
'tree' => '1',
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,53 @@
# Database definition file for 'glinks_Changes' table
# Last updated: Fri Aug 31 13:04:07 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => '',
'cols' => {
'LinkID' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'regex' => '^\d+$',
'type' => 'INT',
'unsigned' => '1'
},
'Username' => {
'default' => 'admin',
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'size' => '50',
'type' => 'CHAR'
},
'ChgRequest' => {
'form_size' => '30',
'form_type' => 'TEXTAREA',
'pos' => '3',
'type' => 'TEXT'
},
'Timestmp' => {
'form_size' => '20',
'form_type' => 'DATE',
'pos' => '4',
'type' => 'TIMESTAMP'
}
},
'fk' => {
'glinks_Links' => {
'LinkID' => 'ID'
},
'glinks_Users' => {
'Username' => 'Username'
}
},
'fk_tables' => [],
'index' => {},
'pk' => [],
'subclass' => {},
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,72 @@
# 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

View File

@ -0,0 +1,51 @@
# Database definition file for 'glinks_ClickTrack_Custom' table
# Last updated: Tue Sep 4 14:44:33 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => 'click_id',
'cols' => {
'click_id' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'type' => 'INT'
},
'click_date' => {
'form_size' => '20',
'form_type' => 'DATE',
'not_null' => '1',
'pos' => '2',
'type' => 'Date'
},
'click_linkid' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '3',
'type' => 'INT'
},
'click_from' => {
'form_size' => '15',
'form_type' => 'TEXT',
'not_null' => '0',
'pos' => '4',
'size' => '10',
'type' => 'CHAR'
}
},
'fk' => {
'glinks_Links' => {
'click_linkid' => 'ID'
}
},
'fk_tables' => [],
'index' => {},
'pk' => [
'click_id'
],
'subclass' => {},
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,187 @@
# Database definition file for 'glinks_Editors' table
# Last updated: Fri Aug 31 13:04:08 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => '',
'cols' => {
'Username' => {
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'size' => '50',
'type' => 'CHAR'
},
'CategoryID' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'type' => 'INT',
'unsigned' => '1'
},
'CanAddCat' => {
'default' => 'No',
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '3',
'type' => 'ENUM',
'values' => [
'No',
'Yes'
]
},
'CanModCat' => {
'default' => 'No',
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '4',
'type' => 'ENUM',
'values' => [
'No',
'Yes'
]
},
'CanDelCat' => {
'default' => 'No',
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '5',
'type' => 'ENUM',
'values' => [
'No',
'Yes'
]
},
'CanMoveCat' => {
'default' => 'No',
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '6',
'type' => 'ENUM',
'values' => [
'No',
'Yes'
]
},
'CanAddLink' => {
'default' => 'No',
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '7',
'type' => 'ENUM',
'values' => [
'No',
'Yes'
]
},
'CanDelLink' => {
'default' => 'No',
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '8',
'type' => 'ENUM',
'values' => [
'No',
'Yes'
]
},
'CanModLink' => {
'default' => 'No',
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '9',
'type' => 'ENUM',
'values' => [
'No',
'Yes'
]
},
'CanCopyLink' => {
'default' => 'No',
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '10',
'type' => 'ENUM',
'values' => [
'No',
'Yes'
]
},
'CanMoveLink' => {
'default' => 'No',
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '11',
'type' => 'ENUM',
'values' => [
'No',
'Yes'
]
},
'CanValLink' => {
'default' => 'No',
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '12',
'type' => 'ENUM',
'values' => [
'No',
'Yes'
]
},
'CanModReview' => {
'default' => 'No',
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '13',
'type' => 'ENUM',
'values' => [
'No',
'Yes'
]
},
'CanAddRel' => {
'default' => 'No',
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '14',
'type' => 'ENUM',
'values' => [
'No',
'Yes'
]
},
'CanAddEdit' => {
'default' => 'No',
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '15',
'type' => 'ENUM',
'values' => [
'No',
'Yes'
]
}
},
'fk' => {
'glinks_Category' => {
'CategoryID' => 'ID'
},
'glinks_Users' => {
'Username' => 'Username'
}
},
'fk_tables' => [],
'index' => {},
'pk' => [],
'subclass' => {},
'unique' => {
'edituserndx' => [
'Username',
'CategoryID'
]
}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,57 @@
# Database definition file for 'glinks_EmailMailings' table
# Last updated: Fri Aug 31 13:04:08 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => 'ID',
'cols' => {
'ID' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'type' => 'INT',
'unsigned' => '1'
},
'Mailing' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'type' => 'INT',
'unsigned' => '1'
},
'Email' => {
'form_size' => '30',
'form_type' => 'TEXTAREA',
'not_null' => '1',
'pos' => '3',
'size' => '75',
'type' => 'TEXT'
},
'Sent' => {
'default' => '0',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '4',
'type' => 'TINYINT'
},
'LinkID' => {
'form_size' => '10',
'form_type' => 'TEXT',
'pos' => '5',
'type' => 'INT',
'unsigned' => '1'
}
},
'fk' => {},
'fk_tables' => [],
'index' => {},
'pk' => [
'ID'
],
'subclass' => {},
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,73 @@
# Database definition file for 'glinks_EmailTemplates' table
# Last updated: Fri Aug 31 13:04:08 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => '',
'cols' => {
'Name' => {
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'regex' => '\S',
'size' => '50',
'type' => 'CHAR'
},
'MsgFrom' => {
'form_size' => '30',
'form_type' => 'TEXTAREA',
'not_null' => '1',
'pos' => '2',
'regex' => '\A(?:\S+\@[a-zA-Z0-9][a-zA-Z0-9-]*(?:\.[a-zA-Z0-9][a-zA-Z0-9-]*)+)\Z',
'type' => 'TEXT'
},
'MsgFromName' => {
'form_size' => '30',
'form_type' => 'TEXTAREA',
'not_null' => '1',
'pos' => '3',
'type' => 'TEXT'
},
'Subject' => {
'form_size' => '30',
'form_type' => 'TEXTAREA',
'not_null' => '1',
'pos' => '4',
'type' => 'TEXT'
},
'Message' => {
'form_size' => '30',
'form_type' => 'TEXTAREA',
'not_null' => '1',
'pos' => '5',
'type' => 'MEDIUMTEXT'
},
'MessageFormat' => {
'default' => 'text',
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '6',
'type' => 'ENUM',
'values' => [
'text',
'html'
]
},
'LinkTemplate' => {
'form_size' => '30',
'form_type' => 'TEXTAREA',
'pos' => '7',
'type' => 'MEDIUMTEXT'
}
},
'fk' => {},
'fk_tables' => [],
'index' => {},
'pk' => [
'Name'
],
'subclass' => {},
'unique' => {}
};
# vim:syn=perl:ts=4:noet

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,85 @@
# Database definition file for 'glinks_Links_Files' table
# Last updated: Tue Sep 4 09:35:44 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => 'ID',
'cols' => {
'ID' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'regex' => '^\d+$',
'type' => 'INT',
'unsigned' => '1'
},
'ForeignColName' => {
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'size' => '50',
'type' => 'VARCHAR'
},
'ForeignColKey' => {
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '3',
'size' => '50',
'type' => 'VARCHAR'
},
'File_Name' => {
'form_size' => '20',
'form_type' => 'TEXT',
'pos' => '4',
'size' => '255',
'type' => 'VARCHAR'
},
'File_Directory' => {
'form_size' => '20',
'form_type' => 'TEXT',
'pos' => '5',
'size' => '255',
'type' => 'VARCHAR'
},
'File_MimeType' => {
'form_size' => '20',
'form_type' => 'TEXT',
'pos' => '6',
'size' => '50',
'type' => 'VARCHAR'
},
'File_Size' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '7',
'regex' => '^\d+$',
'type' => 'INT',
'unsigned' => '1'
},
'File_URL' => {
'form_size' => '20',
'form_type' => 'TEXT',
'pos' => '8',
'size' => '255',
'type' => 'VARCHAR'
}
},
'fk' => {},
'fk_tables' => [],
'index' => {
'fk_lookup' => [
'ForeignColName',
'ForeignColKey'
]
},
'pk' => [
'ID'
],
'subclass' => {},
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,78 @@
# Database definition file for 'glinks_MailingIndex' table
# Last updated: Fri Aug 31 13:04:08 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => 'Mailing',
'cols' => {
'Mailing' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'type' => 'INT',
'unsigned' => '1'
},
'extra' => {
'form_size' => '30',
'form_type' => 'TEXTAREA',
'not_null' => '1',
'pos' => '2',
'type' => 'TINYTEXT'
},
'done' => {
'form_size' => '10',
'form_type' => 'TEXT',
'pos' => '3',
'type' => 'INT'
},
'mailfrom' => {
'form_size' => '30',
'form_type' => 'TEXTAREA',
'not_null' => '1',
'pos' => '4',
'type' => 'TEXT'
},
'name' => {
'form_size' => '30',
'form_type' => 'TEXTAREA',
'not_null' => '1',
'pos' => '5',
'type' => 'TEXT'
},
'subject' => {
'form_size' => '30',
'form_type' => 'TEXTAREA',
'not_null' => '1',
'pos' => '6',
'type' => 'TEXT'
},
'message' => {
'form_size' => '30',
'form_type' => 'TEXTAREA',
'not_null' => '1',
'pos' => '7',
'type' => 'MEDIUMTEXT'
},
'messageformat' => {
'default' => 'text',
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '8',
'type' => 'ENUM',
'values' => [
'text',
'html'
]
}
},
'fk' => {},
'fk_tables' => [],
'index' => {},
'pk' => [
'Mailing'
],
'subclass' => {},
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,35 @@
# Database definition file for 'glinks_MailingList' table
# Last updated: Fri Aug 31 13:04:08 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => '',
'cols' => {
'ID' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'type' => 'INT'
},
'Email' => {
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'size' => '255',
'type' => 'CHAR'
}
},
'fk' => {},
'fk_tables' => [],
'index' => {
'maillistndx' => [
'Email'
]
},
'pk' => [],
'subclass' => {},
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,48 @@
# Database definition file for 'glinks_MailingListIndex' table
# Last updated: Fri Aug 31 13:04:08 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => 'ID',
'cols' => {
'ID' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'type' => 'INT',
'unsigned' => '1'
},
'Name' => {
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'size' => '255',
'type' => 'CHAR'
},
'DateModified' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '3',
'type' => 'INT'
},
'DateCreated' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '4',
'type' => 'INT'
}
},
'fk' => {},
'fk_tables' => [],
'index' => {},
'pk' => [
'ID'
],
'subclass' => {},
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,42 @@
# Database definition file for 'glinks_NewsletterSubscription' table
# Last updated: Fri Aug 31 13:04:08 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => '',
'cols' => {
'UserID' => {
'form_size' => '20',
'form_type' => 'TEXT',
'pos' => '1',
'size' => '50',
'type' => 'CHAR'
},
'CategoryID' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'type' => 'INT'
}
},
'fk' => {
'glinks_Category' => {
'CategoryID' => 'ID'
},
'glinks_Users' => {
'UserID' => 'Username'
}
},
'fk_tables' => [],
'index' => {},
'pk' => [],
'subclass' => {},
'unique' => {
'ns_uc' => [
'UserID',
'CategoryID'
]
}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,48 @@
# Database definition file for 'glinks_CatLinks' table
# Last updated: Fri Aug 31 13:04:08 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => 'ID',
'cols' => {
'ID' => {
'form_display' => 'ID',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'regex' => '^\d+$',
'type' => 'INT',
'unsigned' => '1'
},
'Page' => {
'type' => 'VARCHAR',
'size' => '255',
'not_null' => '1',
},
'WidgetID' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'type' => 'INT',
'unsigned' => '1'
},
'Sort_Pos' => {
'type' => 'INT',
'default' => '0'
}
},
'fk' => {
'glinks_Widgets' => {
'WidgetID' => 'ID'
}
},
'fk_tables' => [],
'index' => {
},
'pk' => [],
'unique' => {
}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,78 @@
# Database definition file for 'glinks_PaymentLogs' table
# Last updated: Fri Aug 31 13:04:08 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => 'paylogs_id',
'cols' => {
'paylogs_id' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'type' => 'INT',
'unsigned' => '1'
},
'paylogs_payments_id' => {
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'size' => '16',
'type' => 'CHAR'
},
'paylogs_type' => {
'default' => '0',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '3',
'type' => 'INT',
'unsigned' => '1'
},
'paylogs_time' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '4',
'type' => 'INT',
'unsigned' => '1'
},
'paylogs_viewed' => {
'default' => '0',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '5',
'type' => 'TINYINT',
'unsigned' => '1'
},
'paylogs_text' => {
'form_size' => '30',
'form_type' => 'TEXTAREA',
'pos' => '6',
'type' => 'TEXT'
}
},
'fk' => {
'glinks_Payments' => {
'paylogs_payments_id' => 'payments_id'
}
},
'fk_tables' => [],
'index' => {
'pl_t' => [
'paylogs_time'
],
'pl_yt' => [
'paylogs_type',
'paylogs_time'
]
},
'pk' => [
'paylogs_id'
],
'subclass' => {},
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,111 @@
# Database definition file for 'glinks_Payments' table
# Last updated: Fri Aug 31 13:04:08 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => '',
'cols' => {
'payments_id' => {
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'size' => '16',
'type' => 'CHAR'
},
'payments_linkid' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'type' => 'INT',
'unsigned' => '1'
},
'payments_status' => {
'default' => '0',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '3',
'type' => 'INT',
'unsigned' => '1'
},
'payments_method' => {
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '4',
'size' => '25',
'type' => 'CHAR'
},
'payments_type' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '5',
'type' => 'TINYINT',
'unsigned' => '1'
},
'payments_amount' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '6',
'type' => 'DOUBLE'
},
'payments_term' => {
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '7',
'size' => '10',
'type' => 'CHAR'
},
'payments_start' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '8',
'type' => 'INT',
'unsigned' => '1'
},
'payments_last' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '9',
'type' => 'INT',
'unsigned' => '1'
}
},
'fk' => {
'glinks_Links' => {
'payments_linkid' => 'ID'
}
},
'fk_tables' => [
'glinks_PaymentLogs'
],
'index' => {
'p_al' => [
'payments_amount',
'payments_last'
],
'p_ll' => [
'payments_linkid',
'payments_last'
],
'p_sl' => [
'payments_status',
'payments_last'
]
},
'pk' => [
'payments_id'
],
'subclass' => {
'table' => {}
},
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,166 @@
# Database definition file for 'glinks_Reviews' table
# Last updated: Sun May 17 15:36:17 2009
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => 'ReviewID',
'cols' => {
'ReviewID' => {
'form_display' => 'Review ID',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'type' => 'INT',
'unsigned' => '1'
},
'Review_LinkID' => {
'form_display' => 'Review Link ID',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'regex' => '^\d+$',
'type' => 'INT',
'unsigned' => '1'
},
'Review_Owner' => {
'form_display' => 'Review Owner',
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '3',
'size' => '50',
'type' => 'CHAR'
},
'Review_Rating' => {
'default' => '0',
'form_display' => 'Review Rating',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '4',
'regex' => '^\d+$',
'type' => 'SMALLINT',
'unsigned' => '1'
},
'Review_Date' => {
'form_display' => 'Review Date',
'form_size' => '20',
'form_type' => 'DATE',
'not_null' => '1',
'pos' => '5',
'type' => 'DATETIME'
},
'Review_ModifyDate' => {
'form_display' => 'Review Modify Date',
'form_size' => '20',
'form_type' => 'DATE',
'not_null' => '1',
'pos' => '6',
'type' => 'DATETIME'
},
'Review_Subject' => {
'form_display' => 'Review Subject',
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '7',
'size' => '100',
'type' => 'CHAR'
},
'Review_Contents' => {
'form_display' => 'Review Contents',
'form_size' => '30',
'form_type' => 'TEXTAREA',
'not_null' => '1',
'pos' => '8',
'type' => 'TEXT'
},
'Review_ByLine' => {
'form_display' => 'Review By Line',
'form_size' => '20',
'form_type' => 'TEXT',
'pos' => '9',
'size' => '50',
'type' => 'CHAR'
},
'Review_WasHelpful' => {
'form_display' => 'Review Was Helpful',
'form_size' => '10',
'form_type' => 'TEXT',
'pos' => '10',
'regex' => '^\d+$',
'type' => 'INT',
'unsigned' => '1'
},
'Review_WasNotHelpful' => {
'form_display' => 'Review Was Not Helpful',
'form_size' => '10',
'form_type' => 'TEXT',
'pos' => '11',
'regex' => '^\d+$',
'type' => 'INT',
'unsigned' => '1'
},
'Review_Validated' => {
'default' => 'No',
'form_display' => 'Review Validated',
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '12',
'type' => 'ENUM',
'values' => [
'No',
'Yes'
]
},
'Review_GuestName' => {
'form_display' => 'Review Guest Name',
'form_size' => '20',
'form_type' => 'TEXT',
'pos' => '13',
'size' => '75',
'type' => 'CHAR'
},
'Review_GuestEmail' => {
'form_display' => 'Review Guest Email',
'form_size' => '20',
'form_type' => 'TEXT',
'pos' => '14',
'regex' => '^(?:(?:.+\@.+\..+)|\s*)$',
'size' => '75',
'type' => 'CHAR'
}
},
'fk' => {
'glinks_Links' => {
'Review_LinkID' => 'ID'
},
'glinks_Users' => {
'Review_Owner' => 'Username'
}
},
'fk_tables' => [],
'index' => {
'rdatendx' => [
'Review_Date'
],
'rlinkndx' => [
'Review_LinkID'
],
'rownerndx' => [
'Review_Owner'
]
},
'pk' => [
'ReviewID'
],
'subclass' => {
'table' => {
'glinks_Reviews' => 'Links::Table::Reviews'
}
},
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,56 @@
# Database definition file for 'glinks_SearchLogs' table
# Last updated: Fri Aug 31 13:04:08 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => '',
'cols' => {
'slog_query' => {
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'size' => '255',
'type' => 'VARCHAR'
},
'slog_count' => {
'default' => '0',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'type' => 'INT'
},
'slog_hits' => {
'default' => '0',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '3',
'type' => 'INT'
},
'slog_time' => {
'form_size' => '10',
'form_type' => 'TEXT',
'pos' => '4',
'type' => 'FLOAT'
},
'slog_last' => {
'default' => '0',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '5',
'type' => 'INT'
}
},
'fk' => {},
'fk_tables' => [],
'index' => {},
'pk' => [
'slog_query'
],
'subclass' => {},
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,59 @@
# Database definition file for 'glinks_Sessions' table
# Last updated: Fri Aug 31 13:04:08 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => '',
'cols' => {
'session_id' => {
'binary' => '1',
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'size' => '32',
'type' => 'CHAR'
},
'session_user_id' => {
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'size' => '50',
'type' => 'CHAR'
},
'session_date' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '3',
'type' => 'INT'
},
'session_expires' => {
'default' => '1',
'form_size' => '10',
'form_type' => 'TEXT',
'pos' => '4',
'type' => 'TINYINT'
},
'session_data' => {
'form_size' => '30',
'form_type' => 'TEXTAREA',
'pos' => '5',
'type' => 'TEXT'
}
},
'fk' => {
'glinks_Users' => {
'session_user_id' => 'Username'
}
},
'fk_tables' => [],
'index' => {},
'pk' => [
'session_id'
],
'subclass' => {},
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,39 @@
# Database definition file for 'glinks_Ticker' table
# Last updated: Mon Jun 14 13:48:02 2010
# Created by GT::SQL::Table $Revision: 1.274 $
{
'ai' => 'ticker_id',
'cols' => {
'ticker_id' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'type' => 'INT'
},
'ticker_text' => {
'form_size' => '30',
'form_type' => 'TEXTAREA',
'not_null' => '1',
'pos' => '2',
'type' => 'TEXT'
},
'ticker_link' => {
'form_size' => '30',
'form_type' => 'TEXTAREA',
'not_null' => '1',
'pos' => '3',
'type' => 'TEXT'
}
},
'fk' => {},
'fk_tables' => [],
'index' => {},
'pk' => [
'ticker_id'
],
'subclass' => {},
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,172 @@
# Database definition file for 'glinks_Users' table
# Last updated: Tue Aug 26 09:27:10 2008
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => '',
'cols' => {
'Username' => {
'form_display' => 'Username',
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'size' => '50',
'type' => 'CHAR'
},
'Password' => {
'binary' => '1',
'form_display' => 'Password',
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'size' => '25',
'type' => 'CHAR'
},
'Email' => {
'form_display' => 'Email',
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '3',
'regex' => '^(?:.+\@.+\..+|\s*)$',
'size' => '75',
'type' => 'CHAR'
},
'Name' => {
'form_display' => 'Name',
'form_size' => '20',
'form_type' => 'TEXT',
'pos' => '4',
'size' => '75',
'type' => 'CHAR'
},
'Validation' => {
'form_display' => 'Validation Code',
'form_size' => '20',
'form_type' => 'TEXT',
'pos' => '5',
'size' => '20',
'type' => 'CHAR'
},
'Status' => {
'default' => 'Registered',
'file_max_size' => '',
'file_save_in' => '',
'file_save_scheme' => 'HASHED',
'file_save_url' => '',
'form_display' => 'Status',
'form_names' => [
'Not Validated',
'Registered',
'Administrator',
'Editor'
],
'form_size' => '0',
'form_type' => 'SELECT',
'form_values' => [
'Not Validated',
'Registered',
'Administrator',
'Editor'
],
'not_null' => '1',
'pos' => '6',
'regex' => '',
'type' => 'ENUM',
'values' => [
'Not Validated',
'Registered',
'Administrator',
'Editor'
]
},
'ReceiveMail' => {
'default' => 'Yes',
'form_display' => 'Receive Mailings',
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '7',
'type' => 'ENUM',
'values' => [
'No',
'Yes'
]
},
'SortField' => {
'default' => 'Title',
'form_display' => 'Bookmark sort field',
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '8',
'regex' => '^[\s\w]+$',
'size' => '255',
'type' => 'VARCHAR'
},
'SortOrd' => {
'default' => 'ASC',
'form_display' => 'Bookmark sort order',
'form_type' => 'SELECT',
'not_null' => '1',
'pos' => '9',
'type' => 'ENUM',
'values' => [
'ASC',
'DESC'
]
},
'PerPage' => {
'default' => '15',
'form_display' => 'Bookmarks per page',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '10',
'type' => 'INT',
'unsigned' => '1'
},
'Grouping' => {
'default' => '0',
'form_display' => 'Bookmark grouping',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '11',
'type' => 'TINYINT',
'unsigned' => '1'
}
},
'fk' => {},
'fk_tables' => [
'glinks_Links',
'glinks_Changes',
'glinks_Reviews',
'glinks_Editors',
'glinks_Sessions',
'glinks_Bookmark_Folders',
'glinks_Bookmark_Links',
'glinks_NewsletterSubscription'
],
'index' => {
'emailndx' => [
'Email'
]
},
'pk' => [
'Username'
],
'search_driver' => 'NONINDEXED',
'subclass' => {
'html' => {
'glinks_Users' => 'Links::HTML::Users'
},
'relation' => {},
'table' => {
'glinks_Users' => 'Links::Table::Users'
}
},
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,46 @@
# Database definition file for 'glinks_Verify' 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',
'unsigned' => '1'
},
'Status' => {
'default' => '0',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'type' => 'SMALLINT'
},
'Date_Checked' => {
'form_size' => '20',
'form_type' => 'DATE',
'pos' => '3',
'type' => 'DATE'
}
},
'fk' => {
'glinks_Links' => {
'LinkID' => 'ID'
}
},
'fk_tables' => [],
'index' => {
'veriflndx' => [
'LinkID'
]
},
'pk' => [],
'subclass' => {},
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,70 @@
# Database definition file for 'glinks_CatLinks' table
# Last updated: Fri Aug 31 13:04:08 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => 'ID',
'cols' => {
'ID' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'type' => 'INT',
'unsigned' => '1'
},
'WidgetID' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'type' => 'INT',
'unsigned' => '1'
},
'Title' => {
'form_display' => 'Title',
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'size' => '100',
'type' => 'VARCHAR',
'weight' => '3'
},
'Abstract' => {
'form_display' => 'Title',
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '0',
'pos' => '2',
'type' => 'TEXT',
'weight' => '3'
},
'URL' => {
'form_display' => 'Title',
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'size' => '255',
'type' => 'VARCHAR',
'weight' => '3'
},
},
'fk' => {
'glinks_Widgets' => {
'WidgetID' => 'ID'
},
},
'fk_tables' => [],
'index' => {
},
'pk' => [
'ID'
],
'subclass' => {
},
'unique' => {
}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,144 @@
# Database definition file for 'glinks_Links' table
# Last updated: Tue Nov 12 16:36:16 2013
# Created by GT::SQL::Table $Revision: 1.274 $
{
'ai' => 'ID',
'cols' => {
'ID' => {
'form_display' => 'ID',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'regex' => '^\d+$',
'type' => 'INT',
'unsigned' => '1'
},
'Title' => {
'form_display' => 'Title',
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '0',
'pos' => '2',
'size' => '100',
'type' => 'VARCHAR',
'weight' => '3'
},
'Subtitle' => {
'form_display' => 'Subtitle',
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '',
'pos' => '3',
'type' => 'TEXT',
'weight' => '3'
},
'TitleStyle' => {
'form_display' => 'Css',
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '',
'pos' => '4',
'type' => 'TEXT',
'weight' => '3'
},
'Image' => {
'file_max_size' => '',
'file_save_in' => '/var/home/slowtwitch/slowtwitch.com/www/images/widgets',
'file_save_scheme' => 'HASHED',
'file_save_url' => '/images/widgets',
'form_display' => 'Image',
'form_size' => '20',
'form_type' => 'FILE',
'not_null' => '0',
'pos' => '4',
'regex' => '',
'size' => '255',
'type' => 'TINYTEXT',
},
'URL' => {
'file_max_size' => '',
'file_save_in' => '',
'file_save_scheme' => 'HASHED',
'file_save_url' => '',
'form_display' => 'URL',
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '0',
'pos' => '5',
'regex' => '',
'size' => '255',
'type' => 'VARCHAR',
'weight' => ''
},
'Button' => {
'form_display' => 'Button',
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '',
'pos' => '6',
'size' => '100',
'type' => 'VARCHAR',
'weight' => '3'
},
'Type' => {
'form_display' => 'Widget Type',
'not_null' => '',
'default' => '0',
'pos' => '8',
'size' => '100',
'type' => 'TINYINT',
},
'Widget' => {
'form_type' => 'TEXT',
'not_null' => '0',
'pos' => '7',
'regex' => '',
'type' => 'VARCHAR',
'size' => '30',
'weight' => ''
},
'ListID' => {
'form_type' => 'TEXT',
'not_null' => '0',
'pos' => '6',
'regex' => '',
'type' => 'INT',
'weight' => ''
},
'Articles' => {
'form_type' => 'TEXT',
'not_null' => '0',
'pos' => '7',
'regex' => '',
'type' => 'VARCHAR',
'size' => '255',
'weight' => ''
},
'Category' => {
'form_type' => 'TEXT',
'not_null' => '0',
'pos' => '7',
'regex' => '',
'type' => 'INT',
'weight' => ''
},
'Forum' => {
'form_type' => 'TEXT',
'not_null' => '0',
'pos' => '7',
'regex' => '',
'type' => 'INT',
'weight' => ''
},
},
'pk' => [
'ID'
],
'fk_tables' => [
'glinks_PageWidgets',
],
'unique' => {}
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,85 @@
# Database definition file for 'glinks_Links_Files' table
# Last updated: Tue Sep 4 09:35:44 2007
# Created by GT::SQL::Table $Revision: 1.255 $
{
'ai' => 'ID',
'cols' => {
'ID' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '1',
'regex' => '^\d+$',
'type' => 'INT',
'unsigned' => '1'
},
'ForeignColName' => {
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '2',
'size' => '50',
'type' => 'VARCHAR'
},
'ForeignColKey' => {
'form_size' => '20',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '3',
'size' => '50',
'type' => 'VARCHAR'
},
'File_Name' => {
'form_size' => '20',
'form_type' => 'TEXT',
'pos' => '4',
'size' => '255',
'type' => 'VARCHAR'
},
'File_Directory' => {
'form_size' => '20',
'form_type' => 'TEXT',
'pos' => '5',
'size' => '255',
'type' => 'VARCHAR'
},
'File_MimeType' => {
'form_size' => '20',
'form_type' => 'TEXT',
'pos' => '6',
'size' => '50',
'type' => 'VARCHAR'
},
'File_Size' => {
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '7',
'regex' => '^\d+$',
'type' => 'INT',
'unsigned' => '1'
},
'File_URL' => {
'form_size' => '20',
'form_type' => 'TEXT',
'pos' => '8',
'size' => '255',
'type' => 'VARCHAR'
}
},
'fk' => {},
'fk_tables' => [],
'index' => {
'fk_lookup' => [
'ForeignColName',
'ForeignColKey'
]
},
'pk' => [
'ID'
],
'subclass' => {},
'unique' => {}
};
# vim:syn=perl:ts=4:noet