#!/bin/sh # Upgrade DB schema to version used by application. This also initializes table, if they aren't already created. flask db upgrade exec "$@"