fisk/core/migrations/0007_account.py

27 lines
936 B
Python
Raw Normal View History

2022-10-17 17:56:16 +00:00
# Generated by Django 4.1.2 on 2022-10-17 17:18
2022-10-17 18:06:09 +00:00
import django.db.models.deletion
2022-10-17 17:56:16 +00:00
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0006_remove_callback_market_alter_callback_timestamp_sent_and_more'),
]
operations = [
migrations.CreateModel(
name='Account',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=255)),
('exchange', models.CharField(max_length=255)),
('api_key', models.CharField(max_length=255)),
('api_secret', models.CharField(max_length=255)),
('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
),
]