From 3c31acd0539a086e48eb0398e535c2de019afefc Mon Sep 17 00:00:00 2001 From: sankalp Date: Tue, 19 Sep 2023 07:21:28 -0400 Subject: [PATCH] fixing tests --- .github/workflows/nightly.yml | 2 +- .../de0a6c0a3e3d_add_qelectron_data_exists_flag_to_db.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 7637837ff..8497d4f60 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -22,7 +22,7 @@ name: nightly on: schedule: - - cron: "0 */4 * * *" + - cron: "0 4 * * *" jobs: license: diff --git a/covalent_migrations/versions/de0a6c0a3e3d_add_qelectron_data_exists_flag_to_db.py b/covalent_migrations/versions/de0a6c0a3e3d_add_qelectron_data_exists_flag_to_db.py index 10b1b356e..f9f53d1eb 100644 --- a/covalent_migrations/versions/de0a6c0a3e3d_add_qelectron_data_exists_flag_to_db.py +++ b/covalent_migrations/versions/de0a6c0a3e3d_add_qelectron_data_exists_flag_to_db.py @@ -43,7 +43,9 @@ def upgrade() -> None: batch_op.create_foreign_key("electron_link", "electrons", ["parent_electron_id"], ["id"]) with op.batch_alter_table("electrons", schema=None) as batch_op: - batch_op.add_column(sa.Column("qelectron_data_exists", sa.Boolean(), nullable=False)) + batch_op.add_column( + sa.Column("qelectron_data_exists", sa.Boolean(), nullable=False, default=False) + ) # ### end Alembic commands ###