refactor DatabaseColumn
Merge pull request #781 from dimagi/sqlcol

refactor DatabaseColumn