Category: Backend

Django dump all data into JSON

I know you could do it by dumping the database directly, but this could come in handy when you’re trying to migrate from one database to another. AFAIK, copying data from one kind of DB to another kind(think Pgsql to MySql) is a nightmare… Luckily, Django provides a utility to make this super easy.

Read More

EF Core missing methods in generated DbContext

Problem Methods like UseSqlServer HasColumnName are not resolved Solution With only EF Core package is not enough, you need two more. Microsoft.EntityFrameworkCore.Design Microsoft.EntityFrameworkCore.SqlServer After installing these two everything works again…

Read More