question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

First migrations showing preselected when "Updating Database"

See original GitHub issue

Describe the bug

A clear and concise description of what the bug is. When pressing Update database the preselected migraitons is the first ever migrations. To Reproduce

Steps to reproduce the behavior:

  1. Add Migration
  2. Add second Migrations
  3. Press update database
  4. Migration created in step 1 is preselected

Expected behavior

In the previous version when pressing update database the latest added migration is show as preselected.

Screenshots

image image

Environment (please complete the following information):

  • OS: Windows 11
  • .NET SDK info (installed ones and version used within Rider): __
dotnet --list-sdks
3.1.414
5.0.402 - Current project
6.0.402
7.0.100 
- Plugin version: _223.1.0_
- Rider version: _2022.3_

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
Saidnazar08commented, Dec 15, 2022

I almost deleted all data from my production database because of this bug.

0reactions
madman2021commented, Dec 16, 2022

Thanks pal

Read more comments on GitHub >

github_iconTop Results From Across the Web

Code First Migrations with an existing database - EF6
Run the Update-Database command in Package Manager Console. This will apply the InitialCreate migration to the database. Since the actual ...
Read more >
Entity Framework code-first: migration fails with update ...
Unable to update database to match the current model because there are pending changes and automatic migration is disabled. Either write the ...
Read more >
Update an Existing Database using Code First Migrations with ...
There is going to come a point where you will want to update your existing database model from your code. The typical way...
Read more >
Code-Based Migration in Entity Framework 6
Update -Database: Executes the last migration file created by the Add-Migration command and applies changes to the database schema. To use code-based migrations, ......
Read more >
Migrations - Django documentation
For migrations to work, you must make the initial migration first and then make changes, as Django compares changes against migration files, not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found