24 Database Modeling Tips for Vertabelo

Tip #19 – How to automatically download SQL script from Vertabelo

by
Vertabelo Team

Posted: December 19, 2015

If you need to automatically download SQL script from Vertabelo, for example, for the purposes of your build system, you definitely should check out our Vertabelo API. It allows you to download an SQL or XML of your model by a simple HTTP request. In the command line, it may look like this:

VERTABELO_API_TOKEN=put-your-api-token-here
MODEL_ID=put-your-model-identifier-here

curl -u $VERTABELO_API_TOKEN:  \
        https://my.vertabelo.com/api/sql/$MODEL_ID  > create-database.sql

To learn more about Vertabelo API, go here.

 
 
 
 

Try our online database modeler. No registration. No commitments.

 
 
Tags
 
Subscribe to our newsletter

If you find this article useful, join our weekly newsletter to be notified about the latest posts.

 
 
 
 
 
 
 
New SQL Course! Learn how to process trees and graphs in SQL, and how to effectively organize long SQL queries. View course Discover our other courses: