27 lines
936 B
Python
27 lines
936 B
Python
# Generated by Django 4.1.2 on 2022-10-17 17:18
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
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)),
|
|
],
|
|
),
|
|
]
|