Base solution for your next web application
Open Closed

Migrations for mysql? #6543


User avatar
0
commondesk created

If your using .net core on ubontu, its clear that your NOT going to use sqlserver.

Also, as you migrate between versions of templates we also need migrations to upgrade existing databases.

Are you planning on provding migrations for mysql?

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    see: https://github.com/aspnetzero/aspnet-zero-core/issues/1015

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    commondesk created

    I assume you wanted us to look at

    https://aspnetboilerplate.com/Pages/Documents/EF-Core-MySql-Integration

    That does not address this issue.

    Our issue is: This proccess creates a single migration, but we have an existing database that we want to migrate.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    maliming created
    Support Team

    Here are the documentation on ef core and existing databases.

    https://docs.microsoft.com/en-us/ef/core/get-started/aspnetcore/existing-db https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework-core-scaffold-example.html

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)