-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from cweidner3/develop
Release to provide maria support
- Loading branch information
Showing
6 changed files
with
58 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -35,6 +35,11 @@ jobs: | |
uses: docker/[email protected] | ||
with: | ||
images: ${{ secrets.DOCKER_HUB_NS }}/hikeblog-web | ||
tags: | | ||
type=ref,event=branch | ||
type=ref,event=pr | ||
type=semver,pattern={{version}} | ||
type=semver,pattern={{major}}.{{minor}} | ||
- name: Extract metadata (tags, labels) for Docker | ||
id: metaapi | ||
|
This file contains 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 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 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
24 changes: 24 additions & 0 deletions
24
api/src/migrations/20221210_1412-692e53a878cb_set_largebinary_size_for_mariadb_blob.py
This file contains 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,24 @@ | ||
"""Set LargeBinary size for MariaDB BLOB | ||
Revision ID: 692e53a878cb | ||
Revises: 991b63134bdc | ||
Create Date: 2022-12-10 14:12:58.313588 | ||
""" | ||
from alembic import op | ||
from sqlalchemy import LargeBinary | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = '692e53a878cb' | ||
down_revision = '991b63134bdc' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade() -> None: | ||
op.alter_column('pictures', 'data', type_=LargeBinary(1 << 24)) | ||
|
||
|
||
def downgrade() -> None: | ||
op.alter_column('pictures', 'data', type_=LargeBinary) |
This file contains 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