can save new app_form, add foreign keys

Signed-off-by: summerdaway <summerdaway@gmail.com>