34
35
36
37
38
39
|
# File 'lib/generators/recorder/install_generator.rb', line 34
def create_migration_file
self.add_or_skip_recorder_migration('create_recorder_revisions')
self.add_or_skip_recorder_migration('add_number_column_to_recorder_revisions') if options.with_number_column?
self.add_or_skip_recorder_migration('add_index_by_user_id_to_recorder_revisions') if options.with_index_by_user_id?
self.add_or_skip_recorder_migration('add_partitions_to_recorder_revisions') if options.with_partitions?
end
|