Browse Source

修改数据库脚本

master
ZhangZiSheng001 6 years ago
parent
commit
cd8e9b1efd
1 changed files with 0 additions and 7 deletions
  1. +0
    -7
      src/main/resources/sql/demo_user.sql

+ 0
- 7
src/main/resources/sql/demo_user.sql View File

@@ -1,10 +1,3 @@

CREATE DATABASE `github_demo` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;

USE `github_demo`;

DROP TABLE IF EXISTS `demo_user`;

CREATE TABLE `demo_user` ( CREATE TABLE `demo_user` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '用户id', `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '用户id',
`name` varchar(16) COLLATE utf8_unicode_ci NOT NULL COMMENT '用户名', `name` varchar(16) COLLATE utf8_unicode_ci NOT NULL COMMENT '用户名',


Loading…
Cancel
Save