Skip to content

Add short titles for licenses #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 26, 2025
Merged

Add short titles for licenses #26

merged 3 commits into from
Feb 26, 2025

Conversation

tillywoodfield
Copy link
Contributor

def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.alter_column(
"dataset", "license_name", nullable=False, new_column_name="license_title"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why nullable=False is set here when the old definition was nullable=True?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, typo! Thanks for spotting, have fixed

def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.alter_column(
"dataset", "license_title", nullable=False, new_column_name="license_name"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@jarofgreen
Copy link
Contributor

Rest looks great tho

Base automatically changed from 9-notifications to main February 26, 2025 07:36
@tillywoodfield tillywoodfield merged commit 14f413f into main Feb 26, 2025
1 check passed
@tillywoodfield tillywoodfield deleted the short-license-titles branch February 26, 2025 09:11
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.

2 participants