Move type field to signal
This commit is contained in:
23
core/migrations/0046_remove_hook_type_signal_type.py
Normal file
23
core/migrations/0046_remove_hook_type_signal_type.py
Normal 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,
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user