fix of database struture
change for laravel 4