Protocol Deviation Digital Healthcare Product
  • INTRODUCTION
    • Purpose
    • Scope
    • Deployment
  • USER GUIDE
    • User Login
    • User Roles and Permissions
      • Administration
        • User Management
        • Team Management
        • Study Management
        • Audit Trail
    • Data Files
      • Data File Requirements
      • Spreadsheets
        • Using the Spreadsheet for AI Categorisation
        • Using the Spreadsheet for Manual Categorisation
    • Data Upload
      • Audit Trail
      • Data Trail
      • Data Categorisation
    • Data Visualisation
      • Team Visualisations
      • Study Visualisations
    • Maintenance and Support
      • Troubleshooting for users
      • Support contact information
  • TECHNICAL DOCUMENTATION
    • Web App
      • Design
        • Database
        • Backend
        • Frontend
      • Installation
    • AI Classifier
      • User documentation
      • Administrator documentation
      • Code documentation
    • Developer Guide
      • Requirements
      • Installation
      • Builds
      • Database
Powered by GitBook
On this page
  1. TECHNICAL DOCUMENTATION
  2. Developer Guide

Database

This document describes the database configuration.

There are two available database mangement systems (DBMS).

  1. PostgreSQL

    1. This can be used for both local and azure deployment.

    2. For local deployment, create a database called 'qualityassurance'.

    3. Use the schema files in the db/postgres/schema to set up the entities and their relation.

    4. Then add the seed data.

    5. If you want to configure your database url, you must ensure it matches the appropriate properties files.

      1. application-postgres.properties

      2. application-postgres-azure.properties

    6. Ensure the correct credentials are in the relevant properties file.

  2. SQLite

    1. No additional setup is required as SQLite uses a local file-based database.

    2. Ensure `application-sqlite.properties` points to the correct SQLite database file.

PreviousBuilds

Last updated 2 months ago