update sql structure.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
add motel_id on user table.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
update sql and template.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>