2020-01-15 22:56:54 +01:00
|
|
|
import orm
|
|
|
|
from . import database, metadata
|
2019-12-30 00:48:11 +01:00
|
|
|
|
|
|
|
|
2020-01-15 22:56:54 +01:00
|
|
|
class AliasesModel(orm.Model):
|
2019-12-30 00:48:11 +01:00
|
|
|
__tablename__ = 'aliases'
|
2020-01-15 22:56:54 +01:00
|
|
|
__database__ = database
|
|
|
|
__metadata__ = metadata
|
|
|
|
|
|
|
|
id = orm.Integer(primary_key=True)
|
|
|
|
user_id = orm.String(max_length=18)
|
|
|
|
alias = orm.String(max_length=255)
|
|
|
|
command = orm.String(max_length=255)
|
|
|
|
guild = orm.String(max_length=255)
|