Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 1169

Liquibase 3.5.3 runs ALTER USER on update

$
0
0
I upgraded to Liquibase 3.5.3. We use SqlServer. I see this error during update:

Unexpected error running Liquibase: Cannot alter the user '<domain>david.raskin', because it does not exist or you do not have permission. [Failed SQL: IF USER_NAME() <> N'dbo'

BEGIN
        DECLARE @sql [nvarchar](MAX)
        SELECT @sql = N'ALTER USER ' + QUOTENAME(USER_NAME()) + N' WITH DEFAULT_SCHEMA = [ccf]'
        EXEC sp_executesql @sql
END]

Previous version of Liquibase did not give this error or probably didn't run this SQL in the beginning.

Is there a way to disable this?

thanks!

Viewing all articles
Browse latest Browse all 1169

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>