You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/11/27 19:23:02 UTC

[GitHub] [airflow] bostonrwalker opened a new issue #12666: Error: table kube_resource_version already exists when calling reset_db() with SQLite backend

bostonrwalker opened a new issue #12666:
URL: https://github.com/apache/airflow/issues/12666


   Issue encountered during alembic migration when running Airflow 2.0.0b3 locally using a sqlite backend and calling airflow.utils.db.resetdb():
   
   **sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) table kube_resource_version already exists
   [SQL: 
   CREATE TABLE kube_resource_version (
   	one_row_id BOOLEAN DEFAULT (1) NOT NULL, 
   	resource_version VARCHAR(255), 
   	PRIMARY KEY (one_row_id), 
   	CONSTRAINT kube_resource_version_one_row_id CHECK (one_row_id), 
   	CHECK (one_row_id IN (0, 1))
   )
   
   ]**
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] kaxil closed issue #12666: Error: table kube_resource_version already exists when calling reset_db() with SQLite backend

Posted by GitBox <gi...@apache.org>.
kaxil closed issue #12666:
URL: https://github.com/apache/airflow/issues/12666


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] boring-cyborg[bot] commented on issue #12666: Error: table kube_resource_version already exists when calling reset_db() with SQLite backend

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #12666:
URL: https://github.com/apache/airflow/issues/12666#issuecomment-734959894


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org