Skip to content
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

fixtures: use unlogged tables for PostgreSQL #106

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

slint
Copy link
Member

@slint slint commented Jan 27, 2024

Based on the discussion at sqlalchemy/alembic#1108.

@slint slint force-pushed the postgresql-unlogged branch from f060bdc to f19a6b4 Compare January 28, 2024 13:25
from sqlalchemy.schema import CreateTable

@compiles(CreateTable)
def _compile_unlogged(element, compiler, **kwargs):
Copy link
Member

Choose a reason for hiding this comment

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

Maybe add a comment with linking to the alembic discussion for context?

@slint slint force-pushed the postgresql-unlogged branch from f19a6b4 to cd5dcc1 Compare January 29, 2024 15:24
@slint slint merged commit cd5dcc1 into inveniosoftware:master Jan 29, 2024
6 checks passed
@slint slint deleted the postgresql-unlogged branch January 29, 2024 16:43
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