Plinq / pgcrypto

A transparent ActiveRecord::Base extension pgcrypto encrypted columns
MIT License
40 stars 18 forks source link

rake db:create and rake db:drop not supported #4

Open colincgn opened 9 years ago

colincgn commented 9 years ago

When I have pgcrypto as the adapter I'm not longer able to drop or create the DB. Only migrate works.

modosc commented 9 years ago

i fixed this locally with a monkey patch:

ActiveRecord::Tasks::DatabaseTasks.module_eval { register_task(/pgcrypto/,   ActiveRecord::Tasks::PostgreSQLDatabaseTasks) }