Permalink
Browse files

Do not test if development.db exists

  • Loading branch information...
1 parent e71a50c commit 87cc2d9585d3187abdf16be26f883420091f5e82 Jakub Šťastný aka Botanicus committed Mar 17, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 hooks/webs/apps/django/hooks/update
@@ -34,7 +34,7 @@ Dir.chdir("web")
if File.exist?("production.db")
puts "Note: maybe db will need to be deleted and recreated, if you have changed some model's structure.".red.bold
-elsif File.exist?("development.db")
+else
puts "Running syncdb ...".blue.bold
system("rm development.db")
system("#{python} manage.py syncdb --noinput")

0 comments on commit 87cc2d9

Please sign in to comment.