begin refactor product to user orders instead of single order
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
This commit is contained in:
parent
ef02cb61fd
commit
8df1d8dc7c
10 changed files with 224 additions and 90 deletions
32
uncloud_service/migrations/0004_auto_20200809_1237.py
Normal file
32
uncloud_service/migrations/0004_auto_20200809_1237.py
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# Generated by Django 3.1 on 2020-08-09 12:37
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('uncloud_pay', '0013_auto_20200809_1237'),
|
||||
('uncloud_service', '0003_auto_20200808_1953'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='genericserviceproduct',
|
||||
name='order',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='matrixserviceproduct',
|
||||
name='order',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='genericserviceproduct',
|
||||
name='orders',
|
||||
field=models.ManyToManyField(to='uncloud_pay.Order'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='matrixserviceproduct',
|
||||
name='orders',
|
||||
field=models.ManyToManyField(to='uncloud_pay.Order'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue