-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not load server configuration by web-UI
The web-UI is typically driven by http server, without permissions to read /etc/resallocserver files or write /var/log/resallocserver. Fixes: fedora-copr/copr#3202
- Loading branch information
Showing
4 changed files
with
35 additions
and
14 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
resallocserver/alembic/versions/b50e3f64fc2d_track_pool_max_value.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,17 @@ | ||
""" | ||
Track Pool max value | ||
""" | ||
|
||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
revision = 'b50e3f64fc2d' | ||
down_revision = '78237445aff8' | ||
|
||
def upgrade(): | ||
with op.batch_alter_table('pools', schema=None) as batch_op: | ||
batch_op.add_column(sa.Column('max', sa.Integer(), nullable=True)) | ||
|
||
def downgrade(): | ||
with op.batch_alter_table('pools', schema=None) as batch_op: | ||
batch_op.drop_column('max') |
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