@@ -40,8 +40,17 @@ def test_forward_and_downgrade_migrations_on_empty_database(tmp_path) -> None:
|
||||
"cloud_auth_audit_events",
|
||||
"cloud_token_reservations",
|
||||
"cloud_token_usage_events",
|
||||
"cloud_llm_provider_profiles",
|
||||
"cloud_llm_provider_settings",
|
||||
} <= table_names
|
||||
assert current_revision(database_url) == HEAD_REVISION
|
||||
assert (
|
||||
connection_scalar(
|
||||
engine,
|
||||
"select revision from cloud_llm_provider_settings where id = 'global'",
|
||||
)
|
||||
== 0
|
||||
)
|
||||
host_columns = {
|
||||
column["name"]
|
||||
for column in inspect(engine).get_columns("host_registrations")
|
||||
|
||||
Reference in New Issue
Block a user