commit | aa7951f3147076cbcb70ec85bb4351600378806a | [log] [tgz] |
---|---|---|
author | Zheng Fu <zhengfu@google.com> | Wed Jan 07 11:35:29 2015 -0800 |
committer | Zheng Fu <zhengfu@google.com> | Fri Jan 30 13:23:24 2015 -0800 |
tree | efb6369a2987caffc92bac6c25675182cbaf9349 | |
parent | 7e0ac8313f2b1dd3a0786810b22a7c7711d39e17 [diff] |
Handle DB schema migration to facilitate android contacts backup Add backup_id column to raw_contacts table and hash_id column to data table. Add unique index on backup_id and account_id of raw_contacts table. Add index on hash_id of data table. Update the raw_contacts and data view to add the new columns. Bug: 18930508 Change-Id: I571c1115e7fb21e23b1956aaca8a80cf9d026e59