zlkoh/redix

Redis migration

v0.0.1 2016-12-12 03:53 UTC

This package is not auto-updated.

Last update: 2024-05-06 13:19:32 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.