From 3d20cf2c0e76b76e0fe602968f599a74f5616f6b Mon Sep 17 00:00:00 2001 From: asteroide Date: Thu, 10 Sep 2015 11:47:38 +0200 Subject: Add a forgotten foreing key in Rules table. Change-Id: Iab99fe52206abcf85fcbe56f2cc83d63eef9091a --- keystone-moon/keystone/contrib/moon/migrate_repo/versions/001_moon.py | 1 + 1 file changed, 1 insertion(+) (limited to 'keystone-moon/keystone/contrib') 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) -- cgit 1.2.3-korg