feat(db): add newsletter schema #68
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "exe-dev-bot/market:feat/newsletter-schema"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds the database schema for the weekly newsletter feature (spec-003).
Changes
newsletter_enabledboolean column tocontact_infotablenewslettertable for storing generated newslettersnewsletter_send_logtable for tracking email sendsannouncementtable for admin announcements10_indexes.sqlto99_indexes.sqlso it runs after all tablesSET search_path = publicto SECURITY DEFINER functions in connections schemaNew Tables
newsletternewsletter_send_logannouncementTesting
just db-resetapplies cleanlycontact_infotable hasnewsletter_enabledboolean column (default: false)Spec Progress
Completes the Database Schema section of spec-003 (9/9 tasks).
df9f631c64b9554ce7d9