mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 04:20:17 +02:00
35 lines
1.2 KiB
Python
35 lines
1.2 KiB
Python
# Generated by Django 5.1.6 on 2025-03-05 00:50
|
|
|
|
import django.db.migrations.operations.special
|
|
import django.db.models.deletion
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
|
|
# Functions from the following migrations need manual copying.
|
|
# Move them and any dependencies into this file, then update the
|
|
# RunPython operations to refer to the local versions:
|
|
# allianceauth.services.modules.phpbb3.migrations.0002_service_permissions
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
replaces = [('phpbb3', '0001_initial'), ('phpbb3', '0002_service_permissions')]
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Phpbb3User',
|
|
fields=[
|
|
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, related_name='phpbb3', serialize=False, to=settings.AUTH_USER_MODEL)),
|
|
('username', models.CharField(max_length=254)),
|
|
],
|
|
options={
|
|
'permissions': (('access_phpbb3', 'Can access the phpBB3 service'),),
|
|
},
|
|
),
|
|
]
|