| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| Expand Up | @@ -60,6 +60,12 @@ class = StreamHandler | |
| sa.Column('id', sa.Integer, primary_key=True), | ||
| sa.Column('name', sa.String(50), nullable=False), | ||
| sa.Column('description', sa.Unicode(200)), | ||
| ) | ||
| op.alter_column( | ||
| 'account', | ||
| 'name', | ||
| existing_type=sa.String(50), | ||
| nullable=True, | ||
|
Comment thread
Copy link
Copy Markdown
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityAdding the issue case into the migration test (the original error could be repeated this way before these changes)
Sorry, something went wrong.
larkee reacted with thumbs up emoji
All reactions
|
||
| )""" | ||
|
|
||
|
|
||
| Expand Down | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| Expand Up | @@ -19,7 +19,11 @@ | |
|
|
||
| name = "sqlalchemy-spanner" | ||
| description = "SQLAlchemy dialect integrated into Cloud Spanner database" | ||
| dependencies = ["sqlalchemy>=1.1.13, <=1.3.23", "google-cloud-spanner>=3.3.0"] | ||
| dependencies = [ | ||
| "sqlalchemy>=1.1.13, <=1.3.23", | ||
| "google-cloud-spanner>=3.3.0", | ||
| "alembic", | ||
| ] | ||
|
Comment thread
Copy link
Copy Markdown
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityAs we're now describing some alembic overrides, it should be mentioned in dependencies
Sorry, something went wrong.
larkee reacted with thumbs up emoji
All reactions
|
||
| extras = { | ||
| "tracing": [ | ||
| "opentelemetry-api >= 1.1.0", | ||
| Expand Down | ||
| Back | FazBrowse Home | New Git URL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityThere are two syntax diverges:
Spanner supports NULL/NOT NULL statement without the DROP word in front of it for constraints dropping
Spanner doesn't use TYPE word for column type mentions
These two overrides covers both items.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.