|
|
|
|
|
|
|
|
from django.db import migrations, models |
|
|
|
|
|
|
|
|
class Migration(migrations.Migration): |
|
|
|
|
|
initial = True |
|
|
|
|
|
dependencies = [ |
|
|
] |
|
|
|
|
|
operations = [ |
|
|
migrations.CreateModel( |
|
|
name='APIClient', |
|
|
fields=[ |
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
|
('name', models.CharField(max_length=100, unique=True)), |
|
|
('client_id', models.CharField(editable=False, max_length=32, unique=True)), |
|
|
('secret_key', models.CharField(editable=False, max_length=64)), |
|
|
('created_at', models.DateTimeField(auto_now_add=True)), |
|
|
], |
|
|
), |
|
|
] |
|
|
|