snapshot: preserve company config foundation and staff dashboard access
This commit is contained in:
39
backend/workflows/migrations/0042_portalcompanyconfig.py
Normal file
39
backend/workflows/migrations/0042_portalcompanyconfig.py
Normal file
@@ -0,0 +1,39 @@
|
||||
# Generated by Django 5.1.5 on 2026-03-26 12:48
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('workflows', '0041_portalappconfig_visible_to_admin_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='PortalCompanyConfig',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(default='Default', max_length=80, unique=True)),
|
||||
('legal_company_name', models.CharField(blank=True, default='', max_length=255)),
|
||||
('street_address', models.CharField(blank=True, default='', max_length=255)),
|
||||
('postal_code', models.CharField(blank=True, default='', max_length=50)),
|
||||
('city', models.CharField(blank=True, default='', max_length=120)),
|
||||
('country', models.CharField(blank=True, default='Deutschland', max_length=120)),
|
||||
('website_url', models.URLField(blank=True, default='')),
|
||||
('imprint_url', models.URLField(blank=True, default='')),
|
||||
('privacy_url', models.URLField(blank=True, default='')),
|
||||
('hr_contact_email', models.EmailField(blank=True, default='', max_length=254)),
|
||||
('it_contact_email', models.EmailField(blank=True, default='', max_length=254)),
|
||||
('operations_contact_email', models.EmailField(blank=True, default='', max_length=254)),
|
||||
('phone_number', models.CharField(blank=True, default='', max_length=80)),
|
||||
('vat_id', models.CharField(blank=True, default='', max_length=80)),
|
||||
('registration_number', models.CharField(blank=True, default='', max_length=120)),
|
||||
('updated_at', models.DateTimeField(auto_now=True)),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Portal Company Config',
|
||||
'verbose_name_plural': 'Portal Company Config',
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user