)]}'
{"keystone/common/sql/migrate_repo/versions/055_juno.py":[{"author":{"_account_id":13063,"name":"WEI CHEN","email":"dave.jungler@gmail.com","username":"wei.d.chen"},"change_message_id":"cb4ae7a74181795da9eca3c9beb92867f860ece9","unresolved":false,"context_lines":[{"line_number":302,"context_line":"    domain.insert(migration_helpers.get_default_domain()).execute()"},{"line_number":303,"context_line":"    session.commit()"},{"line_number":304,"context_line":""},{"line_number":305,"context_line":""},{"line_number":306,"context_line":"def downgrade(migrate_engine):"},{"line_number":307,"context_line":"    raise NotImplementedError(\u0027Downgrade to pre-Icehouse release db schema is \u0027"},{"line_number":308,"context_line":"                              \u0027unsupported.\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a50d1a3_7c721c7e","line":305,"updated":"2015-07-27 07:39:54.000000000","message":"seems this is not needed anymore since downgrade is not supported in keystone?","commit_id":"bf97f3377be5f5ab9d0ed351ccd4061873b5774a"},{"author":{"_account_id":13478,"name":"Boris Bobrov","email":"b.bobrov@sap.com","username":"bbobrov"},"change_message_id":"4dcbe12649ba4bc0d1607d5994316cc9a46283f8","unresolved":false,"context_lines":[{"line_number":302,"context_line":"    domain.insert(migration_helpers.get_default_domain()).execute()"},{"line_number":303,"context_line":"    session.commit()"},{"line_number":304,"context_line":""},{"line_number":305,"context_line":""},{"line_number":306,"context_line":"def downgrade(migrate_engine):"},{"line_number":307,"context_line":"    raise NotImplementedError(\u0027Downgrade to pre-Icehouse release db schema is \u0027"},{"line_number":308,"context_line":"                              \u0027unsupported.\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a50d1a3_3f99cd6e","line":305,"in_reply_to":"3a50d1a3_7c721c7e","updated":"2015-07-27 15:49:36.000000000","message":"Done","commit_id":"bf97f3377be5f5ab9d0ed351ccd4061873b5774a"},{"author":{"_account_id":13063,"name":"WEI CHEN","email":"dave.jungler@gmail.com","username":"wei.d.chen"},"change_message_id":"cb4ae7a74181795da9eca3c9beb92867f860ece9","unresolved":false,"context_lines":[{"line_number":303,"context_line":"    session.commit()"},{"line_number":304,"context_line":""},{"line_number":305,"context_line":""},{"line_number":306,"context_line":"def downgrade(migrate_engine):"},{"line_number":307,"context_line":"    raise NotImplementedError(\u0027Downgrade to pre-Icehouse release db schema is \u0027"},{"line_number":308,"context_line":"                              \u0027unsupported.\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a50d1a3_5c6720b7","line":306,"updated":"2015-07-27 07:39:54.000000000","message":"pre-Icehouse?","commit_id":"bf97f3377be5f5ab9d0ed351ccd4061873b5774a"},{"author":{"_account_id":13478,"name":"Boris Bobrov","email":"b.bobrov@sap.com","username":"bbobrov"},"change_message_id":"4dcbe12649ba4bc0d1607d5994316cc9a46283f8","unresolved":false,"context_lines":[{"line_number":303,"context_line":"    session.commit()"},{"line_number":304,"context_line":""},{"line_number":305,"context_line":""},{"line_number":306,"context_line":"def downgrade(migrate_engine):"},{"line_number":307,"context_line":"    raise NotImplementedError(\u0027Downgrade to pre-Icehouse release db schema is \u0027"},{"line_number":308,"context_line":"                              \u0027unsupported.\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a50d1a3_bfaddd89","line":306,"in_reply_to":"3a50d1a3_5c6720b7","updated":"2015-07-27 15:49:36.000000000","message":"Done","commit_id":"bf97f3377be5f5ab9d0ed351ccd4061873b5774a"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"a95ca62c9710b7fbe8b3895351e3941baf12af23","unresolved":false,"context_lines":[{"line_number":256,"context_line":"    sql.Index(\u0027ix_token_user_id\u0027, token.c.user_id).create()"},{"line_number":257,"context_line":"    sql.Index(\u0027ix_token_trust_id\u0027, token.c.trust_id).create()"},{"line_number":258,"context_line":"    # NOTE(breton): the indexes were named \u0027service_id\u0027 and \u0027group_id\u0027 in"},{"line_number":259,"context_line":"    # 050_fk_consistent_indexes.py"},{"line_number":260,"context_line":"    sql.Index(\u0027service_id\u0027, endpoint.c.service_id).create()"},{"line_number":261,"context_line":"    sql.Index(\u0027group_id\u0027, user_group_membership.c.group_id).create()"},{"line_number":262,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"fa1b9901_e5d3f236","line":259,"updated":"2015-08-18 21:34:27.000000000","message":"Would we be able to add a comment as to why there were named that way? There were some comments in the original migration that might be useful to carry over here.","commit_id":"81f2ccb3c56eacb15d2b3c8aaaf68a4239c678a1"},{"author":{"_account_id":13478,"name":"Boris Bobrov","email":"b.bobrov@sap.com","username":"bbobrov"},"change_message_id":"601b243baf777f262b291832391aca71384126d2","unresolved":false,"context_lines":[{"line_number":256,"context_line":"    sql.Index(\u0027ix_token_user_id\u0027, token.c.user_id).create()"},{"line_number":257,"context_line":"    sql.Index(\u0027ix_token_trust_id\u0027, token.c.trust_id).create()"},{"line_number":258,"context_line":"    # NOTE(breton): the indexes were named \u0027service_id\u0027 and \u0027group_id\u0027 in"},{"line_number":259,"context_line":"    # 050_fk_consistent_indexes.py"},{"line_number":260,"context_line":"    sql.Index(\u0027service_id\u0027, endpoint.c.service_id).create()"},{"line_number":261,"context_line":"    sql.Index(\u0027group_id\u0027, user_group_membership.c.group_id).create()"},{"line_number":262,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"fa1b9901_3e946341","line":259,"in_reply_to":"fa1b9901_e5d3f236","updated":"2015-08-25 19:10:03.000000000","message":"The indexes were *not* named like this for a reason. The original migration just made naming consistent. It was necessary because before there was no name at all (it was auto-generated).\n\nThe comment above just notes the inconsistency with index names above and tells that it\u0027s intentional.","commit_id":"81f2ccb3c56eacb15d2b3c8aaaf68a4239c678a1"}]}
