modified migration files to check if column exists