Current Schema in Liquibase valueComputed Field

I have an as part of a changeset. However when using valueComputed I'd like to be able to refer to the current scheme. Because at the moment I have this:

<update tableName="foo">
    <column name="name" valueComputed="(select b.name from bar b where baz.id = b.id)" />
</update>

And the issue is that the generated SQL is something like this:

UPDATE some_scheme.foo SET name = (select b.name from bar b where  baz.id = b.id)

Notie that the generated update has some_scheme attached to it, and I'd like to be able to access this in my valueComputed field. Is that possible?

4
Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article