What's the pattern for writing migrations exactly?
I'm thinking of creating a /migrations folder and an index.ts file that will include the run migration code, while there will be the migration files in the same folder. Following the iso8601timestamp-some-description.ts
What's the pattern for writing migrations exactly?
wouldn't it be an expensive computation if im running serverless? like for it to try to create the tables if they dont exist everytime a request hits on my aws lambda