how to strip timestamp of +00:00 in sequelize

I am using Sequelize to map objects to my already existing database, in this database they didnt use the auto-generated timestamps, they did their own datetime work, the current way the database stores the date is in YYYY-MM-DD HH:MM:SS.MS however using sequelize, i am returning a date that looks like YYYY-MM-DD HH:MM:SS.MS +00:00 and i believe this is whats tripping me up. as i am receiving an error Conversion failed when converting date and/or time from character string. I tried even accessing the Date() object and building my own date string, and i got the same error. even though it follows the correct formatting.

Custom data type not getting assigned values for record creation

I wrote a custom data type by extending Abstract, like in the example listed for the following link: Everything appears to work until I try to save foreign keys, in this case it continues to generate a new UUID instead of getting the foreign key passed in the object to the create method.

Sequelize “null value in column of relation violates not-null constraint” on auto increment field after migrate from MySQL to Postgres

I am trying to migrate from MySQL to Postgres, I used pgLoader to move my data, reading operations seems to work fine but I am having this issue – When I am trying to create a new record using model.create() I am getting SequelizeDatabaseError: null value in column of relation violates not-null constraint