Update db schema migration

Added some missing triggers & functions in the schema migrate rake task.

Made it a little bit friendlier (ask for user input regarding schema names, defaulting options, etc).

All in all, a little bit better.
you could do something like 

```Ruby
loop do
  drop = ask("Would you like to drop the old schemas? (Yes or No)") { |q| q.default = 'no' }
end if ['yes', 'no'].include?(drop.downcase)
```