placeos-models
Version, currently 9.107.5100 versions
- 9.107.5latestAug 14, 2026
- 9.107.4not indexedAug 14, 2026
- 9.107.3not indexedAug 14, 2026
- 9.107.2not indexedAug 14, 2026
- 9.107.1not indexedAug 14, 2026
- 9.107.0not indexedAug 14, 2026
- 9.106.2not indexedAug 14, 2026
- 9.106.1not indexedAug 14, 2026
- 9.106.0not indexedAug 14, 2026
- 9.105.3not indexedAug 14, 2026
- 9.105.2not indexedAug 14, 2026
- 9.105.1not indexedAug 14, 2026
- 9.105.0not indexedAug 14, 2026
- 9.104.0not indexedAug 14, 2026
- 9.103.0not indexedAug 14, 2026
- 9.102.0not indexedAug 14, 2026
- 9.101.0not indexedAug 14, 2026
- 9.100.1not indexedAug 14, 2026
- 9.100.0not indexedAug 14, 2026
- 9.99.0not indexedAug 14, 2026
- 9.98.4not indexedAug 14, 2026
- 9.98.3not indexedAug 14, 2026
- 9.98.2not indexedAug 14, 2026
- 9.98.1not indexedAug 14, 2026
- 9.98.0not indexedAug 14, 2026
- 9.97.0not indexedAug 14, 2026
- 9.96.0not indexedAug 14, 2026
- 9.95.0not indexedAug 14, 2026
- 9.94.1not indexedAug 14, 2026
- 9.94.0not indexedAug 14, 2026
- 9.93.0not indexedAug 14, 2026
- 9.92.1not indexedAug 14, 2026
- 9.92.0not indexedAug 14, 2026
- 9.91.0not indexedAug 14, 2026
- 9.90.1not indexedAug 14, 2026
- 9.90.0not indexedAug 14, 2026
- 9.89.1not indexedAug 14, 2026
- 9.89.0not indexedAug 14, 2026
- 9.88.0not indexedAug 14, 2026
- 9.87.1not indexedAug 14, 2026
- 9.87.0not indexedAug 14, 2026
- 9.86.3not indexedAug 14, 2026
- 9.86.2not indexedAug 14, 2026
- 9.86.1not indexedAug 14, 2026
- 9.86.0not indexedAug 14, 2026
- 9.85.0not indexedAug 14, 2026
- 9.84.1not indexedAug 14, 2026
- 9.84.0not indexedAug 14, 2026
- 9.83.1not indexedAug 14, 2026
- 9.83.0not indexedAug 14, 2026
- 9.82.2not indexedAug 14, 2026
- 9.82.1not indexedAug 14, 2026
- 9.82.0not indexedAug 14, 2026
- 9.81.1not indexedAug 14, 2026
- 9.81.0not indexedAug 14, 2026
- 9.80.0not indexedAug 14, 2026
- 9.79.0not indexedAug 14, 2026
- 9.78.0not indexedAug 14, 2026
- 9.77.0not indexedAug 14, 2026
- 9.76.2not indexedAug 14, 2026
- 9.76.1not indexedAug 14, 2026
- 9.76.0not indexedAug 14, 2026
- 9.75.2not indexedAug 14, 2026
- 9.75.1not indexedAug 14, 2026
- 9.75.0not indexedAug 14, 2026
- 9.74.0not indexedAug 14, 2026
- 9.73.0not indexedAug 14, 2026
- 9.72.4not indexedAug 14, 2026
- 9.72.3not indexedAug 14, 2026
- 9.72.2not indexedAug 14, 2026
- 9.72.1not indexedAug 14, 2026
- 9.72.0not indexedAug 14, 2026
- 9.71.1not indexedAug 14, 2026
- 9.71.0not indexedAug 14, 2026
- 9.70.0not indexedAug 14, 2026
- 9.69.0not indexedAug 14, 2026
- 9.68.0not indexedAug 14, 2026
- 9.67.0not indexedAug 14, 2026
- 9.66.0not indexedAug 14, 2026
- 9.65.3not indexedAug 14, 2026
- 9.65.2not indexedAug 14, 2026
- 9.65.1not indexedAug 14, 2026
- 9.65.0not indexedAug 14, 2026
- 9.64.1not indexedAug 14, 2026
- 9.64.0not indexedAug 14, 2026
- 9.63.0not indexedAug 14, 2026
- 9.62.4not indexedAug 14, 2026
- 9.62.3not indexedAug 14, 2026
- 9.62.2not indexedAug 14, 2026
- 9.62.1not indexedAug 14, 2026
- 9.62.0not indexedAug 14, 2026
- 9.61.1not indexedAug 14, 2026
- 9.61.0not indexedAug 14, 2026
- 9.60.1not indexedAug 14, 2026
- 9.60.0not indexedAug 14, 2026
- 9.59.1not indexedAug 14, 2026
- 9.59.0not indexedAug 14, 2026
- 9.58.3not indexedAug 14, 2026
- 9.58.2not indexedAug 14, 2026
- 9.58.1not indexedAug 14, 2026
github.com/PlaceOS/models
PlaceOS entity models.
Installation
# Add this to your shard.yml
dependencies:
placeos-models:
github: PlaceOS/models
version: ~> 9.107.5Then run:
shards installshard.yml
- Crystal
~> 1.4
Dependencies
Runtime Dependencies
- jwt*github: crystal-community/jwt
- pars*github: spider-gazelle/pars
- ulid>= 0.1github: place-labs/ulid
- future*github: crystal-community/future.cr
- pg-orm*github: spider-gazelle/pg-orm
- cron_parser*github: kostya/cron_parser
- CrystalEmail*github: place-labs/CrystalEmail
- active-model~> 4.4github: spider-gazelle/active-model
- neuroplastic~> 1.6github: spider-gazelle/neuroplastic
- upload-signer*github: spider-gazelle/upload-signer
- place_calendar*github: PlaceOS/calendar
- json-merge-patch*github: caspiano/json-merge-patch
- placeos-log-backend>= 0.11.0github: place-labs/log-backend
Development Dependencies
README
PlaceOS Models
The database models for PlaceOS in crystal.
PlaceOS is a distributed application, with many concurrent event sources that require persistence. We use RethinkDB to unify our database and event bus, giving us a consistent interface to state and events across the system.
Configuration
Environment
| Key | Description | Default |
| ------------------------- | ---------------------------------------------- | ----------- |
| PLACE_MAX_VERSIONS | Number of versions to keep of versioned models | 20 |
| PG_HOST | Postgresql host | "localhost" |
| PG_PORT | Postgresql port | 5432 |
| PG_DB | Database name or PG_DATABASE | "test" |
| PG_USER | Database user | "postgres" |
| PG_PASSWORD | Database password | "" |
| PG_QUERY | Query string, that can be used to configure pooling | "" |
| PG_LOCK_TIMEOUT | Timeout on retrying Advisory lock in seconds | 5 |
| PG_DATABASE_URL | Or provide a Database DSN | |
Testing
# prune docker images if you have new migrations that need to run
# since the last time migrations image was built
docker system prune --all
# builds migrations and runs tests in a containerised env
./test
Contributing
See CONTRIBUTING.md.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
9.107.5- Tagged
- Aug 14, 2026
- Commit
28316a4112d8- Crystal
~> 1.4- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/PlaceOS/models
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 100