Hi.

I’m writing the backend for an app that will post data from different forms. The frontend will start out with a small number of forms, but will likely increase as times goes by.

So the backend will need to support receiving data from a growing number of forms, and store the form data in a (likely Postgre)SQL database.

I could use some advice on how to structure the database models to handle this sort of scenario. Should I create a separate table for each form, or somehow create one, large table for parts of or all the forms? My instinct is to let each form have it’s own database table, but I’m not sure if this is a good pattern.

UPDATE: The backend is written in Django, which is Python based.

submitted by /u/protoken
[link] [comments]