github.com/kyleu/dbaudit@v0.0.2-0.20240321155047-ff2f2c940496/queries/schema/createDatabase.sql (about)

     1  -- {% func CreateDatabase() %}
     2  create role "dbaudit" with login password 'dbaudit';
     3  
     4  create database "dbaudit";
     5  alter database "dbaudit" set timezone to 'utc';
     6  grant all privileges on database "dbaudit" to "dbaudit";
     7  -- {% endfunc %}