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

112 lines
2.0 KiB
Modula-2

# 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