Open sigurdhj opened 2 years ago
@sigurdhj would you consider submitting a PR?
I'm getting a similar error on destroy: Error: unable to delete user [example-simple-vi].[example-simple-vi]: mssql: The database principal owns a schema in the database, and cannot be dropped.
Is this related?
When trying to destroy a user that owns a fulltext catalog I get the following error message:
Error: unable to delete user [<name>].[<name>]: mssql: The database principal owns a fulltext catalog in the database, and cannot be dropped.
I'm working around this issue with the following SQL: