Adding new 'sync_permitted' column.