Revision a8617dac
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 <qa@vigilo-dev.si.c-s.fr>
Reviewed-by: Francois POIROTTE <francois.poirotte@c-s.fr>
deployment/settings.ini.in | ||
---|---|---|
31 | 31 |
; |
32 | 32 |
|
33 | 33 |
; URL d'accès à la base de données. |
34 |
sqlalchemy.url = postgres://vigilo:vigilo@127.0.0.1/vigilo |
|
34 |
sqlalchemy.url = postgresql://vigilo:vigilo@127.0.0.1/vigilo
|
|
35 | 35 |
|
36 | 36 |
; Le préfixe des tables de Vigilo dans la base de données. |
37 | 37 |
db_basename = vigilo_ |
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