Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Système de migrations #6

Open
GeoffreyFrogeye opened this issue May 1, 2016 · 0 comments
Open

Système de migrations #6

GeoffreyFrogeye opened this issue May 1, 2016 · 0 comments
Assignees
Milestone

Comments

@GeoffreyFrogeye
Copy link
Member

Il y a un dossier migrations à la racine avec des fichiers de type TIMESTAMP.sql, et TIMESTAMP.php. Le principe est de créer un fichier migrations.php qui vérifie à partir d'une table Migrations (crée si elle n'existe pas) dans la base de donnée quelle est le timestamp de la dernière migration effectuée, et exécuter les fichiers .php et .sql correspondant aux timestamp supérieurs à ce timestamp (ou toutes les migrations si pas de table Migrations).

@GeoffreyFrogeye GeoffreyFrogeye self-assigned this May 5, 2016
@GeoffreyFrogeye GeoffreyFrogeye modified the milestone: v1.0.0 May 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant