Skip to content
Advertisement

Yii2 Migration move data to other table

I have table:

JavaScript

and I have created table

JavaScript

I want to move some data(date_used & used_by_user_id) from table ticket to other table used with migration yii2 in the query. But I don’t know how to do it without ActiveRecord & array.

Advertisement

Answer

JavaScript

Only sql. Yii-migration not supported select in the insert into

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement