Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(procedures): merge procedures into one file #7196

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ test/*/report-stock
migration-*.sql
yarn-error.log
*.log

/test-results
/playwright-report
/playwright/.cache
/tests-examples

.sqlfluff
3 changes: 0 additions & 3 deletions server/controllers/finance/debtors/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,6 @@ function lookupDebtor(uid) {
* over the dataset queried only the debtor
*
* @method invoices
*
* @todo - this function should be replaced by an SQL function stored in
* procedures.sql for easy lookup
*/
function invoices(req, res, next) {
const options = req.query;
Expand Down
4,216 changes: 4,175 additions & 41 deletions server/models/procedures.sql

Large diffs are not rendered by default.

72 changes: 0 additions & 72 deletions server/models/procedures/account.sql

This file was deleted.

72 changes: 0 additions & 72 deletions server/models/procedures/analysis.sql

This file was deleted.

Loading