Skip to content

Fix sqlalchemy error when migrating schema#4813

Open
jimis wants to merge 1 commit intoEricsson:masterfrom
jimis:master
Open

Fix sqlalchemy error when migrating schema#4813
jimis wants to merge 1 commit intoEricsson:masterfrom
jimis:master

Conversation

@jimis
Copy link
Copy Markdown
Contributor

@jimis jimis commented Mar 27, 2026

Error was:

Textual SQL expression '...' should be explicitly declared as text

Error was:

  Textual SQL expression '...' should be explicitly declared as text
@jimis jimis requested review from bruntib and vodorok as code owners March 27, 2026 14:36
@jimis
Copy link
Copy Markdown
Contributor Author

jimis commented Mar 27, 2026

I can see multiple SQL statements in the same file that are not wrapped by sa.text(). However this was the only one I had to change to have a successful migration. You might want to have a look at the rest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant