Files
edx-platform/common/djangoapps/track/migrations/0001_initial.py
Feanil Patel 9cf2f9f298 Run 2to3 -f future . -w
This will remove imports from __future__ that are no longer needed.

https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00

33 lines
1.2 KiB
Python

# -*- coding: utf-8 -*-
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='TrackingLog',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('dtcreated', models.DateTimeField(auto_now_add=True, verbose_name=u'creation date')),
('username', models.CharField(max_length=32, blank=True)),
('ip', models.CharField(max_length=32, blank=True)),
('event_source', models.CharField(max_length=32)),
('event_type', models.CharField(max_length=512, blank=True)),
('event', models.TextField(blank=True)),
('agent', models.CharField(max_length=256, blank=True)),
('page', models.CharField(max_length=512, null=True, blank=True)),
('time', models.DateTimeField(verbose_name=u'event time')),
('host', models.CharField(max_length=64, blank=True)),
],
options={
'db_table': 'track_trackinglog',
},
),
]