diff --git a/lib/active_graph/migration.rb b/lib/active_graph/migration.rb index e4a9837b1..a95a87b36 100644 --- a/lib/active_graph/migration.rb +++ b/lib/active_graph/migration.rb @@ -39,7 +39,8 @@ def initialize(path = default_path) def migrate ActiveGraph.deprecator.warn '`AddIdProperty` task is deprecated and may be removed from future releases. ' \ - 'Create a new migration and use the `populate_id_property` helper.', caller_locations + 'Create a new migration and use the `populate_id_property` helper.', + caller_locations models = ActiveSupport::HashWithIndifferentAccess.new(YAML.load_file(models_filename))[:models] output 'This task will add an ID Property every node in the given file.' output 'It may take a significant amount of time, please be patient.' @@ -108,7 +109,6 @@ def setup # print_output message # end - # def id_batch_set(label, id_property, new_ids, count) # tx = ActiveGraph::Base.new_transaction