Repository navigation
matview versioning v2, now with better index support #560
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
Draft
MoralCode
wants to merge
23
commits into
main
Choose a base branch
from
feat/version_matview_indexes
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
c654b3e
install alembic_utils_extended
MoralCode a6b2a8c
add logger to alembic.ini
MoralCode 6de4d52
remove alembic utils
MoralCode f6466a9
swap imports
MoralCode b5f7b3c
update docs references to alembic_utils_extended
MoralCode c262081
remove unused import from alembic_utils in an old migration
MoralCode 582e626
Convert MaterializedView dataclass into a thin subclass wrapper
MoralCode 5c245df
remove to_pg_view since we now are a view
MoralCode bf9c855
make refresh_sql aware of the with_data setting, but allow an optiona…
MoralCode 90ce0e9
put to_pg_view() back so that the materialized views generate cleanly
MoralCode ddd3f6c
add Index argument
MoralCode 908d35d
with_data or self.with_data means explicitly passing with_data=False …
MoralCode 18a9f3f
corrections to and proper passthrough of indexes arg
MoralCode 2369f34
replace implementation of unique_index_columns
MoralCode 03b8836
first pass at a comparator
MoralCode f97ab20
register new comparator in alembic env.py
MoralCode 0f5ccd2
replace noqa hack with an actual import
MoralCode 7f37cea
logging of whats happening
MoralCode be04c4d
render expressions via `render_ddl_sql_expr` like alembic_utils_extended
MoralCode e6e6be4
Transition single-column indexes to the new syntax
MoralCode 876378f
Transition multi-column indexes to the new syntax
MoralCode af750b7
rename indexes to match whats already in the DB
MoralCode a700a55
handle when indexes is None
MoralCode File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.