mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-23 05:00:25 +08:00
eef3ce460b
1. 添加database.sql数据库创建脚本 2. 添加MySQL5.x的适配脚本 3. 系统表结构数据整理 4. 订单表结构字段和数据不一致修复
25 lines
985 B
SQL
25 lines
985 B
SQL
/*
|
|
* 有来商城数据库
|
|
* MySQL5.x版本
|
|
*/
|
|
|
|
-- ----------------------------
|
|
-- 系统管理数据库
|
|
-- ----------------------------
|
|
CREATE DATABASE IF NOT EXISTS youlai DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
|
|
-- ----------------------------
|
|
-- 商城会员数据库
|
|
-- ----------------------------
|
|
CREATE DATABASE IF NOT EXISTS mall_ums DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
|
|
-- ----------------------------
|
|
-- 商城商品数据库
|
|
-- ----------------------------
|
|
CREATE DATABASE IF NOT EXISTS mall_pms DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
|
|
-- ----------------------------
|
|
-- 商城订单数据库
|
|
-- ----------------------------
|
|
CREATE DATABASE IF NOT EXISTS mall_oms DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
|
|
-- ----------------------------
|
|
-- 商城营销数据库
|
|
-- ----------------------------
|
|
CREATE DATABASE IF NOT EXISTS mall_sms DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci; |