File: /www/wwwroot/www.xxlht.com/data/schema/ey_guestbook_attribute.php
<?php
return array (
'attr_id' =>
array (
'name' => 'attr_id',
'type' => 'int(11) unsigned',
'notnull' => false,
'default' => NULL,
'primary' => true,
'autoinc' => true,
),
'attr_name' =>
array (
'name' => 'attr_name',
'type' => 'varchar(60)',
'notnull' => false,
'default' => '',
'primary' => false,
'autoinc' => false,
),
'typeid' =>
array (
'name' => 'typeid',
'type' => 'int(11) unsigned',
'notnull' => false,
'default' => '0',
'primary' => false,
'autoinc' => false,
),
'attr_input_type' =>
array (
'name' => 'attr_input_type',
'type' => 'tinyint(1) unsigned',
'notnull' => false,
'default' => '0',
'primary' => false,
'autoinc' => false,
),
'attr_values' =>
array (
'name' => 'attr_values',
'type' => 'text',
'notnull' => false,
'default' => NULL,
'primary' => false,
'autoinc' => false,
),
'is_showlist' =>
array (
'name' => 'is_showlist',
'type' => 'tinyint(1)',
'notnull' => false,
'default' => '0',
'primary' => false,
'autoinc' => false,
),
'required' =>
array (
'name' => 'required',
'type' => 'tinyint(1)',
'notnull' => false,
'default' => '0',
'primary' => false,
'autoinc' => false,
),
'validate_type' =>
array (
'name' => 'validate_type',
'type' => 'smallint(5)',
'notnull' => false,
'default' => '0',
'primary' => false,
'autoinc' => false,
),
'sort_order' =>
array (
'name' => 'sort_order',
'type' => 'int(11) unsigned',
'notnull' => false,
'default' => '0',
'primary' => false,
'autoinc' => false,
),
'lang' =>
array (
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => false,
'default' => 'cn',
'primary' => false,
'autoinc' => false,
),
'is_del' =>
array (
'name' => 'is_del',
'type' => 'tinyint(1)',
'notnull' => false,
'default' => '0',
'primary' => false,
'autoinc' => false,
),
'add_time' =>
array (
'name' => 'add_time',
'type' => 'int(11)',
'notnull' => false,
'default' => '0',
'primary' => false,
'autoinc' => false,
),
'update_time' =>
array (
'name' => 'update_time',
'type' => 'int(11)',
'notnull' => false,
'default' => '0',
'primary' => false,
'autoinc' => false,
),
);