photoprism/internal/entity/schema
..
mariadb.mmd
mariadb.sql
README.md

Database Schema

Please keep in mind that some information may be outdated or missing, as these docs were automatically generated from the source code.

Entity-Relationship Diagram

docs.photoprism.app/developer-guide/database/schema/

Mermaid.js Markup

Mermaid lets you create diagrams and visualizations using text and code.

mariadb.mmd

MariaDB SQL Dump

The following dump was created by running mysqldump --no-data --skip-add-locks --skip-comments --skip-opt --skip-set-charset photoprism > mariadb.sql in a terminal:

mariadb.sql

Schema Migrations

docs.photoprism.app/developer-guide/database/migrations/

github.com/photoprism/photoprism/tree/develop/internal/migrate