api/runtime/schema/altitude_reaction.admin_info.php
2019-06-20 08:40:41 +08:00

183 lines
3.6 KiB
PHP

<?php
return array (
'id' =>
array (
'name' => 'id',
'type' => 'smallint(10) unsigned',
'notnull' => false,
'default' => NULL,
'primary' => true,
'autoinc' => true,
'comment' => '',
),
'user_name' =>
array (
'name' => 'user_name',
'type' => 'varchar(60)',
'notnull' => false,
'default' => '',
'primary' => false,
'autoinc' => false,
'comment' => '',
),
'email' =>
array (
'name' => 'email',
'type' => 'varchar(60)',
'notnull' => false,
'default' => '',
'primary' => false,
'autoinc' => false,
'comment' => '',
),
'password' =>
array (
'name' => 'password',
'type' => 'varchar(32)',
'notnull' => false,
'default' => '',
'primary' => false,
'autoinc' => false,
'comment' => '',
),
'avatar' =>
array (
'name' => 'avatar',
'type' => 'varchar(255)',
'notnull' => false,
'default' => NULL,
'primary' => false,
'autoinc' => false,
'comment' => '',
),
'sex' =>
array (
'name' => 'sex',
'type' => 'tinyint(2)',
'notnull' => false,
'default' => '0',
'primary' => false,
'autoinc' => false,
'comment' => '',
),
'salt' =>
array (
'name' => 'salt',
'type' => 'varchar(10)',
'notnull' => false,
'default' => NULL,
'primary' => false,
'autoinc' => false,
'comment' => '',
),
'add_time' =>
array (
'name' => 'add_time',
'type' => 'int(11)',
'notnull' => false,
'default' => '0',
'primary' => false,
'autoinc' => false,
'comment' => '',
),
'last_login' =>
array (
'name' => 'last_login',
'type' => 'int(11)',
'notnull' => false,
'default' => '0',
'primary' => false,
'autoinc' => false,
'comment' => '',
),
'last_ip' =>
array (
'name' => 'last_ip',
'type' => 'varchar(15)',
'notnull' => false,
'default' => '',
'primary' => false,
'autoinc' => false,
'comment' => '',
),
'action_list' =>
array (
'name' => 'action_list',
'type' => 'text',
'notnull' => false,
'default' => NULL,
'primary' => false,
'autoinc' => false,
'comment' => '',
),
'nav_list' =>
array (
'name' => 'nav_list',
'type' => 'text',
'notnull' => false,
'default' => NULL,
'primary' => false,
'autoinc' => false,
'comment' => '',
),
'company_id' =>
array (
'name' => 'company_id',
'type' => 'varchar(128)',
'notnull' => false,
'default' => '',
'primary' => false,
'autoinc' => false,
'comment' => '公司idjson字符串',
),
'role_id' =>
array (
'name' => 'role_id',
'type' => 'smallint(5)',
'notnull' => false,
'default' => '0',
'primary' => false,
'autoinc' => false,
'comment' => '',
),
'cate_id' =>
array (
'name' => 'cate_id',
'type' => 'varchar(128)',
'notnull' => false,
'default' => '',
'primary' => false,
'autoinc' => false,
'comment' => 'json 行业数据',
),
'region_id' =>
array (
'name' => 'region_id',
'type' => 'int(11)',
'notnull' => false,
'default' => '0',
'primary' => false,
'autoinc' => false,
'comment' => '',
),
'update_time' =>
array (
'name' => 'update_time',
'type' => 'int(11)',
'notnull' => false,
'default' => '0',
'primary' => false,
'autoinc' => false,
'comment' => '修改时间',
),
'is_delete' =>
array (
'name' => 'is_delete',
'type' => 'tinyint(4)',
'notnull' => false,
'default' => '0',
'primary' => false,
'autoinc' => false,
'comment' => '是否删除',
),
);