Removed PostGres from code and documentation
We don't support postgres. Change-Id: Ia51300c1aa1042ae32f966490ce4265d49fab255
This commit is contained in:
parent
e30e1cb406
commit
5308c2cc52
@ -16,15 +16,11 @@ Installing the API service
|
||||
$ pip install storyboard
|
||||
|
||||
2. By default Storyboard will use SQLite driver which is suitable only for
|
||||
development mode. Storyboard supports MySQL and PostgreSQL backends.
|
||||
To install MySQL driver execute::
|
||||
development mode. Storyboard only supports MySQL, to install MySQL driver
|
||||
execute::
|
||||
|
||||
$ pip install MySQL-python
|
||||
|
||||
To install PostgreSQL driver execute::
|
||||
|
||||
$ pip install psycopg2
|
||||
|
||||
3. Edit ``/etc/storyboard/storyboard.conf``. You'll need to modify ``connection``
|
||||
parameter in the ``[database]`` section.
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
#sqlite=sqlite://
|
||||
#sqlitefile=sqlite:///test_migrations_utils.db
|
||||
mysql=mysql+mysqldb://storyboard:storyboard@localhost/test_migrations_utils
|
||||
#postgresql=postgresql+psycopg2://user:pass@localhost/test_migrations_utils
|
||||
|
||||
[migration_dbs]
|
||||
# Migration DB details are listed separately as they can't be connected to
|
||||
@ -19,7 +18,6 @@ mysql=mysql+mysqldb://storyboard:storyboard@localhost/test_migrations_utils
|
||||
#sqlite=sqlite://
|
||||
#sqlitefile=sqlite:///test_migrations.db
|
||||
#mysql=mysql+mysqldb://user:pass@localhost/test_migrations
|
||||
#postgresql=postgresql+psycopg2://user:pass@localhost/test_migrations
|
||||
|
||||
[walk_style]
|
||||
snake_walk=yes
|
||||
|
@ -51,9 +51,7 @@ def _get_connect_string(backend, user, passwd, database):
|
||||
these then we'll run the tests, otherwise they are skipped
|
||||
"""
|
||||
|
||||
if backend == "postgres":
|
||||
backend = "postgresql+psycopg2"
|
||||
elif backend == "mysql":
|
||||
if backend == "mysql":
|
||||
backend = "mysql+mysqldb"
|
||||
else:
|
||||
raise Exception("Unrecognized backend: '%s'" % backend)
|
||||
|
@ -14,7 +14,6 @@ posix_ipc>=0.9.8
|
||||
|
||||
# Some of the tests use real MySQL and Postgres databases
|
||||
MySQL-python
|
||||
psycopg2
|
||||
|
||||
# Doc requirements
|
||||
sphinx>=1.1.2,<1.2
|
||||
|
Loading…
Reference in New Issue
Block a user