Files
pawctioneer-bot/backlog/tasks/task-008 - Integrate-database-with-bot-commands.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.1 KiB

id, title, status, assignee, created_date, updated_date, labels, dependencies
id title status assignee created_date updated_date labels dependencies
task-008 Integrate database with bot commands To Do
2025-08-27 18:31 2025-08-27 19:21

Description

Connect the database operations with the existing bot command handlers to enable real functionality. Replace stub implementations with actual database-backed operations.

Acceptance Criteria

  • #1 Start command registers new users automatically
  • #2 Settings command integrates with user_settings table
  • #3 MyAuctions command displays user's actual auctions
  • #4 MyBids command shows user's actual bid history
  • #5 Error handling for database operations in commands
  • #6 User context is properly passed to database operations
  • #7 Start command registers new users automatically
  • #8 Settings command integrates with user_settings table
  • #9 MyListings command displays user's actual listings
  • #10 MyBids command shows user's actual bid history
  • #11 Error handling for database operations in commands
  • #12 User context is properly passed to database operations