Soumettre la recherche
Mettre en ligne
Phigrate
•
0 j'aime
•
212 vues
M
Manuel HERVO
Suivre
Présentation de l'outil Phigrate qui vous permet de versionner votre base de données
Lire moins
Lire la suite
Signaler
Partager
Signaler
Partager
1 sur 12
Télécharger maintenant
Télécharger pour lire hors ligne
Recommandé
Git Flow: un processus de développement Agile
Git Flow: un processus de développement Agile
Xavier Hausherr
Les web extensions
Les web extensions
Christophe Villeneuve
Les WebExtensions et Firefox - JDLL 2017
Les WebExtensions et Firefox - JDLL 2017
Christophe Villeneuve
Firefox et les WebExtensions
Firefox et les WebExtensions
Christophe Villeneuve
Formation autour de git et git lab
Formation autour de git et git lab
Abdelghani Azri
Introduction webextensions
Introduction webextensions
Christophe Villeneuve
Astroclermont @clermontech
Astroclermont @clermontech
Baptiste MOREAU
iGraal et les webextensions
iGraal et les webextensions
Christophe Fernandes
Recommandé
Git Flow: un processus de développement Agile
Git Flow: un processus de développement Agile
Xavier Hausherr
Les web extensions
Les web extensions
Christophe Villeneuve
Les WebExtensions et Firefox - JDLL 2017
Les WebExtensions et Firefox - JDLL 2017
Christophe Villeneuve
Firefox et les WebExtensions
Firefox et les WebExtensions
Christophe Villeneuve
Formation autour de git et git lab
Formation autour de git et git lab
Abdelghani Azri
Introduction webextensions
Introduction webextensions
Christophe Villeneuve
Astroclermont @clermontech
Astroclermont @clermontech
Baptiste MOREAU
iGraal et les webextensions
iGraal et les webextensions
Christophe Fernandes
Figaronron - Chimay 2007 (Partie 03)
Figaronron - Chimay 2007 (Partie 03)
Figaronron Figaronron
6. ley orgánica de energía eléctrica
6. ley orgánica de energía eléctrica
Presidencia de la República del Ecuador
makeup tutorial analysis
makeup tutorial analysis
shartshornemedia
Características blog
Características blog
kevin01villa
CHPfC Presentation (FSG)
CHPfC Presentation (FSG)
Tad Seth Parzen
Biblioteca "Peña"
Biblioteca "Peña"
AlfredoLuck
3º concurso de cuentos infantiles 2015
3º concurso de cuentos infantiles 2015
Monica Velasco Pardo
Ofimatica
Ofimatica
DinorahG
Firelight
Firelight
Elimora96
Professional Experience - Edson Plasencia Sánchez - Jul.2016
Professional Experience - Edson Plasencia Sánchez - Jul.2016
Edson Plasencia Sanchez
женшень
женшень
apmiru1428
Hi _MT__U_
Hi _MT__U_
MANISH THORAT
Kelas02 ips tri-jaya-suranto
Kelas02 ips tri-jaya-suranto
andikarakhmahayati
Pendidikan Sosial & Life Skill - Urgensi Basic Dakwah Skill
Pendidikan Sosial & Life Skill - Urgensi Basic Dakwah Skill
Haristian Sahroni Putra
PETER PAUL1
PETER PAUL1
peter paul
IUCN General Presentation
IUCN General Presentation
IUCN - International Union for Conservation of Nature
تسويق الكتروني دراسة تسويقية لمطعم
تسويق الكتروني دراسة تسويقية لمطعم
هدى الشهري
Studie: Deutsche Internetauftritte und deren Potenzial für CRO
Studie: Deutsche Internetauftritte und deren Potenzial für CRO
Patrick Schneider
130313 oer-schulbuchomat
130313 oer-schulbuchomat
Martin Schön
Marktanteilsvergleiche - Tools für das Strategische Management
Marktanteilsvergleiche - Tools für das Strategische Management
Winfried Kempfle Marketing Services
GIT training - basic for software projects
GIT training - basic for software projects
Thierry Gayet
Utilisation de git avec Delphi
Utilisation de git avec Delphi
pprem
Contenu connexe
En vedette
Figaronron - Chimay 2007 (Partie 03)
Figaronron - Chimay 2007 (Partie 03)
Figaronron Figaronron
6. ley orgánica de energía eléctrica
6. ley orgánica de energía eléctrica
Presidencia de la República del Ecuador
makeup tutorial analysis
makeup tutorial analysis
shartshornemedia
Características blog
Características blog
kevin01villa
CHPfC Presentation (FSG)
CHPfC Presentation (FSG)
Tad Seth Parzen
Biblioteca "Peña"
Biblioteca "Peña"
AlfredoLuck
3º concurso de cuentos infantiles 2015
3º concurso de cuentos infantiles 2015
Monica Velasco Pardo
Ofimatica
Ofimatica
DinorahG
Firelight
Firelight
Elimora96
Professional Experience - Edson Plasencia Sánchez - Jul.2016
Professional Experience - Edson Plasencia Sánchez - Jul.2016
Edson Plasencia Sanchez
женшень
женшень
apmiru1428
Hi _MT__U_
Hi _MT__U_
MANISH THORAT
Kelas02 ips tri-jaya-suranto
Kelas02 ips tri-jaya-suranto
andikarakhmahayati
Pendidikan Sosial & Life Skill - Urgensi Basic Dakwah Skill
Pendidikan Sosial & Life Skill - Urgensi Basic Dakwah Skill
Haristian Sahroni Putra
PETER PAUL1
PETER PAUL1
peter paul
IUCN General Presentation
IUCN General Presentation
IUCN - International Union for Conservation of Nature
تسويق الكتروني دراسة تسويقية لمطعم
تسويق الكتروني دراسة تسويقية لمطعم
هدى الشهري
Studie: Deutsche Internetauftritte und deren Potenzial für CRO
Studie: Deutsche Internetauftritte und deren Potenzial für CRO
Patrick Schneider
130313 oer-schulbuchomat
130313 oer-schulbuchomat
Martin Schön
Marktanteilsvergleiche - Tools für das Strategische Management
Marktanteilsvergleiche - Tools für das Strategische Management
Winfried Kempfle Marketing Services
En vedette
(20)
Figaronron - Chimay 2007 (Partie 03)
Figaronron - Chimay 2007 (Partie 03)
6. ley orgánica de energía eléctrica
6. ley orgánica de energía eléctrica
makeup tutorial analysis
makeup tutorial analysis
Características blog
Características blog
CHPfC Presentation (FSG)
CHPfC Presentation (FSG)
Biblioteca "Peña"
Biblioteca "Peña"
3º concurso de cuentos infantiles 2015
3º concurso de cuentos infantiles 2015
Ofimatica
Ofimatica
Firelight
Firelight
Professional Experience - Edson Plasencia Sánchez - Jul.2016
Professional Experience - Edson Plasencia Sánchez - Jul.2016
женшень
женшень
Hi _MT__U_
Hi _MT__U_
Kelas02 ips tri-jaya-suranto
Kelas02 ips tri-jaya-suranto
Pendidikan Sosial & Life Skill - Urgensi Basic Dakwah Skill
Pendidikan Sosial & Life Skill - Urgensi Basic Dakwah Skill
PETER PAUL1
PETER PAUL1
IUCN General Presentation
IUCN General Presentation
تسويق الكتروني دراسة تسويقية لمطعم
تسويق الكتروني دراسة تسويقية لمطعم
Studie: Deutsche Internetauftritte und deren Potenzial für CRO
Studie: Deutsche Internetauftritte und deren Potenzial für CRO
130313 oer-schulbuchomat
130313 oer-schulbuchomat
Marktanteilsvergleiche - Tools für das Strategische Management
Marktanteilsvergleiche - Tools für das Strategische Management
Similaire à Phigrate
GIT training - basic for software projects
GIT training - basic for software projects
Thierry Gayet
Utilisation de git avec Delphi
Utilisation de git avec Delphi
pprem
Deployer PHP et MariaDB dans Azure - TechDays
Deployer PHP et MariaDB dans Azure - TechDays
Christophe Villeneuve
Déployez votre site PHP / MariaDB, simplement et rapidement dans Azure
Déployez votre site PHP / MariaDB, simplement et rapidement dans Azure
Microsoft
Git ou le renouveau du contrôle de version
Git ou le renouveau du contrôle de version
goldoraf
WordCamp Lyon 2015 - WordPress, Git et l'intégration continue
WordCamp Lyon 2015 - WordPress, Git et l'intégration continue
Stéphane HULARD
GIT & Future Branching-0d86ea39-71ad-4a19-940c-c10be7c33b08-9feea918-d69a-47e...
GIT & Future Branching-0d86ea39-71ad-4a19-940c-c10be7c33b08-9feea918-d69a-47e...
akramalidrissi1
Formation GIT gratuite par ippon 2014
Formation GIT gratuite par ippon 2014
Ippon
Javascript as a first programming language : votre IC prête pour la révolution !
Javascript as a first programming language : votre IC prête pour la révolution !
VISEO
Chaine de production pipeline
Chaine de production pipeline
Nicolas wallerand
Spring Boot & Containers - Do's & Don'ts
Spring Boot & Containers - Do's & Don'ts
Julien Wittouck
Paris Container Day 2016 : Cloudunit v2 (Treeptik)
Paris Container Day 2016 : Cloudunit v2 (Treeptik)
Publicis Sapient Engineering
Comment développer pour Linux avec Delphi
Comment développer pour Linux avec Delphi
pprem
Adama Coulibaly.pptx
Adama Coulibaly.pptx
IdrissaDembl
Agile Tour Paris 2014 : Ma stack d'outils Agiles, tout un programme !, Cedric...
Agile Tour Paris 2014 : Ma stack d'outils Agiles, tout un programme !, Cedric...
ENSIBS
Scub Foundation, usine logicielle Java libre
Scub Foundation, usine logicielle Java libre
Stéphane Traumat
Une gestion efficace du changement de vos structures de données relationnelle...
Une gestion efficace du changement de vos structures de données relationnelle...
Olivier DASINI
Faire des applications web avec Delphi
Faire des applications web avec Delphi
pprem
Kiwiparty 2011 - Optimisation des sites internet
Kiwiparty 2011 - Optimisation des sites internet
Devclic
Presentation of GWT 2.4 (PowerPoint version)
Presentation of GWT 2.4 (PowerPoint version)
Celinio Fernandes
Similaire à Phigrate
(20)
GIT training - basic for software projects
GIT training - basic for software projects
Utilisation de git avec Delphi
Utilisation de git avec Delphi
Deployer PHP et MariaDB dans Azure - TechDays
Deployer PHP et MariaDB dans Azure - TechDays
Déployez votre site PHP / MariaDB, simplement et rapidement dans Azure
Déployez votre site PHP / MariaDB, simplement et rapidement dans Azure
Git ou le renouveau du contrôle de version
Git ou le renouveau du contrôle de version
WordCamp Lyon 2015 - WordPress, Git et l'intégration continue
WordCamp Lyon 2015 - WordPress, Git et l'intégration continue
GIT & Future Branching-0d86ea39-71ad-4a19-940c-c10be7c33b08-9feea918-d69a-47e...
GIT & Future Branching-0d86ea39-71ad-4a19-940c-c10be7c33b08-9feea918-d69a-47e...
Formation GIT gratuite par ippon 2014
Formation GIT gratuite par ippon 2014
Javascript as a first programming language : votre IC prête pour la révolution !
Javascript as a first programming language : votre IC prête pour la révolution !
Chaine de production pipeline
Chaine de production pipeline
Spring Boot & Containers - Do's & Don'ts
Spring Boot & Containers - Do's & Don'ts
Paris Container Day 2016 : Cloudunit v2 (Treeptik)
Paris Container Day 2016 : Cloudunit v2 (Treeptik)
Comment développer pour Linux avec Delphi
Comment développer pour Linux avec Delphi
Adama Coulibaly.pptx
Adama Coulibaly.pptx
Agile Tour Paris 2014 : Ma stack d'outils Agiles, tout un programme !, Cedric...
Agile Tour Paris 2014 : Ma stack d'outils Agiles, tout un programme !, Cedric...
Scub Foundation, usine logicielle Java libre
Scub Foundation, usine logicielle Java libre
Une gestion efficace du changement de vos structures de données relationnelle...
Une gestion efficace du changement de vos structures de données relationnelle...
Faire des applications web avec Delphi
Faire des applications web avec Delphi
Kiwiparty 2011 - Optimisation des sites internet
Kiwiparty 2011 - Optimisation des sites internet
Presentation of GWT 2.4 (PowerPoint version)
Presentation of GWT 2.4 (PowerPoint version)
Phigrate
1.
Phigrate Présentation du 25/02/2013
© Phigrate 2013
2.
Description Phigrate est un
outil de versioning de base de données écrit en PHP et est exécutable en ligne de commande. Cet outil est destiné aux développeurs travaillant sur des projets en commun utilisant une base de données. © Phigrate 2013
3.
Fonctionnalités Utilisez des fichiers
de migration pour faire évoluer votre base de données sans impacter vos collègues Lancer la migration de votre base de données après avoir mis à jour les sources de votre projet Réaliser les exports SQL pour les déploiements © Phigrate 2013
4.
Fonctionnement Phigrate s'utilise en
ligne de commande via le script binaire "phigrate". Pour générer vos nouveaux fichiers de migration, vous pouvez utiliser le script binaire "phigrate-generate". © Phigrate 2013
5.
Installation Phigrate nécessite PHP
>= 5.3 & Pear Vous pouvez installer Phigrate sur votre poste à l'aide de Pear. sudo pear channel-discover pear.phigrate.org sudo pear remote-list -c phigrate # Vérif channel sudo pear install phigrate/Phigrate sudo pear remote-info phigrate/Phigrate # Vérif package Cela vous permettra d'utiliser le script de génération de fichiers de migration et aussi pour l'auto-complétion dans votre IDE. © Phigrate 2013
6.
Configuration Pour fonctionner, il
vous faudra créer dans votre projet les fichiers de configuration pour Phigrate. Le fichier caché pour vous faciliter la tâche Une base pour chaque développeur © Phigrate 2013
7.
Les fichiers de
migrations Pourquoi utiliser le script "phigrate-generate" ? ● Il ajoute lui même le bon numéro de version ● Il vérifie que le nom de classe n'est pas en doublon ● Il vous crée un fichier propre Nécessite deux méthodes Up et Down Un fichier de migration par modification de base de données. © Phigrate 2013
8.
Langage Phigrate met à
votre disposition un langage très simple d'utilisation dans les fichiers de migration. Il vous permet d'interagir avec : ● Les bases de données ● Les tables ● Les colonnes ● Les index ● Les foreign key ● Les vues ● Les requêtes SQL © Phigrate 2013
9.
Les différentes tâches db:setup:
vous permet d'initialiser votre base de données pour gérer le versioning. db:migrate: vous permet de migrer votre base de données. db:export: vous permet d'exporter au format SQL les migrations. db:version: vous permet de connaitre l'état de votre base de données. db:status: vous permet de voir les migrations réalisées et à faire. db:schema: vous permet d'exporter le schéma de votre base de données. © Phigrate 2013
10.
Particularités ● Les exports,
Phigrate ne peut exporter correctement toutes les migrations. ● Si vous devez annuler une migration, levez une exception en début de migration. ● N'oubliez pas de définir votre environnement lors de l'utilisation. © Phigrate 2013
11.
Ressources Les sources :
https://github.com/Azema/Phigrate Le bugtracker : https://github.com/Azema/Phigrate/issues La documentation : http://blog.phigrate.org/doc/home Le dépôt Pear : http://pear.phigrate.org © Phigrate 2013
12.
Des questions ?
© Phigrate 2013
Télécharger maintenant