I'm trying to run multiple migration/sql files on a D1 database. Is there a way I can have access to

I'm trying to run multiple migration/sql files on a D1 database. Is there a way I can have access to the D1 binding from inside a script (so I can read sql files and execute sql into D1)? Without being a "module worker" or "service worker" πŸ™ πŸ“Ώ
Was this page helpful?