Initial commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
$this->E_D("DROP TABLE IF EXISTS `db_role`;");
|
||||
$this->E_C("CREATE TABLE `db_role` (
|
||||
`id` smallint(6) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(20) NOT NULL,
|
||||
`status` tinyint(1) unsigned DEFAULT NULL,
|
||||
`remark` varchar(255) DEFAULT NULL,
|
||||
`info_checked` text,
|
||||
`info_view` text,
|
||||
`info_add` text,
|
||||
`info_editor` text,
|
||||
`info_delete` text,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `status` (`status`)
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8");
|
||||
$this->E_D("replace into `db_role` values('1','管理员','1','网站管理员','\"|8|\"|23|','','|23|','','');");
|
||||
$this->E_D("replace into `db_role` values('2','下单员','1','后台下单员','null|23|','|11|23||1|','|23|','','');");
|
||||
$this->E_D("replace into `db_role` values('3','操作工','1','小程序操作工',NULL,NULL,NULL,NULL,NULL);");
|
||||
$this->E_D("replace into `db_role` values('4','检验员','1','小程序检验员',NULL,NULL,NULL,NULL,NULL);");
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user