Not all columns are detected from a table
Closed this issue · 1 comments
timmy1420 commented
For example this how the row looks like:
{
id: 1,
user_id: 1,
ip: "127.0.0.1",
oauth: 0,
created_at: "2019-08-20 13:13:39",
updated_at: "2019-08-20 13:13:39",
}
And this is wat Laratables can detect.:
{
"id":136,
"ip":"127.0.0.1",
"created_at":"2019-10-27 15:34:47",
"user":[]
}
Other models work perfectly and others don't. The same issue where for example I do, $log->aouth but is doesn't exist. It outputs a null value. Is there something I need to assign or modify?
timmy1420 commented
Alright. I figured it out. It seems like boolean fields aren't detected. So when making changing the data type, it shows the content