The easiest DSL for database schemas
If you ever designed a database schema on a whiteboard,
AML is made for you ❤️. It's fast to learn and write, and can be translated to other dialects.
# sample AML
users
id uuid pk
name varchar
email varchar unique
role user_role(admin, guest)=guest
posts
id uuid pk
title varchar
content text | in markdown
created_at timestamp=`now()`
created_by uuid -> users(id) # inline relation
Available in all flavors
Use AML as you like
- In converters
-
Azimutt offers free converters from/to many formats: AML, SQL, JSON, DBML, Mermaid and more. Use our converters to quickly get what you need.
- In Azimutt
-
If you are designing your database schema, this is the best option to write AML fast and see your schema in a visual way (needs paid plan, use free trial 😉).
- With the CLI
-
The Azimutt CLI is a toolbox to work with databases, and now you can also convert dialects from one to another with a single command.
- As a library
-
Integrate AML in your own projects, include it as a dependency and start parsing/generating it easily. Feel free to contribute if you like 🙏
Try it live
Here is a playground to try it and see how it's converted in JSON. As a reminder, here is the AML documentation, but try it on your own first 😉
So nice 😍
Live design in Azimutt 👇️