mirror of https://github.com/interlegis/sapl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.4 KiB
33 lines
1.4 KiB
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.20 on 2019-10-15 13:33
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('base', '0037_auto_20190527_0901'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='AuditLog',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('username', models.CharField(blank=True, db_index=True, max_length=100, verbose_name='username')),
|
|
('operation', models.CharField(db_index=True, max_length=1, verbose_name='operation')),
|
|
('timestamp', models.DateTimeField(db_index=True, verbose_name='timestamp')),
|
|
('object', models.CharField(blank=True, max_length=4096, verbose_name='object')),
|
|
('object_id', models.PositiveIntegerField(db_index=True, verbose_name='object_id')),
|
|
('model_name', models.CharField(db_index=True, max_length=100, verbose_name='model')),
|
|
('app_name', models.CharField(db_index=True, max_length=100, verbose_name='app')),
|
|
],
|
|
options={
|
|
'verbose_name': 'AuditLog',
|
|
'verbose_name_plural': 'AuditLogs',
|
|
'ordering': ('-id',),
|
|
},
|
|
),
|
|
]
|
|
|