photoprism/internal/entity/schema/README.md
Michael Mayer e3bb8b19dd Routing: Prefix frontend UI routes with /library #840 #2466
Also improves migrations and updates the db schema docs.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-15 21:54:11 +02:00

25 lines
No EOL
987 B
Markdown

# 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 `mysqldump --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)