SimSite Deploy
Deploy SimSite - Simulation platform with FEniCS and Dang Van analysis
4464a90
# Generated by Django 6.0.2 on 2026-02-04 13:38
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Simulation',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(blank=True, max_length=255)),
('parameters', models.JSONField(default=dict)),
('status', models.CharField(choices=[('pending', 'En attente'), ('running', 'En cours'), ('completed', 'Terminée'), ('failed', 'Échouée')], default='pending', max_length=20)),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now=True)),
('completed_at', models.DateTimeField(blank=True, null=True)),
('result_summary', models.JSONField(blank=True, null=True)),
('result_file_path', models.CharField(blank=True, max_length=500)),
('result_image_path', models.CharField(blank=True, max_length=500)),
('error_message', models.TextField(blank=True)),
],
),
]