-
Notifications
You must be signed in to change notification settings - Fork 32
π¨ Changing Rest Model for licensed items listing (ποΈ) #7139
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
matusdrobuliak66
merged 21 commits into
ITISFoundation:master
from
matusdrobuliak66:vip-models-add-db
Jan 31, 2025
Merged
Changes from 17 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
e1cd3e5
daily work
matusdrobuliak66 ba0292c
rm redundant test
matusdrobuliak66 306f9af
test
matusdrobuliak66 4d72da8
Merge branch 'master' into vip-models-add-db
matusdrobuliak66 d028c4a
updates db
pcrespov 140e075
migrations
pcrespov 940b272
adapts repository
pcrespov d3fa0e5
removing vip mels
matusdrobuliak66 ec7280a
adapts repository
pcrespov 59bf4b2
openapi specs
matusdrobuliak66 42df0d1
fixes tests
pcrespov ee2bd0e
Merge branch 'master' into is7097/licensed-items-db
matusdrobuliak66 45a1cbc
fix model
matusdrobuliak66 08d4f80
fix model
matusdrobuliak66 48c7c70
openapi specs
matusdrobuliak66 a6818b5
solve merge conflicts
matusdrobuliak66 ccf7aa1
solve merge conflicts
matusdrobuliak66 6d8ef9f
fix
matusdrobuliak66 f56be38
openapi specs
matusdrobuliak66 39c4581
openapi specs
matusdrobuliak66 d07d772
Merge branch 'master' into vip-models-add-db
matusdrobuliak66 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
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
30 changes: 30 additions & 0 deletions
30
...src/simcore_postgres_database/migration/versions/b8e3837d8d87_modify_licensed_items_db.py
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| """modify licensed items DB | ||
| Revision ID: b8e3837d8d87 | ||
| Revises: 4f31760a63ba | ||
| Create Date: 2025-01-30 12:52:12.401782+00:00 | ||
| """ | ||
| import sqlalchemy as sa | ||
| from alembic import op | ||
|
|
||
| # revision identifiers, used by Alembic. | ||
| revision = "b8e3837d8d87" | ||
| down_revision = "4f31760a63ba" | ||
| branch_labels = None | ||
| depends_on = None | ||
|
|
||
|
|
||
| def upgrade(): | ||
| # ### commands auto generated by Alembic - please adjust! ### | ||
| op.drop_column("licensed_items", "license_key") | ||
matusdrobuliak66 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| # ### end Alembic commands ### | ||
|
|
||
|
|
||
| def downgrade(): | ||
| # ### commands auto generated by Alembic - please adjust! ### | ||
| op.add_column( | ||
| "licensed_items", | ||
| sa.Column("license_key", sa.VARCHAR(), autoincrement=False, nullable=True), | ||
| ) | ||
| # ### end Alembic commands ### | ||
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
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.