You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
361 B
12 lines
361 B
from sqlalchemy import Column, String, Integer, Date
|
|
from sqlalchemy.ext.declarative import declarative_base
|
|
from database_session import Base
|
|
|
|
class DiscordChannel(Base):
|
|
__tablename__ = 'discord_channels'
|
|
|
|
id = Column(Integer, primary_key=True)
|
|
channel_id = Column(Integer)
|
|
|
|
def __init__(self, channel_id):
|
|
self.channel_id = channel_id |