Laravel5.7 issue in saving longtext to database
I have a laravel5.7 function that save data in database, it have 1 longtext field, and that saves the data to database very well. Now i have created a new table with the name of history, it is almost the copy of other table with a text field with type longtext. The issue is that main table stores the longtext properly and have no issue. But when i try to save same data to history table, it truncate the dat`a.
Note I have copy pasted the same data using mysql, to history table manually. it works fine.
I have enable debug query log and have seen that it even truncated when it creates the object before save.