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 #697 from benesch/ci-slt
civiz: account for rows_inserted -> rows_affected rename
- Loading branch information
Showing
4 changed files
with
29 additions
and
7 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
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
23 changes: 23 additions & 0 deletions
23
misc/civiz/migrate/versions/c8a6f3f3a2ac_rename_rows_inserted_to_rows_affected.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,23 @@ | ||
# Copyright 2019 Materialize, Inc. All rights reserved. | ||
# | ||
# This file is part of Materialize. Materialize may not be used or | ||
# distributed without the express permission of Materialize, Inc. | ||
|
||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
revision = 'c8a6f3f3a2ac' | ||
down_revision = 'e542fdd47f4a' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
op.alter_column("slt", "wrong_number_of_rows_inserted", | ||
new_column_name="wrong_number_of_rows_affected") | ||
|
||
|
||
def downgrade(): | ||
op.alter_column("slt", "wrong_number_of_rows_affected", | ||
new_column_name="wrong_number_of_rows_inserted") |
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