# What is the problem?

**URL:** <https://www.phphelp.com/t/what-is-the-problem/36332>\
**Category:** Beginners - Learning PHP\
**Created:** [December 2, 2024, 9:59pm UTC](https://www.phphelp.com/t/what-is-the-problem/36332 "2024-12-02T21:59:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jokrsnl93](https://www.phphelp.com/letter_avatar_proxy/v4/letter/j/da6949/32.png) [@Jokrsnl93](https://www.phphelp.com/u/Jokrsnl93)\
**Post date:** [December 2, 2024, 9:59pm UTC](https://www.phphelp.com/t/what-is-the-problem/36332/1 "2024-12-02T21:59:19Z")

</div>

i have tried to use everything and import everything till now but in migration table of my users the hasOne function is not defined. i tried it in APP\model/Users and it worked and the auto complete shows it… in migration tables it wont let me use it why?

 ![IMG_7997](https://www.phphelp.com/uploads/default/original/2X/9/9bc5b502b2c71402793d74e9e52258857a600727.jpeg)
