This directory contains the database schema and query functions for the Side Hustle Hub application.
migrations.ts: Contains the database schema definitions and initial setupqueries.ts: Contains typed query functions for interacting with the databaseThe application uses SQLite with the following tables:
side_hustle_users_1: Stores user informationside_hustle_opportunities_1: Stores side hustle opportunitiesside_hustle_chat_rooms_1: Stores chat room informationside_hustle_messages_1: Stores chat messagesThe database is initialized when the application starts by calling runMigrations() from the main backend entry point.
Query functions are exported from queries.ts and provide typed access to the database.