πŸ—„οΈ Database Models

{: .hi πŸ“š Collection Content Collections, exhibitions and galleries hlight }
This do πŸ”¨ Workshop People Workshops and production studios Β 
Β  πŸ‘€ User System Application user accounts umentation provides a comprehensive overview of all database models in the application, their properties, relationships, and usage patterns after the recent model simplification initiative.

πŸ“Š Overview

🎯 Key Model Categories

🌍 Geographic Models

πŸ‘₯ People & Organizations

πŸ“¦ Core Content Models (SIMPLIFIED)

πŸ–ΌοΈ Media Models (RESTRUCTURED)

🏷️ Classification & Metadata

πŸ‘€ System Models

πŸ”— Relationship Types

Type Icon Description Example
BelongsTo ⬆️ Foreign key relationships Item β†’ Partner
HasMany ⬇️ One-to-many relationships Item β†’ ItemImage
BelongsToMany ↔️ Many-to-many relationships Collection ↔ Item
Self-Referential πŸ”„ Hierarchical relationships Item β†’ Parent Item

🌍 Translation System

βš™οΈ Key Architectural Changes

πŸš€ Model Simplification Benefits

πŸ“ Scopes & Filtering

πŸ› οΈ Traits & Patterns


πŸ“š Complete Models Index

Click any model name below to view its detailed documentation with properties, relationships, and usage examples.

πŸ”€ Current Model List (28 Models)

Model Category Description
πŸ“ Address Geographic Physical addresses with country relationships
🌍 AddressTranslation Translation Multi-language address translations
🎨 Artist People Artists who create items in collections
✍️ Author People Authors of written content
πŸ–ΌοΈ AvailableImage Media Available images for item attachment
οΏ½ Collection Content ENHANCED: Collections, exhibitions & galleries (unified)
🌍 CollectionTranslation Translation Multi-language collection content
πŸ“ž Contact Communication Contact information storage
🌍 ContactTranslation Translation Multi-language contact labels
βš™οΈ Context Configuration Application context settings
πŸ—ΊοΈ Country Geographic Countries using ISO 3166-1 codes
οΏ½ ImageUpload Media Uploaded image metadata and processing
πŸ›οΈ Item Content Objects and monuments with hierarchical support
πŸ“Έ ItemImage Media Item-to-image relationships with ordering
🌍 ItemTranslation Translation Multi-language item content
🌐 Language Configuration Supported languages (ISO 639-3 codes)
οΏ½ Location Geographic Specific geographic locations
🌍 LocationTranslation Translation Multi-language location names
οΏ½ Partner Organization Institutional partners and owners
πŸ“Š Project Management Project organization and management
�️ Province Geographic Administrative provinces and regions
🌍 ProvinceTranslation Translation Multi-language province names
�️ Tag Classification Content tagging and categorization
🎯 Theme Content Thematic groupings with collection relationships
🌍 ThemeTranslation Translation Multi-language theme content
οΏ½ User System Application user accounts
οΏ½ Workshop People Workshops and production studios

πŸš€ Recent Model Changes

βœ… Models Added/Enhanced

❌ Models Removed

🎯 Benefits of Simplification


πŸ’‘ Tip: Use your browser’s search function (Ctrl+F / Cmd+F) to quickly find specific models in this list.

For an overview of model relationships and architecture, see the summary above.