)]}'
{"ceilometer/storage/sqlalchemy/migrate_repo/versions/037_sample_index_cleanup.py":[{"author":{"_account_id":3012,"name":"Dina Belova","email":"dbelova@mirantis.com","username":"dbelova"},"change_message_id":"3436d06936242f0e111c8612e769ca99fb22b377","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# -*- encoding: utf-8 -*-"},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"# not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":5,"id":"1ae5cdf2_a5907497","line":1,"updated":"2014-06-24 09:02:00.000000000","message":"we had commit d7054053ae1f0dad276279bdf66c622842fec1be that removed all encoding lines... I guess we don\u0027t need them here as well","commit_id":"a39486e8286902b230d15c2f8a9872c300f4435a"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"22c39b99a183ac16aee5cad7a5bf91501f006b51","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# -*- encoding: utf-8 -*-"},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"# not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":5,"id":"1ae5cdf2_ff14bca0","line":1,"in_reply_to":"1ae5cdf2_a5907497","updated":"2014-06-24 14:01:15.000000000","message":"Done","commit_id":"a39486e8286902b230d15c2f8a9872c300f4435a"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"878c48f842510b2563bae3059ec16751a4184652","unresolved":false,"context_lines":[{"line_number":39,"context_line":"    sample \u003d sa.Table(\u0027sample\u0027, meta, autoload\u003dTrue)"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    with ForeignKeyHandle(meta):"},{"line_number":42,"context_line":"        # remove stray indexes implicitly created by InnoDB"},{"line_number":43,"context_line":"        for index in sample.indexes:"},{"line_number":44,"context_line":"            if index.name in [\u0027fk_sample_meter_id\u0027, \u0027fk_sample_resource_id\u0027]:"},{"line_number":45,"context_line":"                index.drop()"}],"source_content_type":"text/x-python","patch_set":5,"id":"1ae5cdf2_da463bc0","line":42,"updated":"2014-06-24 08:52:45.000000000","message":"What it supposed to do with PostgreSQL?","commit_id":"a39486e8286902b230d15c2f8a9872c300f4435a"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"22c39b99a183ac16aee5cad7a5bf91501f006b51","unresolved":false,"context_lines":[{"line_number":39,"context_line":"    sample \u003d sa.Table(\u0027sample\u0027, meta, autoload\u003dTrue)"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    with ForeignKeyHandle(meta):"},{"line_number":42,"context_line":"        # remove stray indexes implicitly created by InnoDB"},{"line_number":43,"context_line":"        for index in sample.indexes:"},{"line_number":44,"context_line":"            if index.name in [\u0027fk_sample_meter_id\u0027, \u0027fk_sample_resource_id\u0027]:"},{"line_number":45,"context_line":"                index.drop()"}],"source_content_type":"text/x-python","patch_set":5,"id":"1ae5cdf2_bf4874b4","line":42,"in_reply_to":"1ae5cdf2_da463bc0","updated":"2014-06-24 14:01:15.000000000","message":"for postgres, it will just add the index. prevoiusly we didn\u0027t define this index but InnoDB adds an index when a foreign key relationship is defined... in that case, this tries to remove existing one first.","commit_id":"a39486e8286902b230d15c2f8a9872c300f4435a"}]}
