lono/models.py

11 lines
199 B
Python
Raw Normal View History

2018-11-20 19:51:15 +00:00
from sqlobject import *
sqlhub.processConnection = connectionForURI('sqlite:db.sqlite3')
class Subscriber(SQLObject):
user_id = StringCol(length=32)
Subscriber.createTable(ifNotExists=True)