OLD | NEW |
1 PRAGMA foreign_keys=OFF; | 1 PRAGMA foreign_keys=OFF; |
2 BEGIN TRANSACTION; | 2 BEGIN TRANSACTION; |
3 CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY, value LONGVARCHAR
); | 3 CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY, value LONGVARCHAR
); |
4 INSERT INTO "meta" VALUES('version','61'); | 4 INSERT INTO "meta" VALUES('version','64'); |
5 INSERT INTO "meta" VALUES('last_compatible_version','61'); | 5 INSERT INTO "meta" VALUES('last_compatible_version','61'); |
6 INSERT INTO "meta" VALUES('Builtin Keyword Version','82'); | 6 INSERT INTO "meta" VALUES('Builtin Keyword Version','82'); |
7 CREATE TABLE token_service (service VARCHAR PRIMARY KEY NOT NULL,encrypted_token
BLOB); | 7 CREATE TABLE token_service (service VARCHAR PRIMARY KEY NOT NULL,encrypted_token
BLOB); |
8 CREATE TABLE autofill (name VARCHAR, value VARCHAR, value_lower VARCHAR, date_cr
eated INTEGER DEFAULT 0, date_last_used INTEGER DEFAULT 0, count INTEGER DEFAULT
1, PRIMARY KEY (name, value)); | 8 CREATE TABLE autofill (name VARCHAR, value VARCHAR, value_lower VARCHAR, date_cr
eated INTEGER DEFAULT 0, date_last_used INTEGER DEFAULT 0, count INTEGER DEFAULT
1, PRIMARY KEY (name, value)); |
9 CREATE TABLE credit_cards ( guid VARCHAR PRIMARY KEY, name_on_card VARCHAR, expi
ration_month INTEGER, expiration_year INTEGER, card_number_encrypted BLOB, date_
modified INTEGER NOT NULL DEFAULT 0, origin VARCHAR DEFAULT '', use_count INTEGE
R NOT NULL DEFAULT 0, use_date INTEGER NOT NULL DEFAULT 0); | 9 CREATE TABLE credit_cards ( guid VARCHAR PRIMARY KEY, name_on_card VARCHAR, expi
ration_month INTEGER, expiration_year INTEGER, card_number_encrypted BLOB, date_
modified INTEGER NOT NULL DEFAULT 0, origin VARCHAR DEFAULT '', use_count INTEGE
R NOT NULL DEFAULT 0, use_date INTEGER NOT NULL DEFAULT 0); |
10 CREATE TABLE autofill_profiles ( guid VARCHAR PRIMARY KEY, company_name VARCHAR,
street_address VARCHAR, dependent_locality VARCHAR, city VARCHAR, state VARCHAR
, zipcode VARCHAR, sorting_code VARCHAR, country_code VARCHAR, date_modified INT
EGER NOT NULL DEFAULT 0, origin VARCHAR DEFAULT '', language_code VARCHAR, use_c
ount INTEGER NOT NULL DEFAULT 0, use_date INTEGER NOT NULL DEFAULT 0); | 10 CREATE TABLE autofill_profiles ( guid VARCHAR PRIMARY KEY, company_name VARCHAR,
street_address VARCHAR, dependent_locality VARCHAR, city VARCHAR, state VARCHAR
, zipcode VARCHAR, sorting_code VARCHAR, country_code VARCHAR, date_modified INT
EGER NOT NULL DEFAULT 0, origin VARCHAR DEFAULT '', language_code VARCHAR, use_c
ount INTEGER NOT NULL DEFAULT 0, use_date INTEGER NOT NULL DEFAULT 0); |
11 CREATE TABLE autofill_profile_names ( guid VARCHAR, first_name VARCHAR, middle_n
ame VARCHAR, last_name VARCHAR, full_name VARCHAR); | 11 CREATE TABLE autofill_profile_names ( guid VARCHAR, first_name VARCHAR, middle_n
ame VARCHAR, last_name VARCHAR, full_name VARCHAR); |
12 CREATE TABLE autofill_profile_emails ( guid VARCHAR, email VARCHAR); | 12 CREATE TABLE autofill_profile_emails ( guid VARCHAR, email VARCHAR); |
13 CREATE TABLE autofill_profile_phones ( guid VARCHAR, number VARCHAR); | 13 CREATE TABLE autofill_profile_phones ( guid VARCHAR, number VARCHAR); |
14 CREATE TABLE autofill_profiles_trash ( guid VARCHAR); | 14 CREATE TABLE autofill_profiles_trash ( guid VARCHAR); |
15 CREATE TABLE masked_credit_cards (id VARCHAR,status VARCHAR,name_on_card VARCHAR
,type VARCHAR,last_four VARCHAR,exp_month INTEGER DEFAULT 0,exp_year INTEGER DEF
AULT 0); | 15 CREATE TABLE masked_credit_cards (id VARCHAR,status VARCHAR,name_on_card VARCHAR
,type VARCHAR,last_four VARCHAR,exp_month INTEGER DEFAULT 0,exp_year INTEGER DEF
AULT 0); |
16 CREATE TABLE unmasked_credit_cards (id VARCHAR,card_number_encrypted VARCHAR); | 16 CREATE TABLE unmasked_credit_cards (id VARCHAR,card_number_encrypted VARCHAR, us
e_count INTEGER NOT NULL DEFAULT 0, use_date INTEGER NOT NULL DEFAULT 0, unmask_
date INTEGER NOT NULL DEFAULT 0); |
17 CREATE TABLE server_addresses (id VARCHAR,company_name VARCHAR,street_address VA
RCHAR,address_1 VARCHAR,address_2 VARCHAR,address_3 VARCHAR,address_4 VARCHAR,po
stal_code VARCHAR,sorting_code VARCHAR,country_code VARCHAR,language_code VARCHA
R); | 17 CREATE TABLE server_addresses (id VARCHAR,company_name VARCHAR,street_address VA
RCHAR,address_1 VARCHAR,address_2 VARCHAR,address_3 VARCHAR,address_4 VARCHAR,po
stal_code VARCHAR,sorting_code VARCHAR,country_code VARCHAR,language_code VARCHA
R, recipient_name VARCHAR, phone_number VARCHAR); |
18 CREATE TABLE keywords (id INTEGER PRIMARY KEY,short_name VARCHAR NOT NULL,keywor
d VARCHAR NOT NULL,favicon_url VARCHAR NOT NULL,url VARCHAR NOT NULL,safe_for_au
toreplace INTEGER,originating_url VARCHAR,date_created INTEGER DEFAULT 0,usage_c
ount INTEGER DEFAULT 0,input_encodings VARCHAR,show_in_default_list INTEGER,sugg
est_url VARCHAR,prepopulate_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAU
LT 0,instant_url VARCHAR,last_modified INTEGER DEFAULT 0,sync_guid VARCHAR,alter
nate_urls VARCHAR,search_terms_replacement_key VARCHAR,image_url VARCHAR,search_
url_post_params VARCHAR,suggest_url_post_params VARCHAR,instant_url_post_params
VARCHAR,image_url_post_params VARCHAR,new_tab_url VARCHAR); | 18 CREATE TABLE keywords (id INTEGER PRIMARY KEY,short_name VARCHAR NOT NULL,keywor
d VARCHAR NOT NULL,favicon_url VARCHAR NOT NULL,url VARCHAR NOT NULL,safe_for_au
toreplace INTEGER,originating_url VARCHAR,date_created INTEGER DEFAULT 0,usage_c
ount INTEGER DEFAULT 0,input_encodings VARCHAR,show_in_default_list INTEGER,sugg
est_url VARCHAR,prepopulate_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAU
LT 0,instant_url VARCHAR,last_modified INTEGER DEFAULT 0,sync_guid VARCHAR,alter
nate_urls VARCHAR,search_terms_replacement_key VARCHAR,image_url VARCHAR,search_
url_post_params VARCHAR,suggest_url_post_params VARCHAR,instant_url_post_params
VARCHAR,image_url_post_params VARCHAR,new_tab_url VARCHAR); |
19 INSERT INTO "keywords" VALUES(2,'Google','google.com','http://www.google.com/fav
icon.ico','{google:baseURL}search?q={searchTerms}&{google:RLZ}{google:originalQu
eryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{g
oogle:bookmarkBarPinned}{google:searchClient}{google:sourceId}{google:instantExt
endedEnabledParameter}{google:omniboxStartMarginParameter}{google:contextualSear
chVersion}ie={inputEncoding}',1,'',0,0,'UTF-8',1,'{google:baseSuggestURL}search?
{google:searchFieldtrialParameter}client={google:suggestClient}&gs_ri={google:su
ggestRid}&xssi=t&q={searchTerms}&{google:inputType}{google:cursorPosition}{googl
e:currentPageUrl}{google:pageClassification}{google:searchVersion}{google:sessio
nToken}{google:prefetchQuery}sugkey={google:suggestAPIKeyParameter}',1,0,'{googl
e:baseURL}webhp?sourceid=chrome-instant&{google:RLZ}{google:forceInstantResults}
{google:instantExtendedEnabledParameter}{google:ntpIsThemedParameter}{google:omn
iboxStartMarginParameter}ie={inputEncoding}',0,'8A76D515-7248-4232-AEE2-CB299138
9D1E','["{google:baseURL}#q={searchTerms}","{google:baseURL}search#q={searchTerm
s}","{google:baseURL}webhp#q={searchTerms}","{google:baseURL}s#q={searchTerms}",
"{google:baseURL}s?q={searchTerms}"]','espv','{google:baseURL}searchbyimage/uplo
ad','','','','encoded_image={google:imageThumbnail},image_url={google:imageURL},
sbisrc={google:imageSearchSource},original_width={google:imageOriginalWidth},ori
ginal_height={google:imageOriginalHeight}','{google:baseURL}_/chrome/newtab?{goo
gle:RLZ}{google:instantExtendedEnabledParameter}{google:ntpIsThemedParameter}ie=
{inputEncoding}'); | 19 INSERT INTO "keywords" VALUES(2,'Google','google.com','http://www.google.com/fav
icon.ico','{google:baseURL}search?q={searchTerms}&{google:RLZ}{google:originalQu
eryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{g
oogle:bookmarkBarPinned}{google:searchClient}{google:sourceId}{google:instantExt
endedEnabledParameter}{google:omniboxStartMarginParameter}{google:contextualSear
chVersion}ie={inputEncoding}',1,'',0,0,'UTF-8',1,'{google:baseSuggestURL}search?
{google:searchFieldtrialParameter}client={google:suggestClient}&gs_ri={google:su
ggestRid}&xssi=t&q={searchTerms}&{google:inputType}{google:cursorPosition}{googl
e:currentPageUrl}{google:pageClassification}{google:searchVersion}{google:sessio
nToken}{google:prefetchQuery}sugkey={google:suggestAPIKeyParameter}',1,0,'{googl
e:baseURL}webhp?sourceid=chrome-instant&{google:RLZ}{google:forceInstantResults}
{google:instantExtendedEnabledParameter}{google:ntpIsThemedParameter}{google:omn
iboxStartMarginParameter}ie={inputEncoding}',0,'B0AD0C88-0B0F-4D2E-9412-7D600832
785D','["{google:baseURL}#q={searchTerms}","{google:baseURL}search#q={searchTerm
s}","{google:baseURL}webhp#q={searchTerms}","{google:baseURL}s#q={searchTerms}",
"{google:baseURL}s?q={searchTerms}"]','espv','{google:baseURL}searchbyimage/uplo
ad','','','','encoded_image={google:imageThumbnail},image_url={google:imageURL},
sbisrc={google:imageSearchSource},original_width={google:imageOriginalWidth},ori
ginal_height={google:imageOriginalHeight}','{google:baseURL}_/chrome/newtab?{goo
gle:RLZ}{google:instantExtendedEnabledParameter}{google:ntpIsThemedParameter}ie=
{inputEncoding}'); |
20 INSERT INTO "keywords" VALUES(3,'Bing','bing.com','https://www.bing.com/s/a/bing
_p.ico','https://www.bing.com/search?q={searchTerms}&PC=U316&FORM=CHROMN',1,'',0
,0,'UTF-8',1,'https://www.bing.com/osjson.aspx?query={searchTerms}&language={lan
guage}&PC=U316',3,0,'',0,'407C4678-778F-42C8-9D39-D323B3231465','[]','','','',''
,'','','https://www.bing.com/chrome/newtab'); | 20 INSERT INTO "keywords" VALUES(3,'Bing','bing.com','https://www.bing.com/s/a/bing
_p.ico','https://www.bing.com/search?q={searchTerms}&PC=U316&FORM=CHROMN',1,'',0
,0,'UTF-8',1,'https://www.bing.com/osjson.aspx?query={searchTerms}&language={lan
guage}&PC=U316',3,0,'',0,'D42E29D2-75F7-4D8E-8ECA-3886F2B9E737','[]','','','',''
,'','','https://www.bing.com/chrome/newtab'); |
21 INSERT INTO "keywords" VALUES(4,'Yahoo!','yahoo.com','https://search.yahoo.com/f
avicon.ico','https://search.yahoo.com/search?ei={inputEncoding}&fr=crmas&p={sear
chTerms}',1,'',0,0,'UTF-8',1,'https://search.yahoo.com/sugg/chrome?output=fxjson
&appid=crmas&command={searchTerms}',2,0,'',0,'436BDF7A-3D91-4E7A-BC08-FEB23778C0
91','[]','','','','','','',''); | 21 INSERT INTO "keywords" VALUES(4,'Yahoo!','yahoo.com','https://search.yahoo.com/f
avicon.ico','https://search.yahoo.com/search?ei={inputEncoding}&fr=crmas&p={sear
chTerms}',1,'',0,0,'UTF-8',1,'https://search.yahoo.com/sugg/chrome?output=fxjson
&appid=crmas&command={searchTerms}',2,0,'',0,'832F796B-6C66-4B24-BB24-37A52E8316
85','[]','','','','','','',''); |
22 INSERT INTO "keywords" VALUES(5,'AOL','aol.com','http://search.aol.com/favicon.i
co','http://search.aol.com/aol/search?q={searchTerms}',1,'',0,0,'UTF-8',1,'http:
//autocomplete.search.aol.com/autocomplete/get?output=json&it=&q={searchTerms}',
35,0,'',0,'43FA9958-72C1-4E4F-9F89-EC1AFCD3CC4D','[]','','','','','','',''); | 22 INSERT INTO "keywords" VALUES(5,'AOL','aol.com','http://search.aol.com/favicon.i
co','http://search.aol.com/aol/search?q={searchTerms}',1,'',0,0,'UTF-8',1,'http:
//autocomplete.search.aol.com/autocomplete/get?output=json&it=&q={searchTerms}',
35,0,'',0,'8AF217B0-8D8B-431F-A4AC-471AABB85B4E','[]','','','','','','',''); |
23 INSERT INTO "keywords" VALUES(6,'Ask','ask.com','http://sp.ask.com/sh/i/a16/favi
con/favicon.ico','http://www.ask.com/web?q={searchTerms}',1,'',0,0,'UTF-8',1,'ht
tp://ss.ask.com/query?q={searchTerms}&li=ff',4,0,'',0,'7008B2BB-769D-41B1-ADE7-1
FFE4FE17921','[]','','','','','','',''); | 23 INSERT INTO "keywords" VALUES(6,'Ask','ask.com','http://sp.ask.com/sh/i/a16/favi
con/favicon.ico','http://www.ask.com/web?q={searchTerms}',1,'',0,0,'UTF-8',1,'ht
tp://ss.ask.com/query?q={searchTerms}&li=ff',4,0,'',0,'3F7F86C1-1CA7-4080-8DD1-9
90348B92F31','[]','','','','','','',''); |
24 CREATE INDEX autofill_name ON autofill (name); | 24 CREATE INDEX autofill_name ON autofill (name); |
25 CREATE INDEX autofill_name_value_lower ON autofill (name, value_lower); | 25 CREATE INDEX autofill_name_value_lower ON autofill (name, value_lower); |
26 COMMIT; | 26 COMMIT; |
OLD | NEW |