Go to a new line below the headline *** TODO Select MySQL vs. PostgreSQL
Then press C-u 0 before your capture key, i.e.
C-u 0 <your_capture_key>
and you're good to go. The indentation level will be three stars, so you have to indent it manually by M- rightarrow
You can also press C-0 <your_capture_key> and Emacs will interpret it as C-u 0
This should work:
I added my function to org-capture-prepare-finalize-hook and not org-capture-before-finalize
The function I added to the hook:
(defun my-org-capture-newlines-at-end ()
For example, if you're using use-package, it would look like:
(org-capture-prepare-finalize . my-org-capture-...