mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-29 16:03:21 +00:00
30 lines
1.0 KiB
Python
30 lines
1.0 KiB
Python
# Generated by Django 5.1.3 on 2025-11-30 11:02
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('Establishment', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='SMTPSettings',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('smtp_server', models.CharField(max_length=255)),
|
|
('smtp_port', models.PositiveIntegerField()),
|
|
('smtp_user', models.CharField(max_length=255)),
|
|
('smtp_password', models.CharField(max_length=255)),
|
|
('use_tls', models.BooleanField(default=True)),
|
|
('use_ssl', models.BooleanField(default=False)),
|
|
('establishment', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Establishment.establishment')),
|
|
],
|
|
),
|
|
]
|