xync-schema 0.6.81__tar.gz → 0.6.82__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xync-schema
3
- Version: 0.6.81
3
+ Version: 0.6.82
4
4
  Summary: XyncNet project database model schema
5
5
  Author-email: Mike Artemiev <mixartemev@gmail.com>
6
6
  License: EULA
@@ -317,10 +317,12 @@ class Ad(Model, TsTrait):
317
317
  direction: fields.ForeignKeyRelation[Direction] = fields.ForeignKeyField("models.Direction", related_name="ads")
318
318
  price: float = fields.FloatField()
319
319
  min_fiat: float = fields.FloatField()
320
- max_fiat: float = fields.FloatField()
320
+ amount: float = fields.FloatField()
321
+ max_fiat: float | None = fields.FloatField(null=True)
321
322
  detail: str | None = fields.CharField(4095, null=True)
322
323
  auto_msg: str | None = fields.CharField(255, null=True)
323
324
  status: AdStatus = fields.IntEnumField(AdStatus, default=AdStatus.active)
325
+ is_payment: bool | None = fields.BooleanField(default=False)
324
326
 
325
327
  maker: fields.ForeignKeyRelation[Actor] = fields.ForeignKeyField("models.Actor", "my_ads")
326
328
  maker_id: int
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xync-schema
3
- Version: 0.6.81
3
+ Version: 0.6.82
4
4
  Summary: XyncNet project database model schema
5
5
  Author-email: Mike Artemiev <mixartemev@gmail.com>
6
6
  License: EULA
File without changes
File without changes
File without changes
File without changes
File without changes