arvindmunna commented on issue #47300:
URL: https://github.com/apache/airflow/issues/47300#issuecomment-2696110232

   Hi @amolsr
   
   
   This happened with AWS **Postgres db version 15**, we launched a micro db in 
postgres and tried running the db migrate  and It did created the tables and 
default entries under Public schema, but we need a **custom schema**, so we 
created the custom schema and modified the airflow.cfg file 
**sql_alchemy_schema** and then re ran the db migrate to my remote postgres, 
this time it created the tables and permissions but there is **no default 
values created** in **LogTemplate_id table**. So this throws error when we 
trigger the dag even the example dags will fail. 
   
   **Solution :** we ran a sql query manually to add some data in that empty 
table and this fixed the error.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to