Added roles to User model
Changed url names for the user
Generated alembic revision for user updates

Role & URLs
Models for the voting feature
Updated Ideas endpoint

There was no need for endpoints in this table, I think.
Generated Alembic revision for Votes
Added more raw queries for table generation
Remove the vote count field from ideas model

As the count is derived from the vote table
Updated the Vote backend
Added ajax call to the vote button

Todo:

    Toggle button between Upvote & Unvote.
button text from Upvote to vote
Added a RAW query to fetch ideas

The code works, and returns a row of tuples. BUT...

We've been using objects of all types in our code, which is almost
impossible to be replaced by queries now.

I tried creating a function that could convert the data to json, but
then we would lose some or the other attribute.

I can't think of a way that doesn't involve some sort of hackery.

:/
conflict changes
raw SQL SELECT query feature in ideas
raw SQL SELECT query feature in users
raw SQL SELECT query feature in tags
raw SQL SELECT query feature in comments