2019-12-05 15:14:08 +00:00
|
|
|
# Generated by Django 2.2.8 on 2019-12-05 14:07
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
|
|
import passbook.audit.models
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
2019-12-31 11:51:16 +00:00
|
|
|
("passbook_audit", "0002_auto_20191028_0829"),
|
2019-12-05 15:14:08 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterModelOptions(
|
2019-12-31 11:51:16 +00:00
|
|
|
name="event",
|
|
|
|
options={
|
|
|
|
"verbose_name": "Audit Event",
|
|
|
|
"verbose_name_plural": "Audit Events",
|
|
|
|
},
|
2019-12-05 15:14:08 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2019-12-31 11:51:16 +00:00
|
|
|
model_name="event",
|
|
|
|
name="action",
|
|
|
|
field=models.TextField(
|
|
|
|
choices=[
|
|
|
|
("LOGIN", "login"),
|
|
|
|
("LOGIN_FAILED", "login_failed"),
|
|
|
|
("LOGOUT", "logout"),
|
|
|
|
("AUTHORIZE_APPLICATION", "authorize_application"),
|
|
|
|
("SUSPICIOUS_REQUEST", "suspicious_request"),
|
|
|
|
("SIGN_UP", "sign_up"),
|
|
|
|
("PASSWORD_RESET", "password_reset"),
|
|
|
|
("INVITE_CREATED", "invitation_created"),
|
|
|
|
("INVITE_USED", "invitation_used"),
|
|
|
|
("CUSTOM", "custom"),
|
|
|
|
]
|
|
|
|
),
|
2019-12-05 15:14:08 +00:00
|
|
|
),
|
|
|
|
]
|