thinkgem/jeesite5

initdb 脚本问题

unsciorg opened this issue · 3 comments

If columns are dropped from a table, the columns are also removed from
any index of which they are a part. If all columns that make up an
index are dropped, the index is dropped as well.

  • 脚本报错Specified key was too long; max key length is 3072 bytes原因不明
    mysql 5..7
    innodb
    utf-8

ok,谢谢你的意见。这是erm生成的脚本,因为需要多次生成,都是通用配置,没有针对某个数据库进行优化。发布正式版时会完善脚本。

# maven ignore
target/
*.jar
*.war
*.zip
*.tar
*.tar.gz

# eclipse ignore
.settings/
.project
.classpath

# idea ignore
.idea/
*.ipr
*.iml
*.iws

# temp ignore
*.log
*.cache
*.diff
*.patch
*.tmp

# system ignore
.DS_Store
Thumbs.db

顺便提供一份.gitignore文件。

谢谢