-
Notifications
You must be signed in to change notification settings - Fork 26
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 #120 from ceph/runs-index
- Loading branch information
Showing
4 changed files
with
28 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
"""Index Run.name | ||
Revision ID: 266e6f3efd94 | ||
Revises: 11e2594da07b | ||
Create Date: 2023-07-31 12:01:24.936988 | ||
""" | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = '266e6f3efd94' | ||
down_revision = '11e2594da07b' | ||
|
||
from alembic import op | ||
|
||
|
||
def upgrade(): | ||
op.create_index('ix_runs_name', 'runs', ['name'], unique=True) | ||
|
||
|
||
def downgrade(): | ||
op.drop_index('ix_runs_name', table_name='runs') |
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,4 +1,4 @@ | ||
#!/usr/bin/env bash | ||
#!/usr/bin/env sh | ||
set -ex | ||
trap exit TERM | ||
pecan populate config.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