heat/heat/db/sqlalchemy
Clint Byrum db0a7fe91d Patch 033 migration to work w/ MySQL 5.6
With MySQL 5.6 setup to use UTF-8 for everything, the 033 migration
will fail. This is because a VARCHAR(256) cannot be indexed in UTF-8
databases. In versions of MySQL before 5.6, this produced a warning and
a truncated, less-useful index. In 5.6 it was changed to an error.

We will reduce these columns further to 64 bytes in the model in a
subsequent fix. For now, we will just create the table with 64 character
columns on new systems, which will allow this migration to work properly
on mysql-5.6. There is no danger of overflow, as 64 chars is what Keystone
uses for them anyway.

Change-Id: I27b9c61828301ba8c392b3d316f656641af753bc
Closes-Bug: #1316646
2014-06-09 17:10:30 -07:00
..
migrate_repo Patch 033 migration to work w/ MySQL 5.6 2014-06-09 17:10:30 -07:00
__init__.py Stub out the database access API 2012-03-29 18:02:16 +02:00
api.py Merge "Fix delete event error in postgres" 2014-05-28 06:00:30 +00:00
filters.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
migration.py Sync latest oslo.db code 2014-04-11 10:48:46 +03:00
models.py Patch 033 migration to work w/ MySQL 5.6 2014-06-09 17:10:30 -07:00
mutable.py Remove vim header from files. 2014-03-04 08:51:56 -06:00
types.py Order imports in alphabetical order (4/9) 2014-03-13 12:22:45 +02:00