working basic site admin
This commit is contained in:
@@ -49,3 +49,34 @@ class DonationTier(Base):
|
||||
icon = Column(String(10), nullable=False)
|
||||
benefits = Column(JSON, nullable=False)
|
||||
display_order = Column(Integer, nullable=False)
|
||||
|
||||
|
||||
class StationConfig(Base):
|
||||
__tablename__ = "station_config"
|
||||
|
||||
id = Column(Integer, primary_key=True, autoincrement=True)
|
||||
key = Column(String(20), unique=True, nullable=False, default="default")
|
||||
|
||||
# Identity
|
||||
callsign = Column(String(10), nullable=False, default="KMTN")
|
||||
name_primary = Column(String(100), nullable=False, default="KMountain")
|
||||
name_secondary = Column(String(100), nullable=False, default="Flower Radio")
|
||||
tagline = Column(String(200), nullable=False, default="Community Radio — Est. 1987")
|
||||
frequency = Column(String(10), nullable=False, default="98.7 FM")
|
||||
founded_year = Column(Integer, nullable=False, default=1987)
|
||||
|
||||
# Nonprofit
|
||||
nonprofit_type = Column(String(10), nullable=False, default="501(c)(3)")
|
||||
ein = Column(String(20), nullable=False, default="84-XXXXXXX")
|
||||
|
||||
# Images (URL strings relative to app root)
|
||||
logo_url = Column(String(500), nullable=False, default="svg/small-flower.svg")
|
||||
hero_background_url = Column(String(500), nullable=False, default="svg/mountain-landscape.svg")
|
||||
hero_icon_url = Column(String(500), nullable=False, default="svg/orange-flower.svg")
|
||||
hero_divider_url = Column(String(500), nullable=False, default="svg/mountain-divider.svg")
|
||||
|
||||
# Contact
|
||||
address = Column(Text, nullable=False, default="42 Pine Street\nMountain View, CO 80424")
|
||||
phone = Column(String(30), nullable=False, default="(970) 555-0198")
|
||||
email = Column(String(100), nullable=False, default="hello@kmountainflower.org")
|
||||
website = Column(String(200), nullable=False, default="kmountainflower.org")
|
||||
|
||||
Reference in New Issue
Block a user