mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
fix: add plain postgres alias (#21045)
This commit is contained in:
7
setup.py
7
setup.py
@@ -64,10 +64,11 @@ setup(
|
||||
zip_safe=False,
|
||||
entry_points={
|
||||
"console_scripts": ["superset=superset.cli.main:superset"],
|
||||
# the `postgres+psycopg2://` scheme was removed in SQLAlchemy 1.4, add an alias here
|
||||
# to prevent breaking existing databases
|
||||
# the `postgres` and `postgres+psycopg2://` schemes were removed in SQLAlchemy 1.4
|
||||
# add an alias here to prevent breaking existing databases
|
||||
"sqlalchemy.dialects": [
|
||||
"postgres.psycopg2=sqlalchemy.dialects.postgresql:dialect"
|
||||
"postgres.psycopg2 = sqlalchemy.dialects.postgresql:dialect",
|
||||
"postgres = sqlalchemy.dialects.postgresql:dialect",
|
||||
],
|
||||
},
|
||||
install_requires=[
|
||||
|
||||
Reference in New Issue
Block a user