diff --git a/lib/tasks/postal.rake b/lib/tasks/postal.rake index 869e3c2..1621485 100644 --- a/lib/tasks/postal.rake +++ b/lib/tasks/postal.rake @@ -34,3 +34,7 @@ namespace :postal do end end + +Rake::Task['db:migrate'].enhance do + Rake::Task['postal:migrate_message_databases'].invoke +end \ No newline at end of file