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

removed image_path from db model in samalander

parent 4e38e5cc
No related branches found
No related tags found
1 merge request!18Resolve "refactoring matchsalamander and register location endpoint"
...@@ -16,7 +16,6 @@ class Salamander(db.Model): ...@@ -16,7 +16,6 @@ class Salamander(db.Model):
sex = db.Column(db.String(255), nullable=False) sex = db.Column(db.String(255), nullable=False)
species = db.Column(db.String(255), nullable=False) species = db.Column(db.String(255), nullable=False)
location_id = db.Column(db.Integer, db.ForeignKey('location.id'), nullable=False) location_id = db.Column(db.Integer, db.ForeignKey('location.id'), nullable=False)
image_path = db.Column(db.String(255), nullable=False)
uid = db.Column(db.Integer, db.ForeignKey('user.id'), nullable=False) uid = db.Column(db.Integer, db.ForeignKey('user.id'), nullable=False)
date = db.Column(db.DateTime, default=datetime.now) date = db.Column(db.DateTime, default=datetime.now)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment