aodh/ceilometer/storage/sqlalchemy
John Herndon d80f30f568 Add a Trait Type model and db table
The event api will provide a way to list all trait types for
a given event type. The current data model does not provide
an efficient way to get all trait types.

This change introduces a trait_type table, and TraitType model.
Trait information can be retrieved with this simple query into
TraitType:

SELECT id, desc, dtype FROM  trait_type;

The UniqueName table is no longer needed, so it has been removed.

Partial-Bug: 1211015
Change-Id: I6ec29dc1d71b5590204d7e7b1bf121c2c1ca1904
2013-12-02 15:16:42 -07:00
..
alembic full pep8 compliance (part 2) 2013-11-21 12:35:01 -05:00
migrate_repo Add a Trait Type model and db table 2013-12-02 15:16:42 -07:00
__init__.py implement sqlalchemy dbengine backend 2012-09-26 21:36:44 +00:00
migration.py Merge "Remove old sqlalchemy-migrate workaround" 2013-11-26 13:15:28 +00:00
models.py Add a Trait Type model and db table 2013-12-02 15:16:42 -07:00