pre sql tag

Hi,

Is their a way to run sql via liquibase before the databasechangelog and databasechangeloglock tables are created?
What I would like to do is have liquibase connect as the admin account and create the tablespace, create the user and grant privs to that user.
Then once the user is created have liquibase create its 2 tables and process the rest of the changesets. 

I was hoping I could do this all in liquibase.  If possible I would prefer not to have a seperate sql script outside of liquibase that creates the tablespace, etc.

Thanks,
Alana

There is no way to do that currently.  Liquibase makes a connection to the database as part of its startup and assumes the accounts and tablespaces exist. 

You’ll have to do it externally.

Nathan