photoprism/internal/entity/schema/README.md

25 lines
989 B
Markdown
Raw Normal View History

# 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/](https://docs.photoprism.app/developer-guide/database/schema/)
## Mermaid.js Markup
[Mermaid](https://mermaid-js.github.io/) lets you create diagrams and visualizations using text and code.
↪ [mariadb.mmd](mariadb.mmd)
## MariaDB SQL Dump
The following dump was created by running `mariadb-dump --no-data --skip-add-locks --skip-comments --skip-opt --skip-set-charset photoprism > mariadb.sql` in a terminal:
↪ [mariadb.sql](mariadb.sql)
## Schema Migrations
↪ [docs.photoprism.app/developer-guide/database/migrations/](https://docs.photoprism.app/developer-guide/database/migrations/)
↪ [github.com/photoprism/photoprism/tree/develop/internal/migrate](https://github.com/photoprism/photoprism/tree/develop/internal/migrate)