Open schuemie opened 10 months ago
Because of the support for flat folder structures outside of a package this issue is not as straightforward to resolve as I would have liked, I will add this in a future version when I have a bit more time to test it fully.
Just a reminder that it would still be nice to have this
In recent versions of SqlRender it is allowed to put your OhdsiSql in the
inst/sql
folder instead of theinst/sql/sql_server
folder, andloadRenderTranslateSql()
will still work. The main reasons are(Note that plafform-specific code can still be placed in the appropriately named subfolders. It is just that 99.9% of SQL is OhdsiSql, so why not put it up a level?)
Currently ResultModelManager throw an error if I put the 'migrations' folder in the 'sql' folder. A simple extra lookup when looking for migration SQL would solve this. Could this be added?