Skip to content
/ mysql Public

日常开发使用到的mysql数据表设计。

Notifications You must be signed in to change notification settings

gitphp/mysql

Repository files navigation

我的MYSQL数据库收集

# ************************************************************
# Sequel Pro SQL dump
# Version 4135
#
# http://www.sequelpro.com/
# http://code.google.com/p/sequel-pro/
#
# Host: 120.25.122.113 (MySQL 5.6.15-log)
# Database: yang_blog
# Generation Time: 2016-04-14 07:42:58 +0000
# ************************************************************


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;


# Dump of table bk_ad
# --


###1、RBAC数据库表建立
###2、微博数据表建立



用户角色表

CREATE TABLE pt_role (
  id int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '角色id',
  rname varchar(50) NOT NULL COMMENT '角色名字',
  rstatus tinyint NOT NULL COMMENT '角色使用状态',
  ctime int(10) NOT NULL COMMENT '添加时间',
  rdesc varchar(255) NOT NULL COMMENT '角色描述',
  PRIMARY KEY (id)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='角色表';



About

日常开发使用到的mysql数据表设计。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published