Move type field to signal

This commit is contained in:
2022-12-07 07:20:11 +00:00
parent 2ee5f7b937
commit e388624f65
3 changed files with 30 additions and 7 deletions

View File

@@ -0,0 +1,23 @@
# Generated by Django 4.1.3 on 2022-12-07 10:16
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0045_hook_type'),
]
operations = [
migrations.RemoveField(
model_name='hook',
name='type',
),
migrations.AddField(
model_name='signal',
name='type',
field=models.CharField(choices=[('entry', 'Entry'), ('exit', 'Exit'), ('trend', 'Trend')], default='entry', max_length=255),
preserve_default=False,
),
]