Files
edx-platform/common/djangoapps/track/migrations/0001_initial.py
Usman Khalid 6cb62f2697 Rebase upgrade Django to v1.8.5
Please note that this is a squshed commit and the work of:
Symbolist, macdiesel, nedbat, doctoryes, muzaffaryousaf and muhammad-ammar
2015-11-10 15:00:19 -05:00

33 lines
1.2 KiB
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
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=b'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=b'event time')),
('host', models.CharField(max_length=64, blank=True)),
],
options={
'db_table': 'track_trackinglog',
},
),
]