We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2e8c46 commit d37244dCopy full SHA for d37244d
diracx-db/src/diracx/db/sql/rss/schema.py
@@ -20,8 +20,6 @@ class RSSBase(DeclarativeBase):
20
21
22
class ElementStatusBase:
23
- """Prototype for tables."""
24
-
25
__table_args__ = {"mysql_engine": "InnoDB", "mysql_charset": "utf8mb4"}
26
27
name: Mapped[str64] = mapped_column("Name", primary_key=True)
@@ -45,9 +43,9 @@ class ElementStatusBase:
45
43
46
44
47
class ElementStatusBaseWithID(ElementStatusBase):
48
- """Prototype for tables.
+ """Almost the same as ElementStatusBase.
49
50
- This is almost the same as ElementStatusBase, with the following differences:
+ Differences:
51
- there's an autoincrement ID column which is also the primary key
52
- the name and statusType components are not part of the primary key
53
"""
0 commit comments