cxvvxc
This commit is contained in:
parent
fc00422b04
commit
fd5aeb3df3
2 changed files with 25 additions and 0 deletions
13
files/classes/marsey.py
Normal file
13
files/classes/marsey.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
from sqlalchemy import *
|
||||
from files.__main__ import Base
|
||||
|
||||
class Marsey(Base):
|
||||
__tablename__ = "marseys"
|
||||
|
||||
name = Column(String, primary_key=True)
|
||||
author = Column(Integer, ForeignKey("users.id"))
|
||||
tags = Column(String, ForeignKey("users.id"))
|
||||
count = Column(Integer)
|
||||
|
||||
def __repr__(self):
|
||||
return f"<Marsey(name={self.name})>"
|
Loading…
Add table
Add a link
Reference in a new issue