Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add migration config

  • Loading branch information...
commit 6a789b078849cf013a28b6a2393fc0b78af41dbd 1 parent 6640330
@mixedpuppy mixedpuppy authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 linkdrop/config/deployment.ini_tmpl
View
6 linkdrop/config/deployment.ini_tmpl
@@ -102,6 +102,12 @@ app_instance_uuid = ${app_instance_uuid}
sqlalchemy.url = sqlite:///production.db
#sqlalchemy.url = mysql+mysqldb://linkdrop:linkdrop@localhost/linkdrop
+# SQLAlchemy migration
+# if managed, the migration repository is here
+migrate.repository = %(here)s/changes
+# automatically do database upgrades
+migrate.auto = 0
+
# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
# Debug mode will enable the interactive debugging tool, allowing ANYONE to
# execute malicious code after an exception is raised.
Please sign in to comment.
Something went wrong with that request. Please try again.