Add attachment support for fuel and recurring expenses with camera capture
Co-authored-by: aiulian25 <17886483+aiulian25@users.noreply.github.com>
This commit is contained in:
parent
339cd94b26
commit
8a5b916a39
8 changed files with 487 additions and 9 deletions
|
|
@ -111,6 +111,7 @@ class FuelRecord(db.Model):
|
|||
fuel_economy = db.Column(db.Float)
|
||||
unit = db.Column(db.String(20), default='MPG')
|
||||
notes = db.Column(db.Text)
|
||||
document_path = db.Column(db.String(255))
|
||||
created_at = db.Column(db.DateTime, default=datetime.utcnow)
|
||||
|
||||
class Reminder(db.Model):
|
||||
|
|
@ -151,3 +152,4 @@ class RecurringExpense(db.Model):
|
|||
is_active = db.Column(db.Boolean, default=True)
|
||||
created_at = db.Column(db.DateTime, default=datetime.utcnow)
|
||||
notes = db.Column(db.Text)
|
||||
document_path = db.Column(db.String(255))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue