summaryrefslogtreecommitdiffstats
path: root/keystone-moon/keystone/contrib
diff options
context:
space:
mode:
authorasteroide <thomas.duval@orange.com>2015-09-10 11:47:38 +0200
committerasteroide <thomas.duval@orange.com>2015-09-10 11:47:38 +0200
commit3d20cf2c0e76b76e0fe602968f599a74f5616f6b (patch)
tree2d4d75bb6022872b11bbcc03c0230bff048a1aea /keystone-moon/keystone/contrib
parent575cbfef10cf202a099717a3d6c93a68be54fcbb (diff)
Add a forgotten foreing key in Rules table.
Change-Id: Iab99fe52206abcf85fcbe56f2cc83d63eef9091a
Diffstat (limited to 'keystone-moon/keystone/contrib')
-rw-r--r--keystone-moon/keystone/contrib/moon/migrate_repo/versions/001_moon.py1
1 files changed, 1 insertions, 0 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 737619cb..c4d57324 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
@@ -184,6 +184,7 @@ def upgrade(migrate_engine):
sql.Column('id', sql.String(64), primary_key=True),
sql.Column('rule', k_sql.JsonBlob(), nullable=True),
sql.Column('intra_extension_id', sql.ForeignKey("intra_extensions.id"), nullable=False),
+ sql.Column('sub_meta_rule_id', sql.ForeignKey("sub_meta_rules.id"), nullable=False),
mysql_engine='InnoDB',
mysql_charset='utf8')
rules_table.create(migrate_engine, checkfirst=True)