Can't modify DB, can't add new table, no more seed and change files

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

Wappler Version : Wappler 5.1.4
Operating System : macOS Monterey 12.6
Server Model: Node.JS - Debian 11 Bullseye
Database Type: Postgree 11.1.x
Hosting Type: Localhost - Docker

Expected behavior

What do you think should happen?
Just modifyaing Database structure, adding/deleting/modifying tables and/or fields

…YOUR TEXT HERE …

Actual behavior

I can’t list my changed files and seeds file in DB
I can’t add/delete tables / and/or rename it
Same for reference or any field that i can’t modify anymore…

How to reproduce

I can’t do anything on my database anymore
I was debugging my script and noticed one reference was not correctly setted and decided to fix it setting the correct table… I got an error message

this type

then realised i could not do anything more…

i checked my changes files and seeds and it seems they all disappeared.

Many thanks for your help - I’m actually debugging/reviewing my app after several months of work and need to deliver it on next monday…

I already tried to uninstall/re-install Wappler.

…and tried cloning the project from github.

Well it seems somehow you have lost your migration files.

You can reset the history and start over again:

2 Likes

many many thanks!
the One click solution :smiley:

Can I just ask how you lost these migrations did you manually delete them?

i have no idea…
For sure i did not delete them manually.