Skip to content

🐞自动迁移修改分片表表名 #210

Description

@xuejmnet

问题

  • 对象是分表对象,修改了表名的Migrations迁移报错

虽然不是一个常见的需求,如果你有分片对象且分片对象有表名修改的迁移记得不能自动迁移,因为会报错不存在分片表名修改前的表drop出错的bug,因为ShardingCore没有持久化功能所以没办法记录修改前的表名,当然如果你是普通对象或者,仅分库对象那么是没关系的,当然如果你有好的解决方案希望可以提出来一起讨论

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions