Project

General

Profile

Revision a8617dac

IDa8617dac052270e51447f862b080a380868a8d8b
Parent 5c973410
Child 7054af64, c371e9c1

Added by Francois POIROTTE almost 12 years ago

Compat. ascendante pour SQLAlchemy > 0.6.

Remplace le dialecte "postgres" par "postgresql" dans les fichiers de
configuration afin d'assurer la compatibilité ascendante vers les
nouvelles versions de SQLAlchemy.
Ceci évite notamment des avertissements lors des mises à jour du schéma
de la base de données.

Change-Id: I59cbcc436c7bea40284d2b7cd4e999199b72e449
Reviewed-on: https://vigilo-dev.si.c-s.fr/review/768
Tested-by: Build system <>
Reviewed-by: Francois POIROTTE <>

View differences:

development.ini
62 62
#beaker.cache.data_dir = %(here)s/data/cache
63 63
#beaker.session.data_dir = %(here)s/data/sessions
64 64

  
65
# pick the form for your database
66
# %(here) may include a ':' character on Windows environments; this can
67
# invalidate the URI when specifying a SQLite db via path name
68
# sqlalchemy.url=postgres://username:password@hostname:port/databasename
69
# sqlalchemy.url=mysql://username:password@hostname:port/databasename
70

  
71

  
72 65
# If you have sqlite, here's a simple default to get you started
73 66
# in development
74

  
75 67
sqlalchemy.url=postgresql://vigilo:vigilo@127.0.0.1/vigilo
76 68
#sqlalchemy.url = sqlite:///%(here)s/devdata.db
77 69
#echo shouldn't be used together with the logging module.

Also available in: Unified diff