Title: NOT NULL statements are not working for generated Alembic migrations · Issue #232 · googleapis/python-spanner-sqlalchemy · GitHub
Open Graph Title: NOT NULL statements are not working for generated Alembic migrations · Issue #232 · googleapis/python-spanner-sqlalchemy
X Title: NOT NULL statements are not working for generated Alembic migrations · Issue #232 · googleapis/python-spanner-sqlalchemy
Description: the following 2 statements in the Spanner DDL window do the trick : ALTER TABLE test ADD COLUMN test STRING(MAX); ALTER TABLE test ALTER COLUMN test STRING(MAX) NOT NULL; But there is no native way of doing it in SQLAlchemy The workaroun...
Open Graph Description: the following 2 statements in the Spanner DDL window do the trick : ALTER TABLE test ADD COLUMN test STRING(MAX); ALTER TABLE test ALTER COLUMN test STRING(MAX) NOT NULL; But there is no native way...
X Description: the following 2 statements in the Spanner DDL window do the trick : ALTER TABLE test ADD COLUMN test STRING(MAX); ALTER TABLE test ALTER COLUMN test STRING(MAX) NOT NULL; But there is no native way...
Opengraph URL: https://github.com/googleapis/python-spanner-sqlalchemy/issues/232
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"NOT NULL statements are not working for generated Alembic migrations","articleBody":"the following 2 statements in the Spanner DDL window do the trick :\r\nALTER TABLE test ADD COLUMN test STRING(MAX);\r\nALTER TABLE test ALTER COLUMN test STRING(MAX) NOT NULL;\r\n\r\nBut there is no native way of doing it in SQLAlchemy\r\nThe workaround we currently use is to manually edit the migration file to add the two above statements using op.execute(). Tt would be nice if it worked out-of-the-box","author":{"url":"https://github.com/IlyaFaer","@type":"Person","name":"IlyaFaer"},"datePublished":"2022-08-18T08:08:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/232/python-spanner-sqlalchemy/issues/232"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5e11d4c0-6cdb-4ab9-891c-c01464e58991 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B7C6:512E3:404C357:5A65413:6A4F69DF |
| html-safe-nonce | b46a5f8d02c02ea639d28e8cad37f8297e167f2eb0a5f57e7ce2a7c1959cee5d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0M2OjUxMkUzOjQwNEMzNTc6NUE2NTQxMzo2QTRGNjlERiIsInZpc2l0b3JfaWQiOiI4OTY2NjM5MjY5MDA4MzM3Mzc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2a2e7bd8d5f49e0e2a7cd4e2accf7d776493e959263be9349ff9229e59287cdb |
| hovercard-subject-tag | issue:1342715172 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-spanner-sqlalchemy/232/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7bbc3aa06fe596efb1f0a0628f9286fae03713fc987fa2c184592c54434ef61d/googleapis/python-spanner-sqlalchemy/issues/232 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7bbc3aa06fe596efb1f0a0628f9286fae03713fc987fa2c184592c54434ef61d/googleapis/python-spanner-sqlalchemy/issues/232 |
| og:image:alt | the following 2 statements in the Spanner DDL window do the trick : ALTER TABLE test ADD COLUMN test STRING(MAX); ALTER TABLE test ALTER COLUMN test STRING(MAX) NOT NULL; But there is no native way... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | IlyaFaer |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-spanner-sqlalchemy git https://github.com/googleapis/python-spanner-sqlalchemy.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 335511641 |
| octolytics-dimension-repository_nwo | googleapis/python-spanner-sqlalchemy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 335511641 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-spanner-sqlalchemy |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width