ops.launch_reset counts the orders, quotes, payment attempts and notifications, and with --confirmar APAGAR removes them, with their moves, files and notices. The artwork files are marked expired so the worker deletes them from storage. Operators, the Tiny connection and the backups stay; --contas also removes customer accounts. It refuses if any payment was made with real money. Order numbers restart at #1 with the database administrator's rights, so the script prints the psql line for the db container when the worker's role cannot do it. The test runs last in CI, since it empties the order tables. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3.7 KiB
3.7 KiB