Skip to content

Commit

Permalink
Use BigIntegerField for HyperParameter values
Browse files Browse the repository at this point in the history
  • Loading branch information
olzhasar-reef committed May 4, 2024
1 parent c3db9db commit cf9b3bb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 4.2.11 on 2024-05-04 22:32

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("core", "0001_initial"),
]

operations = [
migrations.AlterField(
model_name="hyperparameter",
name="value",
field=models.BigIntegerField(),
),
]
2 changes: 1 addition & 1 deletion app/src/bittensor_panel/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ class HyperParameter(models.Model):
created_at = models.DateTimeField(auto_now_add=True)
updated_at = models.DateTimeField(auto_now=True)
name = models.CharField(max_length=255, unique=True)
value = models.IntegerField()
value = models.BigIntegerField()

0 comments on commit cf9b3bb

Please sign in to comment.