Skip to content

Postgresql 怎么初始化数据库 #8

@yicong1352013

Description

@yicong1352013

尝试使用EFCore迁移命令,发现行不通,出现下面错误

Unable to create a 'DbContext' of type 'RuntimeType'. The exception 'Unable to resolve service for type 'Microsoft.EntityFrameworkCore.DbContextOptions`1[AiIncubator.Servers.Core.Data.AiIncubatorDbContext]' while attempting to activate 'AiIncubator.Servers.Core.Data.AiIncubatorDbContext'.' was thrown while attempting to create an instance. For the different patterns supported at design time, see https://go.microsoft.com/fwlink/?linkid=851728

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