Skip to content

vybezi/Loopback-3-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Loopback-3-Scripts

You can place these scripts in the server/bin folder of your Loopback 3 Application for automigrate and autoupdate funtionalities.

Automigrate

This will migrate your models and relations to the database, however it will drop table data. npm run server/bin/automigrate

Autoupdate

This will migrate your models and relations to the database, without dropping table data. npm run server/bin/autoupdate

*N.B For this script you may have to manually stop its execution by pressing [COMMAND | CTRL ] + C.

About

Loopback 3 Auto migrate & Auto update scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors