1 Star 1 Fork 2

xianglei/phpHiveAdmin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
phpHiveAdmin.sql 1.61 KB
一键复制 编辑 原始数据 按行查看 历史
xianglei 提交于 2013-05-29 19:09 . init 0.11b1
CREATE DATABASE IF NOT EXISTS `easyhadoop` charset utf8 COLLATE utf8_general_ci;
USE easyhadoop;
CREATE TABLE IF NOT EXISTS `ehm_pha_user` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(60) NOT NULL,
`password` varchar(100) NOT NULL,
`onlydb` text NOT NULL,
`role` varchar(50) NOT NULL,
`reduce` int(10) NOT NULL,
`access_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`description` text NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `username` (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
INSERT INTO `ehm_pha_user` (`id`, `username`, `password`, `role`, `description`) VALUES (1, 'admin', 'e10adc3949ba59abbe56e057f20f883e', 'admin', 'Superadmin');
INSERT INTO `ehm_pha_user` (`id`, `username`, `password`, `onlydb`, `role`, `description`) VALUES (2, 'user', 'e10adc3949ba59abbe56e057f20f883e', 'default', 'user', 'default user');
CREATE TABLE IF NOT EXISTS `ehm_pha_history_job` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`username` varchar(60) NOT NULL,
`fingerprint` varchar(200) NOT NULL,
`access_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
CREATE TABLE IF NOT EXISTS `ehm_pha_templates` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`t_name` varchar(100) NOT NULL,
`t_content` text NOT NULL,
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`user_id` int(10) NOT NULL,
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/xianglei/phphiveadmin.git
git@gitee.com:xianglei/phphiveadmin.git
xianglei
phphiveadmin
phpHiveAdmin
master

搜索帮助