mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #33509 -- Added "(no-op)" to sqlmigrate output for operations without SQL statement.
This commit is contained in:
committed by
Mariusz Felisiak
parent
f15f7d395c
commit
6f453cd298
10
tests/migrations/test_migrations_noop/0001_initial.py
Normal file
10
tests/migrations/test_migrations_noop/0001_initial.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
operations = [
|
||||
migrations.RunSQL(sql="", reverse_sql=""),
|
||||
]
|
||||
Reference in New Issue
Block a user