Moved to postgresql instead of sqlite