mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
test
This commit is contained in:
parent
4ea9399a46
commit
f0ab7e43ec
@ -12,7 +12,7 @@ from sopel.db import SopelDB, _deserialize
|
||||
from .Config import config as botconfig
|
||||
|
||||
from sqlalchemy.engine.url import URL
|
||||
from sqlalchemy import create_engine, Column, String, ForeignKey, Integer, Text
|
||||
from sqlalchemy import create_engine, Column, String, ForeignKey, Integer, Unicode
|
||||
from sqlalchemy.ext.declarative import declarative_base
|
||||
from sqlalchemy.exc import SQLAlchemyError
|
||||
|
||||
@ -50,7 +50,7 @@ class NickValues(BASE):
|
||||
nick_id = Column(Integer, ForeignKey('spice_nick_ids.nick_id'), primary_key=True)
|
||||
namespace = Column(String(255), primary_key=True)
|
||||
key = Column(String(255), primary_key=True)
|
||||
value = Column(Text())
|
||||
value = Column(Unicode())
|
||||
|
||||
|
||||
class ChannelValues(BASE):
|
||||
@ -61,7 +61,7 @@ class ChannelValues(BASE):
|
||||
channel = Column(String(255), primary_key=True)
|
||||
namespace = Column(String(255), primary_key=True)
|
||||
key = Column(String(255), primary_key=True)
|
||||
value = Column(Text())
|
||||
value = Column(Unicode())
|
||||
|
||||
|
||||
class PluginValues(BASE):
|
||||
@ -72,7 +72,7 @@ class PluginValues(BASE):
|
||||
plugin = Column(String(255), primary_key=True)
|
||||
namespace = Column(String(255), primary_key=True)
|
||||
key = Column(String(255), primary_key=True)
|
||||
value = Column(Text())
|
||||
value = Column(Unicode())
|
||||
|
||||
|
||||
class SpiceDB(object):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user