mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-04 21:58:54 -05:00
added ability to set space images
This commit is contained in:
19
cookbook/migrations/0181_space_image.py
Normal file
19
cookbook/migrations/0181_space_image.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# Generated by Django 4.0.6 on 2022-07-14 11:14
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('cookbook', '0180_invitelink_reusable'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='space',
|
||||
name='image',
|
||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='space_image', to='cookbook.userfile'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user