aboutsummaryrefslogtreecommitdiffstats
path: root/keystone-moon/keystone
diff options
context:
space:
mode:
authorasteroide <thomas.duval@orange.com>2015-09-16 15:56:45 +0200
committerasteroide <thomas.duval@orange.com>2015-09-16 15:56:45 +0200
commit1c3a5e37210fd9ce7d50fbe2458e468869374109 (patch)
tree8905abe190949ada04e3578d60c25b3f8a1b5b53 /keystone-moon/keystone
parent0267f97ab0e5d5e13eeee18339d43e636f60564e (diff)
Fix a bug in object_assignments SQL table.
Change-Id: Iad6a13fac0081ad077a99e2a07514ee6e96329ce
Diffstat (limited to 'keystone-moon/keystone')
-rw-r--r--keystone-moon/keystone/contrib/moon/migrate_repo/versions/001_moon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystone-moon/keystone/contrib/moon/migrate_repo/versions/001_moon.py b/keystone-moon/keystone/contrib/moon/migrate_repo/versions/001_moon.py
index c4d57324..b9b981cf 100644
--- a/keystone-moon/keystone/contrib/moon/migrate_repo/versions/001_moon.py
+++ b/keystone-moon/keystone/contrib/moon/migrate_repo/versions/001_moon.py
@@ -138,7 +138,7 @@ def upgrade(migrate_engine):
'object_assignments',
meta,
sql.Column('id', sql.String(64), primary_key=True),
- sql.Column('object_assignments', k_sql.JsonBlob(), nullable=True),
+ sql.Column('object_assignment', k_sql.JsonBlob(), nullable=True),
sql.Column('intra_extension_id', sql.ForeignKey("intra_extensions.id"), nullable=False),
sql.Column('object_id', sql.ForeignKey("objects.id"), nullable=False),
sql.Column('object_category_id', sql.ForeignKey("object_categories.id"), nullable=False),