Skip to content

Commit

Permalink
fix: limit hex color-code db field length to 7 characters scidsg#573
Browse files Browse the repository at this point in the history
Suggested in review:
scidsg#573 (comment)

For Roadmap Item scidsg#533

Co-authored-by: Jeremy Moore <jeremymoore@gmail.com>
  • Loading branch information
rmlibre and jeremywmoore committed Sep 16, 2024
1 parent e9ca02d commit ab0a212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hushline/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class HostOrganization(Model):

id: Mapped[int] = mapped_column(primary_key=True, default=1)
brand_app_name: Mapped[str] = mapped_column(db.String(255), default="🤫 Hush Line")
brand_primary_hex_color: Mapped[str] = mapped_column(db.String(255), default="#7d25c1")
brand_primary_hex_color: Mapped[str] = mapped_column(db.String(7), default="#7d25c1")


class User(Model):
Expand Down

0 comments on commit ab0a212

Please sign in to comment.