So I'm importing a Sequelize/Postgres database into a brand new Laravel app. Thing is, its columns are all weird. It uses createdAt
and updatedAt
when Laravel, of course, is created_at
and updated_at
.
Without needing to update the column names, is there a way I can reference created_at
as the column name createdAt
? I know you can reference table names with new names such as public $table = 'newTableName';