Created first version of an API endpoint to undo stock bookings (references #63 and #97)

This commit is contained in:
Bernd Bestel
2018-10-26 22:28:58 +02:00
parent cd7b6b686d
commit 1080c3486c
5 changed files with 108 additions and 0 deletions

5
migrations/0044.sql Normal file
View File

@@ -0,0 +1,5 @@
ALTER TABLE stock_log
ADD undone TINYINT NOT NULL DEFAULT 0 CHECK(undone IN (0, 1));
ALTER TABLE stock_log
ADD undone_timestamp DATETIME;