xync-schema 0.6.66__tar.gz → 0.6.67__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.2
2
2
  Name: xync-schema
3
- Version: 0.6.66
3
+ Version: 0.6.67
4
4
  Summary: XyncNet project database model schema
5
5
  Author-email: Mike Artemiev <mixartemev@gmail.com>
6
6
  License: EULA
@@ -340,6 +340,16 @@ class PmexBank(BaseModel): # banks for SBP
340
340
  unique_together = (("pmex", "exid"),)
341
341
 
342
342
 
343
+ class FiatBank(BaseModel): # banks for SBP
344
+ pmexbank: fields.ForeignKeyRelation[PmexBank] = fields.ForeignKeyField("models.PmexBank", "fiatbanks")
345
+ pmexbank_id: int
346
+ fiat: fields.ForeignKeyRelation["Fiat"] = fields.ForeignKeyField("models.Fiat", "fiatbanks")
347
+ fiat_id: int
348
+
349
+ class Meta:
350
+ unique_together = (("fiat_id", "pmexbank_id"),)
351
+
352
+
343
353
  class Pmcurex(BaseModel): # existence pm in ex for exact cur, with "blocked" flag
344
354
  pmcur: fields.ForeignKeyRelation[Pmcur] = fields.ForeignKeyField("models.Pmcur")
345
355
  pmcur_id: int
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: xync-schema
3
- Version: 0.6.66
3
+ Version: 0.6.67
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