2014-01-08 21:00:12 +08:00
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
("auth", "__first__"),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
|
|
|
|
migrations.CreateModel(
|
|
|
|
"Book",
|
|
|
|
[
|
|
|
|
("id", models.AutoField(primary_key=True)),
|
2015-07-22 22:43:21 +08:00
|
|
|
("user", models.ForeignKey("auth.User", models.SET_NULL, null=True)),
|
2014-01-08 21:00:12 +08:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
]
|