Download the PHP package ludwig-br/postgres-migration without Composer
On this page you can find all versions of the php package ludwig-br/postgres-migration. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ludwig-br/postgres-migration
More information about ludwig-br/postgres-migration
Files in ludwig-br/postgres-migration
Package postgres-migration
Short Description Lightweight php migration tool for PostgreSQL databases
License MIT
Informations about the package postgres-migration
postgres-migration
Lightweight php migration tool for PostgreSQL databases.
Getting Started
Prerequisites
To use this tool you need to have installed:
Details: composer.json
Installing
After downloading (with composer or manually) you need to do configuration. Every part you may need to touch is marked with a "ToDo"-statement.
-
copy the content of the example/ directory into your project
- if you want to use your own config files implement the published Interfaces and delete the config/Directories.php
- otherwise alter the config/Directories.php and fill in your information
- alter the config/includes.php with valid paths and class calls
After finishing the configuration you should get a security copy of you database.
Finally you can generate your first migration files!
The files will be placed in the directories specified in config/Directories.php for restoration or updating the database after small changes use
Additional Information
This project is meant to offer an easy and lightweight way to integrate your (PostgreSQL) Database into your version control system. Furthermore minor changes to the database schema during developement can be applied easily. During generation your database will be altered, therefore please get a security copy before you use this tool. I advice using this tool only in a development environment.
License
This project is licensed under the MIT License - see the LICENSE.md file for details