cmd/initialize

Command line module.

Fill domain entities by it initial values: enumerate all (or specified in -m switch) models _initialData folders and execute all *.js from there. Database itself and all necessary tables must exist before call this command.

  • use `>ub cmd/initDB' to create a new database
  • use >ub cmd/generateDDL to create a tables
Author:
  • pavel.mash