From 8af75e9a18817550a2cca3a47f51839e9f4ed399 Mon Sep 17 00:00:00 2001 From: Jiaquan He Date: Tue, 4 Aug 2020 15:47:16 +0800 Subject: [PATCH] Bugfix: adds phone as fillable to the User collection. --- config.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.sh b/config.sh index 92750f8c9..8d08d5616 100644 --- a/config.sh +++ b/config.sh @@ -46,5 +46,9 @@ fi if [ `grep -c "'sync_flag'," $eloquentuserfile` -eq 0 ]; then sed -i "/fillable/a\ 'sync_flag'," $eloquentuserfile fi +#add phone field to fillable +if [ `grep -c "'phone'," $eloquentuserfile` -eq 0 ]; then + sed -i "/fillable/a\ 'phone'," $eloquentuserfile +fi echo "configure complete."