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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd5bf9d7994ada66ac31121af2b0b10744cd135e2719dfcb4ad7455be6aa4200
|
|
| MD5 |
e52f5758fbc4984dc870fdb8c5dccab5
|
|
| BLAKE2b-256 |
78959bc1f3f8c6c862c9339e8e0df53ee06113b227e44de6a680071105ce1584
|
Provenance
The following attestation bundles were made for xync_db-0.0.2.tar.gz:
Publisher:
auto-release-db.yml on XyncNet/service
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xync_db-0.0.2.tar.gz -
Subject digest:
cd5bf9d7994ada66ac31121af2b0b10744cd135e2719dfcb4ad7455be6aa4200 - Sigstore transparency entry: 1573127071
- Sigstore integration time:
-
Permalink:
XyncNet/service@62c27225d6c506b7db4ad6353def20eac2227d37 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/XyncNet
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
auto-release-db.yml@62c27225d6c506b7db4ad6353def20eac2227d37 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfccaf087864ce25af90d068facf89da866b7f02924eed0a3b328fbd626e890b
|
|
| MD5 |
ed3270df74ff50c8e2efeb006fda1c10
|
|
| BLAKE2b-256 |
374f94539bae4c8a43701022fa85c5dd49e1550092f22306d3beb6390b4ed89d
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xync_db-0.0.2-py3-none-any.whl -
Subject digest:
dfccaf087864ce25af90d068facf89da866b7f02924eed0a3b328fbd626e890b - Sigstore transparency entry: 1573127119
- Sigstore integration time:
-
Permalink:
XyncNet/service@62c27225d6c506b7db4ad6353def20eac2227d37 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/XyncNet
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
auto-release-db.yml@62c27225d6c506b7db4ad6353def20eac2227d37 -
Trigger Event:
push
-
Statement type: