Document Version: 1.0.0
Status: Published
Last Updated: December 3, 2025
Audience: Developers
Maintained By: IoT Bay Documentation Team
IoT Bay uses SQLite for development and PostgreSQL for production.
- Location:
src/main/resources/iotbay.db - Initialization: The app automatically creates tables on startup if they don't exist.
- Tools: Use
DB Browser for SQLiteto inspect data.
- Install:
sudo apt install postgresql - Create DB:
CREATE DATABASE iotbay; - Config: Update
application.propertieswith credentials.
See Database Design for table definitions.