Add newline to end of file.
Use CONCAT instead of + in SQL.
Add postgresql support.
Drop thinking_sphinx and start using pg_search.