Digital Ocean 'unmanaged' database how to drop tables?

(Node.js Docker mySql)
My first project…

Spent long time building on my local server without adding production remote docker target. Oooops.

I dropped the local sql sample tables and added my own tables/fields relationships etc.
Months later…
After setting up the remote target and deploying my app to it the remote db (on Digital Ocean)
contains only the sample tables (cars users countries etc).

I have gone through the process of applying changes in the database manager for the remote target location. I cannot delete the sample tables and get the error message:

‘Invalid migration: 20210707104532_delete sample tables.js must have both up and down function’

How do I delete these on the remote server?

Community Page
Last updated: