move column types to middle.db.types