diff --git a/sopel_modules/SpiceBot/Database.py b/sopel_modules/SpiceBot/Database.py index a3d4a24..0824655 100644 --- a/sopel_modules/SpiceBot/Database.py +++ b/sopel_modules/SpiceBot/Database.py @@ -80,6 +80,18 @@ class PluginValues(BASE): value = Column(Text()) +class ChannelNickValues(BASE): + """ + PluginValues SQLAlchemy Class + """ + __tablename__ = 'spice_plugin_values' + __table_args__ = MYSQL_TABLE_ARGS + plugin = Column(String(255), primary_key=True) + namespace = Column(String(255), primary_key=True) + key = Column(String(255), primary_key=True) + value = Column(Text()) + + class SpiceDB(object): # NICK FUNCTIONS