Coverage for app/models/profileNote.py: 100%
8 statements
« prev ^ index » next coverage.py v7.2.7, created at 2024-08-25 18:59 +0000
« prev ^ index » next coverage.py v7.2.7, created at 2024-08-25 18:59 +0000
1from app.models import *
2from app.models.user import User
3from app.models.note import Note
5class ProfileNote(baseModel):
6 user = ForeignKeyField(User)
7 note = ForeignKeyField(Note, null=False)
8 isBonnerNote = BooleanField(default=False)
9 viewTier = IntegerField(default=3)