Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(612)

Side by Side Diff: components/test/data/web_database/version_68.sql

Issue 2498053002: Add field to monitor last visited time for each search engine (Closed)
Patch Set: Update Nit comment. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/search_engines/template_url_service.cc ('k') | components/webdata/common/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 PRAGMA foreign_keys=OFF;
2 BEGIN TRANSACTION;
3 CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY, value LONGVARCHAR );
4 INSERT INTO "meta" VALUES('mmap_status','-1');
5 INSERT INTO "meta" VALUES('version','68');
6 INSERT INTO "meta" VALUES('last_compatible_version','68');
7 INSERT INTO "meta" VALUES('Builtin Keyword Version','91');
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, billing_address_id VA RCHAR);
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);
12 CREATE TABLE autofill_profile_emails ( guid VARCHAR, email VARCHAR);
13 CREATE TABLE autofill_profile_phones ( guid VARCHAR, number 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, billing_address_id 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_card_metadata (id VARCHAR NOT NULL,use_count INTEGER NOT NUL L DEFAULT 0, use_date INTEGER NOT NULL DEFAULT 0);
18 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);
19 CREATE TABLE server_address_metadata (id VARCHAR NOT NULL,use_count INTEGER NOT NULL DEFAULT 0, use_date INTEGER NOT NULL DEFAULT 0);
20 CREATE TABLE token_service (service VARCHAR PRIMARY KEY NOT NULL,encrypted_token BLOB);
21 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,suggest_url VARCHAR,prepopulate_i d INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR,last _modified INTEGER DEFAULT 0,sync_guid VARCHAR,alternate_urls VARCHAR,search_term s_replacement_key VARCHAR,image_url VARCHAR,search_url_post_params VARCHAR,sugge st_url_post_params VARCHAR,instant_url_post_params VARCHAR,image_url_post_params VARCHAR,new_tab_url VARCHAR);
22 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:iOSSearchLanguage}{google:searchClient}{google:sourceId}{google:instantExt endedEnabledParameter}{google:contextualSearchVersion}ie={inputEncoding}',1,'',0 ,0,'UTF-8','{google:baseSuggestURL}search?{google:searchFieldtrialParameter}clie nt={google:suggestClient}&gs_ri={google:suggestRid}&xssi=t&q={searchTerms}&{goog le:inputType}{google:cursorPosition}{google:currentPageUrl}{google:pageClassific ation}{google:searchVersion}{google:sessionToken}{google:prefetchQuery}sugkey={g oogle:suggestAPIKeyParameter}',1,0,'{google:baseURL}webhp?sourceid=chrome-instan t&{google:RLZ}{google:forceInstantResults}{google:instantExtendedEnabledParamete r}ie={inputEncoding}',0,'ff68ebb4-cf6b-4125-9a4f-c07332a36735','["{google:baseUR L}#q={searchTerms}","{google:baseURL}search#q={searchTerms}","{google:baseURL}we bhp#q={searchTerms}","{google:baseURL}s#q={searchTerms}","{google:baseURL}s?q={s earchTerms}"]','espv','{google:baseURL}searchbyimage/upload','','','','encoded_i mage={google:imageThumbnail},image_url={google:imageURL},sbisrc={google:imageSea rchSource},original_width={google:imageOriginalWidth},original_height={google:im ageOriginalHeight}','{google:baseURL}_/chrome/newtab?{google:RLZ}{google:instant ExtendedEnabledParameter}ie={inputEncoding}');
23 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','https://www.bing.com/osjson.aspx?query={searchTerms}&language={langu age}&PC=U316',3,0,'',0,'4139a5bc-f565-4995-bd03-61c2bef25e70','[]','','https://w ww.bing.com/images/detail/search?iss=sbi&FORM=CHROMI#enterInsights','','','','im gurl={google:imageURL}','https://www.bing.com/chrome/newtab');
24 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','https://search.yahoo.com/sugg/chrome?output=fxjson&a ppid=crmas&command={searchTerms}',2,0,'',0,'b761008d-03d8-4ce1-9cc4-edf8aba332fa ','[]','','','','','','','');
25 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','http:// autocomplete.search.aol.com/autocomplete/get?output=json&it=&q={searchTerms}',35 ,0,'',0,'8713c94d-73a6-4c68-9913-60acb4eaa114','[]','','','','','','','');
26 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','http ://ss.ask.com/query?q={searchTerms}&li=ff',4,0,'',0,'de765dec-062b-40f8-9d77-257 ec7b63e40','[]','','','','','','','');
27 INSERT INTO "keywords" VALUES(7,'Amazon.com','amazon.com','http://www.amazon.com /favicon.ico','http://www.amazon.com/exec/obidos/external-search/?field-keywords ={searchTerms}&mode=blended&tag=wwwcanoniccom-20',0,'',1467161010,0,'ISO-8859-1' ,'',0,0,'',1467161010,'3090691e-43a3-4610-8eff-4a49c5453edc','[]','','','','','' ,'','');
28 INSERT INTO "keywords" VALUES(8,'DuckDuckGo','duckduckgo.com','https://duckduckg o.com/favicon.ico','https://duckduckgo.com/?q={searchTerms}&t=canonical',0,'',14 67161010,0,'UTF-8','https://ac.duckduckgo.com/ac/?q={searchTerms}&type=list',0,0 ,'',1467161010,'85840b4d-96ec-47bd-b745-9db561135ba9','[]','','','','','','','') ;
29 CREATE INDEX autofill_name ON autofill (name);
30 CREATE INDEX autofill_name_value_lower ON autofill (name, value_lower);
31 COMMIT;
OLDNEW
« no previous file with comments | « components/search_engines/template_url_service.cc ('k') | components/webdata/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698