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.

What is the best way to handle schema/class changes?

See original GitHub issue

What is the best way of handling changes or rename into a class property?

e,g, from

public class Person
{
    public string Name { get; set; }
}

to

public class Person
{
    public string NickName { get; set; }
}

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
sergiorykovcommented, Oct 26, 2016

It would be nice to publish it in wiki as Migrations 😃

1reaction
mbdavidcommented, Jan 7, 2017

Now is db.Engine.UserVersion

Em sáb, 7 de jan de 2017 às 15:53, emrys90 notifications@github.com escreveu:

How do you do this in v3? db.DbVersion no longer exists…

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/mbdavid/LiteDB/issues/328#issuecomment-271098875, or mute the thread https://github.com/notifications/unsubscribe-auth/ABFaLeWvUO5hxRb7dqsd_E3WNeArVqzyks5rP9E1gaJpZM4KecSJ .

– Sent from Gmail Mobile

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Handle Database Migration / Schema Change?
Best Practice to Make Schema Changes · Treat your database changes the same way you treat code changes · Separate code changes from...
Read more >
How to handle unexpected schema changes to production ...
In reality of course, they happen all the time. The way you handle it is by having proper procedures in place to minimise...
Read more >
The Secret to Surviving Painful Schema Changes
Consider the change from old system to the new phone requirements. This is important because the new data will help solve real world...
Read more >
How to update your database schema with no downtime
The best part is that while the schema changes happen, your database remains active and can service application requests. We have thorough ...
Read more >
Safely making database schema changes
Expand the schema: Update the existing schema with new changes; Update the application code to write to both old and new schema; Migrate...
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