2018-05-19 15:38:02 +00:00
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
2022-02-03 19:24:19 +00:00
|
|
|
("migrations", "0001_initial"),
|
2018-05-19 15:38:02 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
2022-02-03 19:24:19 +00:00
|
|
|
"Book",
|
2018-05-19 15:38:02 +00:00
|
|
|
[
|
2022-02-03 19:24:19 +00:00
|
|
|
("id", models.AutoField(primary_key=True)),
|
2018-05-19 15:38:02 +00:00
|
|
|
],
|
|
|
|
),
|
2022-02-03 19:24:19 +00:00
|
|
|
migrations.RunSQL(
|
|
|
|
["SELECT * FROM migrations_book"], ["SELECT * FROM migrations_salamander"]
|
|
|
|
),
|
2018-05-19 15:38:02 +00:00
|
|
|
]
|