xync-db 0.4.2.dev13__tar.gz → 0.4.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/PKG-INFO +1 -1
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/migrations/models/0001_initial.py +2 -2
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/models/__init__.py +1 -1
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/.gitignore +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/README.md +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/pyproject.toml +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/__init__.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/config.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/enums.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/exceptions.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/graph.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/i18n.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/logo.png +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/migrations/CLAUDE.md +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/migrations/__init__.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/migrations/models/0002_triggers.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/migrations/models/0003_files_seed.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/migrations/models/0004_all_seed.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/migrations/models/0005_credex_del.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/migrations/models/0006_credex_orphan.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/migrations/models/0007_agent_auth_notify.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/migrations/models/__init__.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/migrations/models/seed/__init__.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/migrations/models/seed/a_actor_seed.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/migrations/models/seed/a_tg_seed.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/migrations/models/seed/b_htx_seed.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/migrations/models/seed/xync_files.sql +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/models/CLAUDE.md +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/py.typed +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/shared.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/typs/__init__.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/typs/db/__init__.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/typs/db/actor.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/typs/db/ad.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/typs/db/common.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/typs/db/cred.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/typs/db/order.py +0 -0
- {xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/typs/db/pm.py +0 -0
|
@@ -10,7 +10,7 @@ from tortoise.fields.db_defaults import Now
|
|
|
10
10
|
from tortoise.migrations import operations as ops
|
|
11
11
|
from tortoise.migrations.constraints import CheckConstraint
|
|
12
12
|
from x_auth.enums import Lang, PeerType, Role
|
|
13
|
-
from x_model.field import DatetimeSecField, UInt1Field, UInt2Field, UInt4Field, UInt8Field,
|
|
13
|
+
from x_model.field import DatetimeSecField, UInt1Field, UInt2Field, UInt4Field, UInt8Field, UniqBinaryField
|
|
14
14
|
|
|
15
15
|
from xync_db.enums import (
|
|
16
16
|
AbuserType,
|
|
@@ -1587,7 +1587,7 @@ class Migration(migrations.Migration):
|
|
|
1587
1587
|
("detail", fields.CharField(max_length=255)),
|
|
1588
1588
|
("name", fields.CharField(null=True, max_length=127)),
|
|
1589
1589
|
("extra", fields.CharField(null=True, max_length=255)),
|
|
1590
|
-
("qr",
|
|
1590
|
+
("qr", fields.BinaryField(null=True)),
|
|
1591
1591
|
(
|
|
1592
1592
|
"person",
|
|
1593
1593
|
fields.ForeignKeyField(
|
|
@@ -1309,7 +1309,7 @@ class MyAd(Model): # Road
|
|
|
1309
1309
|
@classmethod
|
|
1310
1310
|
# запрос для получения объяв всех агентов этой биржи для разогрева
|
|
1311
1311
|
def hot_mads_query(cls, ex_ids: list[int], active: bool = True):
|
|
1312
|
-
fltr = dict(credexs__cred__ovr_pm_id=0,
|
|
1312
|
+
fltr = dict(credexs__cred__ovr_pm_id=0, ad__maker__agent__status__in=[2, 3])
|
|
1313
1313
|
if active:
|
|
1314
1314
|
fltr["ad__status"] = AdStatus.active
|
|
1315
1315
|
if ex_ids:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xync_db-0.4.2.dev13 → xync_db-0.4.3}/src/xync_db/migrations/models/0007_agent_auth_notify.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|