Further simplification of the database setup script (without BLOBs)

Moved order of statement operations to ensure orderly dropping and
creation of data.