glance/glance/db
Abhishek Kekane 6e525647f6 Fix INSTR not supported for postgresql
Migration script 'train_migrate01_backend_to_store.py' doesn't support
INSTR function for postgresql database. INSTR function does support
sqlite3 and mysql.

Used 'POSITION' function instead of 'INSTR' function if database is
postgresql.
Closes-Bug: #1840898

Change-Id: I62c592f0885927b873ed35a1efe4a0f8407e7dee
2019-08-21 10:38:14 +00:00
..
registry Fix some reST field lists in docstrings 2017-03-25 00:35:17 -07:00
simple Multihash implementation for Glance 2018-07-31 21:28:38 -04:00
sqlalchemy Fix INSTR not supported for postgresql 2019-08-21 10:38:14 +00:00
__init__.py Multihash implementation for Glance 2018-07-31 21:28:38 -04:00
metadata.py Provide a way to upgrade metadata definitions 2015-03-12 00:26:16 -04:00
migration.py Add migration script to change backend to store 2019-08-06 05:48:50 +00:00
utils.py Add the missing i18n import 2017-08-07 09:28:54 +08:00