2014-05-16 01:41:55 +08:00
|
|
|
# -*- coding: utf-8 -*-
|
2014-04-01 03:25:08 +08:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2013-05-30 00:47:10 +08:00
|
|
|
from django.db import migrations, models
|
2013-05-10 23:00:55 +08:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
2014-01-08 21:00:12 +08:00
|
|
|
dependencies = [
|
|
|
|
("migrations", "0001_initial"),
|
|
|
|
]
|
2013-05-30 00:47:10 +08:00
|
|
|
|
|
|
|
operations = [
|
|
|
|
|
|
|
|
migrations.DeleteModel("Tribble"),
|
|
|
|
|
|
|
|
migrations.RemoveField("Author", "silly_field"),
|
|
|
|
|
2013-05-31 01:08:58 +08:00
|
|
|
migrations.AddField("Author", "rating", models.IntegerField(default=0)),
|
2013-05-30 00:47:10 +08:00
|
|
|
|
|
|
|
migrations.CreateModel(
|
|
|
|
"Book",
|
|
|
|
[
|
|
|
|
("id", models.AutoField(primary_key=True)),
|
|
|
|
("author", models.ForeignKey("migrations.Author", null=True)),
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
]
|