Development #6617
Exécution des "migrations" au démarrage
Début:
05 mars 2015
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Description
Itérer sur les vhosts, exécuter ce qu'il faudrait (genre le sql.do_tracking_code_table).
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a environ 9 ans
- Priorité changé de Normal à Haut
Priorité haute, on ne peut pas publier la prochaine version sans ça.
Mis à jour par Frédéric Péters il y a environ 9 ans
- Fichier 0002-general-run-sql-migrations-when-starting-wcs-6617.patch 0002-general-run-sql-migrations-when-starting-wcs-6617.patch ajouté
- Fichier 0001-misc-factor-check-for-postgresql-usage.patch 0001-misc-factor-check-for-postgresql-usage.patch ajouté
- Statut changé de Nouveau à En cours
- Patch proposed changé de Non à Oui
D'abord un patch ajoutant enfin une méthode is_using_postgresql() qui permet de nettoyer des conditions un peu partout; et puis l'exécution du code d'initialisation postgresql pour les différents tenants, au démarrage de wcs.
Mis à jour par Thomas Noël il y a environ 9 ans
Ack
(on a ces derniers temps supprimé des messages lors du start, j'en aurais peut-être aimé ici... mais sinon, on fera ça dans les logs quand ils seront revus)
Mis à jour par Frédéric Péters il y a environ 9 ans
- Statut changé de En cours à Résolu (à déployer)
commit 45d666464ca5d12aab0edb8630ebf3e4bfe6f142 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Mon Mar 16 17:18:15 2015 +0100 general: run sql "migrations" when starting wcs (#6617) This is required when new global tables (such as tracking_codes) have to be created. commit f19d6b93759112e3cb4a2f8c3b0fe50ab0544ad6 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Mon Mar 16 17:02:22 2015 +0100 misc: factor check for postgresql usage
general: run sql "migrations" when starting wcs (#6617)
This is required when new global tables (such as tracking_codes) have to be
created.