Skip to content

Commit

Permalink
Removing Postgis
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshhari committed Jul 7, 2022
1 parent ce093ea commit 53635f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 3 additions & 3 deletions care/facility/migrations/0015_facility_location.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Generated by Django 2.2.11 on 2020-03-22 14:11

import django.contrib.gis.db.models.fields
from django.db import migrations
from django.db import migrations , models


class Migration(migrations.Migration):
Expand All @@ -11,9 +10,10 @@ class Migration(migrations.Migration):
]

operations = [
# This migration is updated manually to prevent migrations errors while deprecating location field
migrations.AddField(
model_name='facility',
name='location',
field=django.contrib.gis.db.models.fields.PointField(blank=True, null=True, srid=4326),
field=models.DecimalField(blank=True, decimal_places=16, max_digits=22, null=True),
),
]
6 changes: 0 additions & 6 deletions care/facility/migrations/0017_auto_20200322_1642.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Generated by Django 2.2.11 on 2020-03-22 16:42

from django.db import migrations
import location_field.models.spatial


class Migration(migrations.Migration):
Expand All @@ -11,9 +10,4 @@ class Migration(migrations.Migration):
]

operations = [
migrations.AlterField(
model_name='facility',
name='location',
field=location_field.models.spatial.LocationField(blank=True, null=True, srid=4326),
),
]

0 comments on commit 53635f5

Please sign in to comment.