Files
OMS/app/pam/dbschema/auth.php
2025-12-28 23:13:25 +08:00

22 lines
792 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
$db['auth'] = array(
'columns'=>array(
'auth_id'=>array('type'=>'number','pkey'=>true,'extra' => 'auto_increment',),
'account_id'=>array('type'=>'table:account','comment'=>'账户id'),
'module_uid'=>array('type'=>'varchar(200)','comment'=>'模块id'),
'module'=>array('type'=>'varchar(50)','comment'=>'模块'),
'data'=>array('type'=>'text','comment'=>'数据'),
),
'index' => array (
'account_id' => array ('columns' => array ('module','account_id'),'prefix' => 'UNIQUE'),
'module_uid' => array ('columns' => array ('module','module_uid'),'prefix' => 'UNIQUE'),
),
'comment' => '授权数据表',
);