First time here? Check out the FAQ!
0

Migrate other than askbot and django_authopenid
 

After running python manage.py syncdb following models don't get migrate:

Not synced (use migrations):
 - longerusername
 - askbot.deps.django_authopenid
 - robots
 - djcelery
 - group_messaging
 - askbot

the installation instructions in doc (http://askbot.org/doc/initialize-database-tables.html) only tells to migrate askbot and django_authoopenid,

If we do python manage.py migrate, will migrate all the models. Is there a reason not to do? What tables should we do migrate before putting it in a production server.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
SocialQA's avatar
265
SocialQA
asked 11 years ago

Comments

see more comments

1 Answer

1

Only apps that have migrations submodule created for the South app need to get migrated (that's how the migrations are created in the first place).

You could safely run python manage.py migrate without extra parameters most of the time and migrate all apps that require the migrations.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 11 years ago, updated 11 years ago
link

Comments

see more comments