请教4.0版本升级4.1数据库升级遇到问题怎么解决?

`root@5db3c58efe3e:/opt/seatable/seatable-server-latest/sql/mysql/upgrade/4.1# seatable.sh upgrade-sql 4.1

mysql: [Warning] Using a password on the command line interface can be insecure.

ERROR 1005 (HY000) at line 27: Can’t create table dtable_db.dtable_share (errno: 150 “Foreign key constraint is incorrectly formed”)`
4.0版本升级到4.1遇到外键有问题,请教一下如何解决?

没人理的吗?有没有人帮忙看看?

您们的mariadb 是什么版本

是10.11.2