refactor PiLog to retain x,y values
This commit is contained in:
23
pi/migrations/0003_rename_count_fields.py
Normal file
23
pi/migrations/0003_rename_count_fields.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 3.1.2 on 2020-10-24 16:27
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('pi', '0002_auto_20150521_2204'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name='pilog',
|
||||
old_name='count_total',
|
||||
new_name='total_count',
|
||||
),
|
||||
migrations.RenameField(
|
||||
model_name='pilog',
|
||||
old_name='count_inside',
|
||||
new_name='total_count_inside',
|
||||
),
|
||||
]
|
||||
25
pi/migrations/0004_simulation_x_y_logging.py
Normal file
25
pi/migrations/0004_simulation_x_y_logging.py
Normal file
@@ -0,0 +1,25 @@
|
||||
# Generated by Django 3.1.2 on 2020-10-24 16:31
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('pi', '0003_rename_count_fields'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='pilog',
|
||||
name='simulation_x',
|
||||
field=models.DecimalField(decimal_places=10, default=0.0, max_digits=11),
|
||||
preserve_default=False,
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='pilog',
|
||||
name='simulation_y',
|
||||
field=models.DecimalField(decimal_places=10, default=0.0, max_digits=11),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user