Commit Graph
14 Commits
Author SHA1 Message Date
glm94 f866e9bd7d Updated the SQL template to include some cost of ownership information, at least the first draft of the concept. 2021-09-29 15:16:51 -05:00
glm94 5cea8df5f5 Subcategory now accepts POST requests, so they can be added even after a category has been created. 2021-09-09 21:50:44 -05:00
glm94 f1272b86e8 Added a way to delete a specific subcategory. 2021-09-09 16:07:49 -05:00
glm94 5feb32a122 Quick cleanup on a few bits of code, also added some places where a transaction rollback was missed. 2021-09-09 15:15:05 -05:00
glm94 913b7ca138 Fixed a bug where the transaction would roll back if no subcategories where present. 2021-09-09 15:04:23 -05:00
glm94 42594918ef Updated the category creation to include optional subcategories. First iteration of working with Go's SQL transaction setup. 2021-09-09 15:02:05 -05:00
glm94 871484a8e5 Category data now includes their subcategories. Categories can now be requested by ID in a prettier way. 2021-09-09 11:34:06 -05:00
glm94 20a6365159 First attempt at splitting the Go code into seperate files to clean things up. 2021-09-08 22:51:00 -05:00
glm94 bb01c11859 Added a more RESTful interface for the category enities. 2021-09-08 14:52:48 -05:00
glm94 44959af216 Added support for inserting a new category. 2021-09-08 13:43:08 -05:00
glm94 4811e24dd6 Fixed a bug where the postgres queries failed with a relation error. /data now dumps all the categories in the database. 2021-09-07 21:56:48 -05:00
glm94 6e4f7044e8 Added some structs to represent a few database tables. 2021-09-02 22:02:16 -05:00
glm94 5fb10685ba Added the template SQL script for creating the inventory database's tables. 2021-08-30 22:23:46 -05:00
glm94 f572586dde Initial commit. 2021-08-30 22:10:47 -05:00