liquibase / liquibase-docs

7 stars 16 forks source link

createProcedure when using yaml does not recognise procedureText but deprecated procedureBody #117

Open ldeck opened 3 years ago

ldeck commented 3 years ago

Describe the bug As the title says — when using createProcedure in yaml, procedureText is treated as null whereas procedureBody (undocumented) works.

To Reproduce Steps to reproduce the behavior:

  1. Create a yaml changeset with a createProcedure block
  2. include a procedureText attribute without specifying a path
  3. perform liquibase update
  4. See error

Expected behavior procedureText would be recognised as currently documented.

Liquibase Version: 4.3.1

Additional context I've created a pull request to update the documentation for createProcedure to address this: See https://github.com/Datical/liquibase-docs/pull/115

ldeck commented 3 years ago

Anyone able to comment on this pull request @nmelny ?

nmelny commented 3 years ago

@ldeck Thank you again for your pull request and your comment! We've applied the changes and updated our documentation: https://docs.liquibase.com/change-types/community/create-procedure.html. In case there are any other pages/content we can improve or fix, please let me know.