Rewriting code from yii 1 to yii 2

I made a call logs in yii 1 that separated missed , received and outgoing. I started the project from scratch in yii 2

so far i have been able to implement what i can remember but am stuck on point where all call logs are in one column and not separated into missed or received

Is your data stored in one column in your database? What does your table look like with some sample data?