mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #23699 -- Prevented flush from loading initial data for apps with migrations.
This commit is contained in:
16
tests/fixtures_migration/migrations/0001_initial.py
Normal file
16
tests/fixtures_migration/migrations/0001_initial.py
Normal file
@@ -0,0 +1,16 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
"Book",
|
||||
[
|
||||
("name", models.CharField(max_length=100)),
|
||||
],
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user