Skip to content

uversity/data_transformation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

## Installing the Transformer ##
Add it as a hook to your existing rake tasks in Rakefile

  Rake::Task['db:schema:load'].enhance do
    Rake::Task['db:transform:load'].invoke
  end
  
  Rake::Task['db:schema:dump'].enhance do
    Rake::Task['db:transform:dump'].invoke
  end
 
  Rake::Task['db:migrate'].enhance do
    Rake::Task['db:transform'].invoke
  end


## Using the Transformer ##

It's just like migrating, moreso than you probably originally thought.

    rails g data_transformation transform_name = make the transform

    rake db:transform  = run the unrun transforms

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%