From 5b61e1e59173e44643043f4e5436a9b7a48ca468 Mon Sep 17 00:00:00 2001 From: Sachin Bisht Date: Thu, 11 Jan 2024 17:07:25 +0530 Subject: [PATCH] Added language id in Registration table model --- api/models/registration.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/models/registration.py b/api/models/registration.py index 5a756bd..90ea7c0 100644 --- a/api/models/registration.py +++ b/api/models/registration.py @@ -10,6 +10,7 @@ class Registration(TimestampMixin, db.Model): user_id = db.Column(db.Integer, db.ForeignKey("user.id")) partner_id = db.Column(db.Integer, db.ForeignKey("partner.id")) program_id = db.Column(db.Integer, db.ForeignKey("program.id")) + language_id = db.Column(db.Integer) district = db.Column(db.String(100), nullable=True) state = db.Column(db.String(100), nullable=True) parent_type = db.Column(db.String(100), nullable=True)