E
E
evilelf2019-01-21 19:25:16
Yii
evilelf, 2019-01-21 19:25:16

How to work with migrations in Yii2 when using redis as a base?

Colleagues,
How to work with migrations in Yii2 when using redis as a base?
I need to make a migration that will create a structure and populate it with test data.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2019-01-21
@webinar

Well, actually everything is the same as without migrations:
Yii::$app->redis->set('mykey', 'some value');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question