first commit
This commit is contained in:
9
helix/models/sql/users.py
Normal file
9
helix/models/sql/users.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from sqlalchemy import Column, Integer, Unicode
|
||||
from helix.models.sql.shared_sql_base import Base
|
||||
|
||||
|
||||
class User(Base):
|
||||
__tablename__ = 'users'
|
||||
id = Column(Integer, primary_key=True)
|
||||
username = Column(Unicode, nullable=False)
|
||||
password_hash = Column(Unicode, nullable=False)
|
||||
Reference in New Issue
Block a user