Schema

A database can contain several schemas where each schema can contain objects like tables and functions potentially with identical names without conflicting. Thus, schemas share similarities with the concept of namespaces.

YamSql schema definitions consist of a folder which shares it’s name with the schema. The folder must contain a schema.yml file.

Syntax of schema.yml

name SQL Identifier
Schema name.
description String
Schema description. It is recommended to use reStructuredText for adding markup to this fields content.
dependencies List [SQL Identifier]
Other schemas required for this schema to work.

Examples

name: my_app
description: |
 Main strucutre for MyApp

dependencies:
 - other_app