With best-in-class Jira integration, and built-in CI/CD, Bitbucket Cloud connects developer workflows from planning to incident management. Join millions of developers who choose to build on Bitbucket.
ãããªãSouth Django1.7ããmigrationãã¼ã«ãå«ã¾ãããã¨ã«ãªãã¾ããã ããã«ãã1.6ã¾ã§ã¯å¿ é ãªãã¼ã«ã ã£ãSouthãã役御å ã¨ãªãã¾ãã 詳ããã¯ãããèªãã§æ¬²ããã®ã§ãããé¢åãªæ¹ã®ããã«SouthããDjango1.7ã¸ã®ç§»è¡ã«ã¤ãã¦ç°¡åã«æ¸ãã¾ãã Southã®å ´å ã¢ããªã±ã¼ã·ã§ã³ãä½ã£ãã $ python manage.py schemamigration myapp --initã¢ããªã±ã¼ã·ã§ã³ãå¤æ´ããã $ python manage.py schemamigration myapp --autoããã¸ã§ã¯ãéå§æ㯠$ python manage.py syncdbmigrationã®é©ç¨ã¯ $ python manage.py migrateã¨ãå¹¾ã¤ãè¦ãããã¨ããã£ãã®ã§ãã Django1.7ã®å ´å ã¢ããªã±ã¼ã·ã§ã³ãä½ã£ãã $
Djangoã®ãã¼ã«ã«"South"ã¨ããã¢ããããããã§ãã ãã®ãã¼ã«ã使ãã¨ãDBã®ãã¤ã°ã¬ã¼ã·ã§ã³ããã¾ããã¨ãã£ã¦ãããããã§ãã ããã¸ã§ã¯ãã§ãæ¢åã®Modelã«ãã£ã¼ã«ãã®è¿½å ãçºçãããããã®ãã¼ã«ã使ã£ã¦ã¿ã¾ããDBã®ãã¤ã°ã¬ã¼ã·ã§ã³ãç°¡åã«ã§ããããã«ãªãã°ããããã®ã§ãã ã¾ãã¯ã¤ã³ã¹ãã¼ã« ããã¥ã¡ã³ã"Bitbucket | The Git solution for professional teams"ãè¦ã¦ã¤ã³ã¹ãã¼ã«ããããªãã¾ãã èªåã¯ãMercurialã使ã£ã¦ã½ã¼ã¹ãåå¾ãã¾ãããDjangoã¢ããªã®é¨åã ã欲ããã£ããããä¸æçãªãã£ã¬ã¯ãã«ã¦setup.pyã®ã¤ã³ã¹ãã¼ã«ä½æ¥ãå®æ½ãã¦ã½ã¼ã¹ãåå¾ãã¾ããã Djangoã«southã¢ããªã追å ããæç¹ï¼settings.pyã®INSTALL_APPSã«è¿½å ï¼ã§syncdbãå¿ è¦ã§ããsouth
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}