Skip to content

Commit

Permalink
chore(procedures): merge procedures into one file
Browse files Browse the repository at this point in the history
This commit merges all the procedures into a single file, and deletes
the old procedures/*.sql files.  It also removes references to the
different procedure files in our build steps.

Closes #7188.
  • Loading branch information
jniles committed Aug 24, 2023
1 parent 49aaa19 commit 6ed5ba5
Show file tree
Hide file tree
Showing 27 changed files with 4,145 additions and 4,294 deletions.
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,168 changes: 4,127 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

0 comments on commit 6ed5ba5

Please sign in to comment.