lono/models.py
2018-11-20 22:51:15 +03:00

11 lines
199 B
Python

from sqlobject import *
sqlhub.processConnection = connectionForURI('sqlite:db.sqlite3')
class Subscriber(SQLObject):
user_id = StringCol(length=32)
Subscriber.createTable(ifNotExists=True)