Abishevs / TechCache

Inventory Management Program for Small Warehouses such as Makerspaces/Workshops

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Diffrent Databases, besides sqlite.

Abishevs opened this issue · comments

It would be better to use an network DB so that inventory could be accessed from within different devices.
This way an better backup system could be used etc.

Maybe even an cloud based DB and not selfhosted.
DB suggestions:

  1. PostgreSql
  2. MySql

Implementing an ORM based DB manger, so that different engines could be used

Chose SQLAlchemy as ORM, why? Popular and seemed well documented.
Rewrote and for now commented out old code.
DB manager, rewrote function to use ORM commented or deleted old code.

BUG: The way add item works its creating an item object with def fields, before it did that without any arguments, now its not implemented nor in Item class init method nor in add item dialog class.