{% extends "bootstrap/base.html" %} {% block title %}Database Status - MOTM Admin{% endblock %} {% block head %} {{ super() }} {% endblock %} {% block content %}

Database Status

Current database configuration and connection status.

Database Information

Connection Status:
{{ db_info.connection_status }}
Database Type:
{{ db_info.database_type|title }}
Database URL:
{{ db_info.database_url }}
Tables Count:
{{ db_info.table_count }}
{% if db_info.table_count != 'Unknown' and db_info.table_count > 0 %}

Database Tables

The database contains {{ db_info.table_count }} tables. The following tables are available:

  • players - Player information and details
  • clubs - Hockey club information
  • teams - Team information and league details
  • match_squad - Match squad selections
  • hockey_fixtures - Match fixtures and results
  • admin_settings - Application configuration
  • motm_votes - Man of the Match voting data
  • match_comments - Match comments and feedback
  • hockey_users - User authentication data
{% endif %}

Configuration Help

SQLite

Best for development and small deployments. No server required.

  • File-based database
  • No installation required
  • Good for testing

MySQL/MariaDB

Popular choice for web applications. Good performance and reliability.

  • Server-based database
  • Good for production
  • Wide hosting support

PostgreSQL

Advanced features and excellent performance. Great for complex applications.

  • Advanced SQL features
  • Excellent performance
  • Strong data integrity
{% endblock %}