Skip to content

关于数据库初始化 #5

Description

@BsaGyy

你好,有个问题还是想请教下您。
为什么您的程序中数据库初始化策略(DropCreateDatabaseIfModelChanges)不执行呀?我把迁移文件夹删除之后就会执行了,而且之后再Enable-Migrations生成迁移文件夹之后数据库初始化策略依然可以执行,不知道您是否有做了什么设置导致它不执行?

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions