mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #29198 -- Added migrate --plan option.
This commit is contained in:
committed by
Tim Graham
parent
1160a97596
commit
058d33f3ed
19
tests/migrations/test_migrations_plan/0003_third.py
Normal file
19
tests/migrations/test_migrations_plan/0003_third.py
Normal file
@@ -0,0 +1,19 @@
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('migrations', '0002_second'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
||||
migrations.CreateModel(
|
||||
'Author',
|
||||
[
|
||||
('id', models.AutoField(primary_key=True)),
|
||||
],
|
||||
),
|
||||
migrations.RunSQL('SELECT * FROM migrations_author', 'SELECT * FROM migrations_book')
|
||||
]
|
||||
Reference in New Issue
Block a user