Split the migrations to match the other databases. Avoid unsafe BigInt values by using sequences to increment id fields.