V
V
Vladislav2020-06-06 10:25:44
Yii
Vladislav, 2020-06-06 10:25:44

How to create a table based on a model?

Tell me there is an opportunity in yii2 to create a table in the database based on the existing model.
And the second question, is it possible to create a migration based on an existing table?
To create a table with the contents during migration. Krch like dykes tables only in migration

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nokimaro, 2020-06-06
@cr1gger

https://github.com/Insolita/yii2-migrik
- table structure
migrations - data migrations from the model

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question