Recreate the SQL database
No edit summary
(Updated Edited template to July 12, 2025.)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
To signal MDriven to drop everything and re create the schema you go like this:
<message>Write the content here to display this box</message>
# Make sure you have the model locally in MDrivenDesigner
To signal MDriven to drop everything and recreate the schema, do this:
# Delete ALL VERSIONS of the model in MDriven Server - so that the list is empty and contains NO MODELS
# Make sure you have the model locally in MDrivenDesigner.
# Upload the model from MDrivenDesigner
# Delete ALL VERSIONS of the model in MDriven Server so that the list is empty and contains NO MODELS.
# MDriven Server will now find that there is no old model to evolve and it will recreate the database as a result
#* Click on the green check mark, then click Delete Version for each version in the list.
# Upload the model from MDrivenDesigner.
# 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.
 
[[File:Delete model version.png|frameless|783x783px]]
[[Category:Database]]
[[Category:Database]]
[[Category:SQL]]
{{Edited|July|12|2025}}

Latest revision as of 06:01, 20 January 2025

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