lovec / db-changelog
Db changelog handles changes in db structure.
Installs: 4 462
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=5.5
- flame/modules: ~2.3
- kdyby/events: ~3.0
- nette/database: ~2.3
- nette/utils: ~2.3
- nextras/forms: ~1.4
This package is not auto-updated.
Last update: 2024-12-21 18:28:59 UTC
README
It is a module Changelog. You can access it from browser by http://yourProject/db-changelog/ If you make changes in structure, access the url above and insert your sql code. It will show up in your git changes to commit.
In development mode, changelog automatically detect pulled changes in database and show them to execute in your local database. In production. You need to manually go to http://yourProject/db-changelog/ and execute changes
Requirements
- PHP 5.5
- Nette\Database
Install
Via Composer:
composer require lovec/db-changelog
Register extension in your config.neon
:
extensions: changelog: Lovec\DbChangelog\DI\ChangelogExtension changelog: # you can change these defaults dir: '%appDir%/changelog' table: changelog