-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added button with history of flag/value (#39)
* added button with history of flag/value --------- Co-authored-by: d.maximchuk <[email protected]>
- Loading branch information
1 parent
c78ac63
commit 5e0e34e
Showing
9 changed files
with
317 additions
and
24 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 |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "1.1.0" | ||
__version__ = "1.1.1" |
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
40 changes: 40 additions & 0 deletions
40
featureflags/migrations/versions/4d42cf3d11de_added_created_and_reported_timestamps.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,40 @@ | ||
import sqlalchemy as sa | ||
|
||
from alembic import op | ||
from sqlalchemy.dialects import postgresql | ||
|
||
|
||
revision = "4d42cf3d11de" | ||
down_revision = "1876f90b58e8" | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.add_column( | ||
"flag", | ||
sa.Column("created_timestamp", postgresql.TIMESTAMP(), nullable=True), | ||
) | ||
op.add_column( | ||
"flag", | ||
sa.Column("reported_timestamp", postgresql.TIMESTAMP(), nullable=True), | ||
) | ||
op.add_column( | ||
"value", | ||
sa.Column("created_timestamp", postgresql.TIMESTAMP(), nullable=True), | ||
) | ||
op.add_column( | ||
"value", | ||
sa.Column("reported_timestamp", postgresql.TIMESTAMP(), nullable=True), | ||
) | ||
# ### end Alembic commands ### | ||
|
||
|
||
def downgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.drop_column("value", "reported_timestamp") | ||
op.drop_column("value", "created_timestamp") | ||
op.drop_column("flag", "reported_timestamp") | ||
op.drop_column("flag", "created_timestamp") | ||
# ### end Alembic commands ### |
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
Oops, something went wrong.