0009_story.py 843 B

12345678910111213141516171819202122232425262728
  1. # Generated by Django 2.0.5 on 2018-05-29 07:26
  2. import datetime
  3. from django.db import migrations, models
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('storage', '0008_book_author'),
  7. ]
  8. operations = [
  9. migrations.CreateModel(
  10. name='Story',
  11. fields=[
  12. ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  13. ('created_at', models.DateTimeField(auto_now_add=True)),
  14. ('updated_at', models.DateTimeField(auto_now=True)),
  15. ('name', models.CharField(default=datetime.datetime(2018, 5, 29, 7, 26, 8, 966617), max_length=255)),
  16. ('content', models.TextField()),
  17. ],
  18. options={
  19. 'abstract': False,
  20. },
  21. ),
  22. ]