Skip to content

Commit

Permalink
Make revenue field larger (minmatarfleet#796)
Browse files Browse the repository at this point in the history
  • Loading branch information
silvatek authored Oct 9, 2024
1 parent 9d24d2d commit 6822a21
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions backend/moons/migrations/0005_alter_evemoon_monthly_revenue.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 5.0.8 on 2024-10-09 13:06

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("moons", "0004_evemoon_monthly_revenue"),
]

operations = [
migrations.AlterField(
model_name="evemoon",
name="monthly_revenue",
field=models.BigIntegerField(default=0),
),
]
2 changes: 1 addition & 1 deletion backend/moons/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class EveMoon(models.Model):
system = models.CharField(max_length=100)
planet = models.CharField(max_length=10)
moon = models.IntegerField()
monthly_revenue = models.IntegerField(default=0)
monthly_revenue = models.BigIntegerField(default=0)
reported_by = models.ForeignKey(
"auth.User", on_delete=models.CASCADE, null=True, blank=True
)
Expand Down

0 comments on commit 6822a21

Please sign in to comment.