CMD Update repositories - ZendFramework


/ Published in: DOS Batch
Save to your folder(s)



Copy this code and paste it in your HTML
  1. php doctrine orm:schema-tool:update --dump-sql
  2. //tells what differneces exist between local db and schema
  3. //Bring inline by re-entering cmd and swapping --dump-sql to --force
  4.  
  5. php doctrine orm:generate-proxies
  6. //creates repositories
  7.  
  8. php doctrine orm:generate-repositories "string to models folder"

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.