regluit/booxtream/migrations/0001_initial.py

26 lines
846 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
2016-07-21 19:38:09 +00:00
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='Boox',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('download_link_epub', models.URLField(null=True)),
('download_link_mobi', models.URLField(null=True)),
('referenceid', models.CharField(max_length=32)),
('downloads_remaining', models.PositiveSmallIntegerField(default=0)),
('expirydays', models.PositiveSmallIntegerField()),
('created', models.DateTimeField(auto_now_add=True)),
],
),
]