Fix a rather important mistake in the db generation script, do not drop the table once all structure has been migrated