Database manager doesn't apply migrations

======== TEMPLATE BUG FORM ========

Wappler Version : 2.9.1
Operating System : MacOS Catalina
Database driver: PostgreSQL 11.1.x

Expected behavior

What do you think should happen?

Database manager should apply migrations and create the objects in the database

Actual behavior

What actually happens?

image

image

How to reproduce

  1. Run a local docker setup with postgresql 11.1.x
  2. Create a simple migration with a table creation
  3. Try to apply changes
  4. You get the error.

Additional info:

If you edit the file to add the up function it will still end up in error.

I see you have created an empty table…

You need to have some fields in it…

Will add more checks before apply