27 lines
753 B
Python
27 lines
753 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.29 on 2020-06-26 14:42
|
|
from __future__ import unicode_literals
|
|
|
|
import django.contrib.postgres.fields.jsonb
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Entry',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('timestamp', models.DateTimeField(db_index=True)),
|
|
('host', models.CharField(db_index=True, max_length=128)),
|
|
('data', django.contrib.postgres.fields.jsonb.JSONField()),
|
|
]
|
|
),
|
|
]
|