mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-24 15:29:36 +02:00
Fix migrations
This commit is contained in:
parent
0911826501
commit
0fdc119028
14 changed files with 226 additions and 72 deletions
|
@ -17,8 +17,13 @@ class Migration(migrations.Migration):
|
|||
|
||||
dependencies = [
|
||||
('adventures', '0001_initial'),
|
||||
('adventures', '0002_adventureimage'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RunPython(move_images_to_new_model),
|
||||
migrations.RemoveField(
|
||||
model_name='Adventure',
|
||||
name='image',
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue