This saved monday task but, why the last migrate added a column at the last index? not adding it like next to email I mean before createdAt and updatedAt
Thanks for watching chief!. As regards your question, That was because PostgreSQL sees it as a newly added column and has to append it after the already created/existing columns.
what about authomatic migrations .In typeorm you can automatically create migration files according to your model changes. You dont need to write them yourself