Postgres: install plugin during migration

So, I'm using Drizzle with Postgres and am using uuid for the id fields.
For that, i need to run the command:
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
after creating the database.

Is there a way to automate this in the first migration file?
Is it safe to just paste it at the begining of the first migration file?

Thank you
Was this page helpful?