{% extends "base.html.j2" %} {% block title %}Migration Dashboard - FastPluggy{% endblock %} {% block content %}
Total Plugins
{{ stats.total_plugins or 0 }}
With migrations
{{ stats.plugins_with_migrations or 0 }}
Pending Migrations
{{ stats.pending_migrations or 0 }}
Across all plugins
Applied Migrations
{{ stats.applied_migrations or 0 }}
Successfully executed
Failed Migrations
{{ stats.failed_migrations or 0 }}
Need attention

Recent Migration Activity

{% if recent_activity %}
{% for activity in recent_activity %}
{% if activity.status == 'success' %} {% elif activity.status == 'failed' %} {% elif activity.status == 'running' %} {% else %} {% endif %}
{{ activity.plugin_name }}
{{ activity.filename }} {% if activity.status == 'success' %} executed successfully {% elif activity.status == 'failed' %} failed - {{ activity.error_message[:50] }}{% if activity.error_message|length > 50 %}...{% endif %} {% else %} {{ activity.status }} {% endif %}
{% if activity.applied_at %} {{ activity.applied_at.strftime('%H:%M:%S') }} {% else %} Just now {% endif %}
{% endfor %}
{% else %}

No recent migration activity

When migrations are executed, they will appear here.

{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}