old_01
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
from sqlalchemy import Column, Integer, String
|
||||
from database import Base
|
||||
|
||||
class Poll(Base):
|
||||
__tablename__ = 'polls'
|
||||
|
||||
id = Column(Integer, primary_key=True)
|
||||
option = Column(String, nullable=False)
|
||||
|
||||
Reference in New Issue
Block a user