Finalize stock booking undo API (references #63 and #97)

This commit is contained in:
Bernd Bestel
2018-10-27 10:19:06 +02:00
parent 1080c3486c
commit 3e6cf545d7
5 changed files with 23 additions and 17 deletions

View File

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