Skip to content

Commit c656d05

Browse files
thisisshiwgrant
authored andcommitted
random changes from the 2024/04/29 merge commit
1 parent 69ac1a5 commit c656d05

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ x-redash-environment: &redash-environment
1919
REDASH_MAIL_SERVER: "email"
2020
REDASH_MAIL_PORT: 1025
2121
REDASH_ENFORCE_CSRF: "true"
22+
SQLALCHEMY_DATABASE_SCHEMA: "redash"
2223
REDASH_GUNICORN_TIMEOUT: 60
2324
# Set secret keys in the .env file
2425
services:

migrations/alembic.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[alembic]
44
# template used to generate migration files
55
# file_template = %%(rev)s_%%(slug)s
6+
script_location = migrations
67

78
# set to 'true' to run the environment during
89
# the 'revision' command, regardless of autogenerate

migrations/versions/89bc7873a3e0_fix_multiple_heads.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
# revision identifiers, used by Alembic.
1313
revision = '89bc7873a3e0'
14-
down_revision = ('0ec979123ba4', 'd7d747033183')
14+
down_revision = ('0ec979123ba4', 'd7d747033183', '4afa4a1dd310',)
1515
branch_labels = None
1616
depends_on = None
1717

redash/handlers/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def outdated_queries():
3636

3737
response = {
3838
"queries": QuerySerializer(outdated_queries, with_stats=True, with_last_modified_by=False).serialize(),
39-
"updated_at": manager_status["last_refresh_at"],
39+
"updated_at": manager_status.get("last_refresh_at"),
4040
}
4141
return json_response(response)
4242

0 commit comments

Comments
 (0)