14 lines
339 B
Python
14 lines
339 B
Python
"""Test models."""
|
|
|
|
from sqlalchemy import Column, String
|
|
|
|
from Services.PostgresDb.Models.mixins import CrudCollection
|
|
|
|
|
|
class UserModel(CrudCollection):
|
|
"""User model for PostgreSQL tests."""
|
|
|
|
__tablename__ = "test_users"
|
|
username = Column(String, unique=True, index=True)
|
|
email = Column(String, unique=True, index=True)
|