Skip to content

Commit

Permalink
Use the document profile for the Update.body column.
Browse files Browse the repository at this point in the history
  • Loading branch information
miteshashar committed Dec 13, 2022
1 parent d63c59b commit 9b25f07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions funnel/models/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
BaseScopedIdNameMixin,
Commentset,
Mapped,
MarkdownCompositeBasic,
MarkdownCompositeDocument,
Project,
TimestampMixin,
TSVectorType,
Expand Down Expand Up @@ -106,7 +106,7 @@ class Update(
)
parent = sa.orm.synonym('project')

body = MarkdownCompositeBasic.create('body', nullable=False)
body = MarkdownCompositeDocument.create('body', nullable=False)

#: Update number, for Project updates, assigned when the update is published
number = with_roles(
Expand Down

0 comments on commit 9b25f07

Please sign in to comment.