You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
656 B

  1. # Generated by Django 2.2 on 2019-04-25 12:46
  2. from django.db import migrations, models
  3. class Migration(migrations.Migration):
  4. dependencies = [
  5. ('api', '0059_auto_20190314_1744'),
  6. ]
  7. operations = [
  8. migrations.CreateModel(
  9. name='TokenBucket',
  10. fields=[
  11. ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  12. ('value', models.CharField(max_length=80, unique=True)),
  13. ('tokens', models.FloatField(default=1.0)),
  14. ('updated', models.DateTimeField(auto_now_add=True)),
  15. ],
  16. ),
  17. ]