Redis

There are no standard migrations for redis. The common pattern is to write a Class that behaves as a desired data structure and abstracts storage details from the user using it.

The common pattern is to prefix all the keys generate by such a class with the class's nams. This allows us to easily delete or extract data coming from one exact wrapper class.

Examples:

oma-models/lib/oma/redis/*

Last updated