elsa-workflows / elsa-workflows/elsa-core

Pending modelchanges Elsa 2.14.1

Open
#5,378 1 comment 0 reactions 0 assignees View on GitHub
bug triaged
Dominant language
C#
Stars
7.9k
Forks
1.5k
Avg merge
15h 22m
Merged PRs (30d)
114

Description

## Description
[Checking for pending modelchanges](https://learn.microsoft.com/en-us/ef/core/managing-schemas/migrations/managing?tabs=dotnet-core-cli#checking-for-pending-model-changes) `dotnet-ef migrations has-pending-model-changes` results in an error:
`Changes have been made to the model since the last migration. Add a new migration.`
Since migrations is part of the elsa assembly, its not possible for us to add new migration to apply the modelchanges to the database.

## Steps to Reproduce
Run `dotnet-ef migrations has-pending-model-changes`

4. **Reproduction Rate**: Every time

## Expected Behavior
"No changes have been made to the model since the last migration."

## Actual Behavior
"Changes have been made to the model since the last migration. Add a new migration."

## Environment
- **Elsa Package Version**: 2.14.1
- **Operating System**: Ubuntu 18.04

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.