Listing 7.2. Plik schema.yml zawierający opis bazy danych z rysunku 7.6 w formacie YML stosowanym przez oprogramowanie Doctrine
---
detect_relations: true
options:
  collation: utf8_polish_ci
  charset: utf8
  type: InnoDB
szczyt:
  columns:
    szczyt_id:
      type: integer(4)
      primary: true
      notnull: true
      autoincrement: true
    nazwa:
      type: string(128)
    wysokosc:
      type: integer(4)
  options:
    type: InnoDB
