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.dev2.tar.gz (34.7 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.dev2-py3-none-any.whl (35.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xync_db-0.0.2.dev2.tar.gz
  • Upload date:
  • Size: 34.7 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.dev2.tar.gz
Algorithm Hash digest
SHA256 e4604fef48cb9e47b30f82e74b1dd2e9f697ca2ccc2ec26b1b8238c40a9909c6
MD5 4e33e6316f753d59fb6b73ace99d429a
BLAKE2b-256 42c2310837e187fb2c263e716b04ac87025afb78fe6a853bdb79eadd2e48f5a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for xync_db-0.0.2.dev2.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.dev2-py3-none-any.whl.

File metadata

  • Download URL: xync_db-0.0.2.dev2-py3-none-any.whl
  • Upload date:
  • Size: 35.7 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.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 6bd052a8cb8fe21c18aa482edfbe9dd3a3469b19bb7f251659388c4d7801c50f
MD5 455ada92a6c869792fc8cae17cad0e2b
BLAKE2b-256 a3289d557ca285c5656d2122e593a072f87f1b4da4fa438a0734202a80d0013d

See more details on using hashes here.

Provenance

The following attestation bundles were made for xync_db-0.0.2.dev2-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