Execute a Rake task from within migration?
- by Fabiano PS
I have a Rake task that loads configuration data into the DB from a file, is there a correct ruby/rails way to call it on a migration up?
My objective is to sync my team DB configs, without have to broadcast then to run the migration lalala
def self.up
change_table :fis_situacao_fiscal do |t|
t.remove :mostrar_endereco
…