Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: fix panic when resolving a target on non-existent db
When trying to resolve a target on non-existent DB, we would have a nil deference panic due to a missing error check. Some ways that could have triggered this panic: - Resolving {types,sequences} - Renaming a table Release note (bug fix): Fix a crash that may occur when referencing a database that does not exist when trying to create a type, sequence or when renaming a table.
- Loading branch information