-
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 #85 from hibiya-itchief/sharepointを追加できない
データベースの長さを変更
- Loading branch information
Showing
2 changed files
with
145 additions
and
54 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
36 changes: 36 additions & 0 deletions
36
migration/versions/5e583a6e225c_linktextの型をvarcharからtextに変更.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,36 @@ | ||
"""linktextの型をvarcharからtextに変更 | ||
Revision ID: 5e583a6e225c | ||
Revises: 73277cc08dac | ||
Create Date: 2024-09-23 14:59:44.935752 | ||
""" | ||
|
||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = "5e583a6e225c" | ||
down_revision = "73277cc08dac" | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade() -> None: | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.alter_column( | ||
"grouplinks", "linktext", existing_type=sa.VARCHAR(255), type_=sa.VARCHAR(1023) | ||
) | ||
# ### end Alembic commands ### | ||
|
||
|
||
def downgrade() -> None: | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.alter_column( | ||
"grouplinks", | ||
"linktext", | ||
existing_type=sa.VARCHAR(1023), | ||
type_=sa.VARCHAR(255), | ||
) | ||
# ### end Alembic commands ### |
17f43ca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage Report