commit 676457bdca63260ecf675848e34cb01e34822051
Author: Dave Chen <email address hidden>
Date: Mon Feb 2 04:16:30 2015 +0800
Fix the syntax issue on creating table `endpoint_group`
Migration of `endpoint_filter` to version 2 will fail when the backend
DB is MYSQL instead of SQLite, `primary_key` need to be explicitly specified
in order to setup the ForeignKey relationship between two tables.
Current testcase `keystone.tests.test_sql_migrate_extensions.
EndpointFilterExtension.test_upgrade` can pass the verification since SQLite
don't check this when emitting CREATE statements for tables.
Reviewed: https:/ /review. openstack. org/151931 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=676457bdca6 3260ecf675848e3 4cb01e34822051
Committed: https:/
Submitter: Jenkins
Branch: master
commit 676457bdca63260 ecf675848e34cb0 1e34822051
Author: Dave Chen <email address hidden>
Date: Mon Feb 2 04:16:30 2015 +0800
Fix the syntax issue on creating table `endpoint_group`
Migration of `endpoint_filter` to version 2 will fail when the backend
DB is MYSQL instead of SQLite, `primary_key` need to be explicitly specified
in order to setup the ForeignKey relationship between two tables.
Current testcase `keystone. tests.test_ sql_migrate_ extensions. terExtension. test_upgrade` can pass the verification since SQLite
EndpointFil
don't check this when emitting CREATE statements for tables.
Closes-Bug: #1399768 2d2fdecf8add981 da37f5319f7
Change-Id: I82b3fddb921c7c