Fixed schema update in rebuild-table task

Signed-off-by: Tom Wright <tom@inflatablecookie.com>