Skip to main content

Xync DB schema: Tortoise ORM models, enums, pydantic DTOs.

Project description

xync-db

Tortoise ORM models, enums, pydantic DTOs, and migrations. Single source of truth for data shape across the monorepo.

Migrations (native Tortoise CLI — no aerich)

cd packages/xync-db
uv run tortoise init              # only once
uv run tortoise makemigrations    # detect changes
uv run tortoise migrate           # apply
uv run tortoise downgrade models 0001_initial   # roll back
uv run tortoise sqlmigrate models 0001_initial  # preview SQL

Config lives in this package's pyproject.toml under [tool.tortoise].

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xync_db-0.0.2.tar.gz (35.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xync_db-0.0.2-py3-none-any.whl (36.0 kB view details)

Uploaded Python 3

File details

Details for the file xync_db-0.0.2.tar.gz.

File metadata

  • Download URL: xync_db-0.0.2.tar.gz
  • Upload date:
  • Size: 35.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for xync_db-0.0.2.tar.gz
Algorithm Hash digest
SHA256 cd5bf9d7994ada66ac31121af2b0b10744cd135e2719dfcb4ad7455be6aa4200
MD5 e52f5758fbc4984dc870fdb8c5dccab5
BLAKE2b-256 78959bc1f3f8c6c862c9339e8e0df53ee06113b227e44de6a680071105ce1584

See more details on using hashes here.

Provenance

The following attestation bundles were made for xync_db-0.0.2.tar.gz:

Publisher: auto-release-db.yml on XyncNet/service

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xync_db-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: xync_db-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 36.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for xync_db-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dfccaf087864ce25af90d068facf89da866b7f02924eed0a3b328fbd626e890b
MD5 ed3270df74ff50c8e2efeb006fda1c10
BLAKE2b-256 374f94539bae4c8a43701022fa85c5dd49e1550092f22306d3beb6390b4ed89d

See more details on using hashes here.

Provenance

The following attestation bundles were made for xync_db-0.0.2-py3-none-any.whl:

Publisher: auto-release-db.yml on XyncNet/service

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page