spaceport/apiserver/gen_old_models.sh

4 lines
124 B
Bash
Raw Normal View History

#!/bin/bash
python manage.py inspectdb --database old_portal | sed 's/CharField/TextField/g' > apiserver/api/old_models.py