How to update database in local dev env


#1

Hi,
when i update my mf docker env and boot the backend, i can see in the logs that the database is updated.

When i boot the backend in my eclipse with the de.metas.ServerBoot_mf15.launch, apperently this task is not executed.

How can i update my databse in my local dev env?

Kind regards
daveyx


#2

Hi @daveyx,
we don’t have a really nice solution for this.

Also see issue metasfresh/metasfresh#690.
This comment from within the issue sketches what needs to be done IMHO.

Best regards
Tobias


#3

Hi @metas-ts,

thanks.

The remote_sql.sh needs a local_settings.properties

I’ve copied it from the docker-env and set the values for my local db

how to update dev env db should be documentented here:
http://docs.metasfresh.org/developers_collection/en/getting_started_db_en.html

KInd regards
daveyx


#4

Hi,

feel free to add the things you learned and that will help others in the markdown file and issue a pull request.

cheers,
Norbert


#5

I just added some more documentation to http://docs.metasfresh.org/developers_collection/en/getting_started_db_en.html