Add id column to database