migration to actually drop the activity_userlog table + extra non-db catchup (#18886)

This commit is contained in:
Andrew Williamson 2022-02-22 15:14:14 +00:00 коммит произвёл GitHub
Родитель 1c839e786d
Коммит 51d95d8517
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 51 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,33 @@
# Generated by Django 3.2.12 on 2022-02-22 13:59
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0008_alter_emailuserrestriction_email_pattern'),
('activity', '0013_auto_20211104_1748'),
]
operations = [
migrations.CreateModel(
name='GenericMozillaUser',
fields=[
],
options={
'proxy': True,
'indexes': [],
'constraints': [],
},
bases=('users.userprofile',),
),
migrations.AlterField(
model_name='activitylog',
name='action',
field=models.SmallIntegerField(choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6), (7, 7), (8, 8), (9, 9), (12, 12), (16, 16), (17, 17), (18, 18), (19, 19), (20, 20), (21, 21), (22, 22), (23, 23), (24, 24), (25, 25), (26, 26), (27, 27), (28, 28), (29, 29), (31, 31), (32, 32), (33, 33), (34, 34), (35, 35), (36, 36), (37, 37), (38, 38), (39, 39), (40, 40), (41, 41), (42, 42), (43, 43), (44, 44), (45, 45), (46, 46), (47, 47), (48, 48), (49, 49), (53, 53), (60, 60), (61, 61), (62, 62), (98, 98), (99, 99), (100, 100), (101, 101), (102, 102), (103, 103), (104, 104), (105, 105), (106, 106), (107, 107), (108, 108), (109, 109), (110, 110), (120, 120), (121, 121), (128, 128), (130, 130), (131, 131), (132, 132), (133, 133), (134, 134), (135, 135), (136, 136), (137, 137), (138, 138), (139, 139), (140, 140), (141, 141), (142, 142), (143, 143), (144, 144), (145, 145), (146, 146), (147, 147), (148, 148), (149, 149), (150, 150), (151, 151), (152, 152), (153, 153), (154, 154), (155, 155), (156, 156), (157, 157), (158, 158), (159, 159), (160, 160), (161, 161), (162, 162), (163, 163), (164, 164), (165, 165), (166, 166), (167, 167), (168, 168)]),
),
migrations.DeleteModel(
name='UserLog',
),
]

Просмотреть файл

@ -0,0 +1,18 @@
# Generated by Django 3.2.12 on 2022-02-22 13:59
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0007_auto_20220125_1636'),
]
operations = [
migrations.AlterField(
model_name='emailuserrestriction',
name='email_pattern',
field=models.CharField(help_text='Enter full email that should be blocked or use unix-style wildcards, e.g. "*@example.com". If you need to block a domain incl subdomains, add a second entry, e.g. "*@*.example.com".', max_length=100, verbose_name='Email Pattern'),
),
]