flask db init on an existing migrations folder code example Example: flask migrate $ flask db migrate -m "Initial migration."