zlkoh / redix
Redis migration
v0.0.1
2016-12-12 03:53 UTC
Requires
- php: >=5.4
- predis/predis: ^1.1
- symfony/config: ^3.2
- symfony/console: ^3.2
- symfony/yaml: ^3.2
This package is not auto-updated.
Last update: 2025-04-21 17:52:03 UTC
README
A very simple Redis migration
Redix is created based on Phinx.
a file named redix.yml has to be created and placed in the root of your working directory
- migrationPath: app/migrations
- host: 127.0.0.1
- port: 6379
bin/redix create ProjectName to create a migration file under app/migrations bin/redix migrate to insert the value into redis bin/redix rollback to rollback a single migration. Rollback follows a FILO process.