145 lines
2.8 KiB
Modula-2
145 lines
2.8 KiB
Modula-2
# 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
|