86f8f20776
To showcase database connectivity.
21 lines
559 B
Python
21 lines
559 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import models, migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='PageView',
|
|
fields=[
|
|
('id', models.AutoField(verbose_name='ID', auto_created=True, serialize=False, primary_key=True)),
|
|
('hostname', models.CharField(max_length=32)),
|
|
('timestamp', models.DateTimeField(auto_now_add=True)),
|
|
],
|
|
),
|
|
]
|