H
H
Hello America2018-12-03 17:19:49
MySQL
Hello America, 2018-12-03 17:19:49

How to generate MySQL tables from existing Yii v1.1.14 models?

There is a project with a lost database, which is written in YII version 1.1.14, you need to restore the database by generating it from existing models using the YII CLI. Is it possible? I am a noob in this framework, is it possible to migrate models to tables from it, as in Python?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2018-12-03
@webinar

It will not work to generate automatically from models. But perhaps there are migrations? Then everything is simple:
https://www.yiiframework.com/doc/guide/1.1/en/data...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question