diff options
author | metamuffin <metamuffin@disroot.org> | 2024-11-13 20:42:08 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-11-13 20:42:16 +0100 |
commit | 1b026d9e1cf88fa65f82d0109656561d29889d8e (patch) | |
tree | 0938c2b533fb99869ca7137af13eb35da7edf6d4 | |
parent | 9122ec18b085169ddb186aedd3d7fdfffa26fbbf (diff) | |
download | abrechenbarkeit-1b026d9e1cf88fa65f82d0109656561d29889d8e.tar abrechenbarkeit-1b026d9e1cf88fa65f82d0109656561d29889d8e.tar.bz2 abrechenbarkeit-1b026d9e1cf88fa65f82d0109656561d29889d8e.tar.zst |
migration commands
-rw-r--r-- | readme.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -16,3 +16,10 @@ useful for development or proxyless deployments. - `products` stores the product list as CSV (`barcode,price,user,name`) - `config` stores configuration parameters as ESV (`key=value`) - `transaction_sound`: URL to sound played when creating a transaction + +## Migration from Strichliste + +``` +curl 'http://strichliste.example.org/api/user?deleted=false' | jq -r '.users.[] | [ 0, "@Potential", .name, .balance, "", "", "" ] | join(",")' > log +curl 'http://strichliste.example.org/api/article' | jq -r '.articles.[] | [ .barcode, .amount, "@Drinks", .name ] | join(",")' > products +``` |