Flow query refactor

Better flow query refactor without HSTORE

replaces https://github.com/Tahi-project/tahi/pull/717
I wasn't aware there was a new default. Felix just said that one was no longer a default.

On Mon, Dec 15, 2014 at 10:29 AM, Mike Mazur <notifications@github.com>
wrote:

>> @@ -3,7 +3,6 @@ namespace :flow do
>>    task :generate_defaults => :environment  do
>>      Flow.defaults.destroy_all
>>      Flow.create(title: 'Up for grabs', query: {assigned: false, state: :incomplete})
>> -    Flow.create(title: 'My papers', query: {admin: true})
> Shouldn't there be an equivalent entry here for the new 'My Papers' flow?
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/Tahi-project/tahi/pull/718/files#r21831876