Skip to content

Commit

Permalink
chore: latitude model 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dkfla committed Jul 30, 2024
1 parent ba58407 commit 58d580d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Generated by Django 4.2.14 on 2024-07-30 10:14

from django.db import migrations, models


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

operations = [
migrations.AlterField(
model_name="restaurant",
name="latitude",
field=models.DecimalField(decimal_places=8, max_digits=11),
),
migrations.AlterField(
model_name="restaurant",
name="longitude",
field=models.DecimalField(decimal_places=8, max_digits=11),
),
]
4 changes: 2 additions & 2 deletions restaurants/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ class Restaurant(models.Model):
max_digits=5, decimal_places=2, null=True, blank=True
)
address = models.CharField(max_length=255)
latitude = models.DecimalField(max_digits=10, decimal_places=7)
longitude = models.DecimalField(max_digits=10, decimal_places=7)
latitude = models.DecimalField(max_digits=11, decimal_places=8)
longitude = models.DecimalField(max_digits=11, decimal_places=8)

0 comments on commit 58d580d

Please sign in to comment.