change database and add time and place choices

change sqlite3 to postgresql, and add time and place choices, it can run now.

总觉得 model 的名字取成 xxxApp 很奇怪。