Files
pawctioneer-bot/backlog/tasks/task-010 - Rename-'auction'-to-'listing'-throughout-codebase.md
Dylan Knutson 348fa416e8 feat: implement database layer and rename auction -> listing
Major Changes:
- Set up SQLx database connection and migration system
- Create complete initial database schema with all tables
- Rename 'auction' to 'listing' throughout codebase for better terminology
- Update bot commands: /newauction -> /newlisting, /myauctions -> /mylistings
- Update all database tables: auctions -> listings, auction_medias -> listing_medias
- Update foreign key relationships and indexes
- Add automatic database migration on startup
- Update documentation and README
- Complete backlog tasks: task-001, task-002, task-010

The bot now has a solid database foundation ready for implementing core business logic.
All tests pass and code compiles successfully.
2025-08-27 19:24:15 +00:00

1.2 KiB

id, title, status, assignee, created_date, updated_date, labels, dependencies
id title status assignee created_date updated_date labels dependencies
task-010 Rename 'auction' to 'listing' throughout codebase Done
@assistant
2025-08-27 19:19 2025-08-27 19:22

Description

Update database schema, code references, and documentation to use 'listing' as the generic term covering both auctions and fixed-price sales. This makes the terminology more accurate and user-friendly.

Acceptance Criteria

  • #1 Database schema updated: auctions -> listings table
  • #2 Related table updated: auction_medias -> listing_medias
  • #3 Foreign key references updated: auction_id -> listing_id
  • #4 Code comments and documentation updated
  • #5 Enum values updated: auction_type -> listing_type
  • #6 Backlog tasks and README updated with new terminology

Implementation Notes

Successfully renamed 'auction' to 'listing' throughout the codebase. Updated database schema (auctions -> listings, auction_medias -> listing_medias, auction_id -> listing_id), bot commands (newauction -> newlisting, myauctions -> mylistings), command handlers, README documentation, and backlog tasks. Migration system tested and working with new schema. All code compiles successfully.