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