altering table name to avoid mysql reserved word.

Change-Id: Ieb266a8c1cd99391a298bd6297ba0ee5f04ac143
This commit is contained in:
adriant
2014-07-07 14:38:06 +12:00
parent b16513b82f
commit deba9df0e3

View File

@@ -41,7 +41,7 @@ class UsageEntry(Base):
"""Simplified data store of usage information for a given service,
in a resource, in a tenant. Similar to ceilometer datastore,
but stores local transformed data."""
__tablename__ = 'usage'
__tablename__ = 'usage_entry'
# Service is things like incoming vs. outgoing, as well as instance
# flavour