Move type field to signal
parent
2ee5f7b937
commit
e388624f65
@ -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,
|
||||
),
|
||||
]
|
Loading…
Reference in New Issue