Skip to content
Snippets Groups Projects
Commit 96c40542 authored by Herman Andersen Dyrkorn's avatar Herman Andersen Dyrkorn
Browse files

adding longitude and latitude to location table

parent 26810a8f
No related branches found
No related tags found
1 merge request!23Resolve "debug and cleanup code"
......@@ -23,7 +23,8 @@ class Salamander(db.Model):
class Location(db.Model):
id = db.Column(db.Integer, primary_key=True, autoincrement=True)
name = db.Column(db.String(255), nullable=False)
coordinates = db.Column(db.String(255), nullable=False)
latitude = db.Column(db.Float, nullable=False)
longitude = db.Column(db.Float, nullable=False)
radius = db.Column(db.Integer, nullable=False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment