Recreate the SQL database
No edit summary
No edit summary
Line 1: Line 1:
To signal MDriven to drop everything and recreate the schema, do this:
To signal MDriven to drop everything and recreate the schema, do this:
# Make sure you have the model locally in MDrivenDesigner
# Make sure you have the model locally in MDrivenDesigner.
# Delete ALL VERSIONS of the model in MDriven Server - so that the list is empty and contains NO MODELS
# Delete ALL VERSIONS of the model in MDriven Server so that the list is empty and contains NO MODELS.
#* Click on the green check mark, then click Delete Version for each version in the list.
#* Click on the green check mark, then click Delete Version for each version in the list.
# Upload the model from MDrivenDesigner
# Upload the model from MDrivenDesigner.
# MDriven Server will now find no old model to evolve and will recreate the database as a result
# MDriven Server will now find no old model to evolve and will recreate the database as a result.


Tip: If you are in the portal, on a site, there's a link to the MDrivenServer. On that page, you also have the username and password for the MDrivenServer.
'''Tip:''' If you are in the Portal, on a site, there's a link to the MDrivenServer. On that page, you also have the username and password for the MDrivenServer.


[[File:Delete model version.png|frameless|783x783px]]
[[File:Delete model version.png|frameless|783x783px]]
[[Category:Database]]
[[Category:Database]]
[[Category:SQL]]
[[Category:SQL]]

Revision as of 06:04, 10 July 2023

This page was created by Lars.olofsson@mdriven.net on 2017-06-27. Last edited by Edgar on 2025-01-20.

To signal MDriven to drop everything and recreate the schema, do this:

  1. Make sure you have the model locally in MDrivenDesigner.
  2. Delete ALL VERSIONS of the model in MDriven Server so that the list is empty and contains NO MODELS.
    • Click on the green check mark, then click Delete Version for each version in the list.
  3. Upload the model from MDrivenDesigner.
  4. MDriven Server will now find no old model to evolve and will recreate the database as a result.

Tip: If you are in the Portal, on a site, there's a link to the MDrivenServer. On that page, you also have the username and password for the MDrivenServer.

Delete model version.png