A copyright violation detector running on Wikimedia Cloud Services https://tools.wmflabs.org/copyvios/
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 

21 rinda
725 B

  1. CREATE TABLE cache (
  2. cache_id BLOB NOT NULL,
  3. cache_time INTEGER NOT NULL DEFAULT (STRFTIME('%s', 'now')),
  4. cache_queries INTEGER NOT NULL DEFAULT 0,
  5. cache_process_time REAL NOT NULL DEFAULT 0,
  6. cache_possible_miss INTEGER NOT NULL DEFAULT 0,
  7. PRIMARY KEY (cache_id)
  8. );
  9. CREATE INDEX cache_time_idx ON cache (cache_time);
  10. CREATE TABLE cache_data (
  11. cdata_id ROWID,
  12. cdata_cache_id BLOB NOT NULL,
  13. cdata_url TEXT NOT NULL,
  14. cdata_confidence REAL NOT NULL DEFAULT 0,
  15. cdata_skipped INTEGER NOT NULL DEFAULT 0,
  16. cdata_excluded INTEGER NOT NULL DEFAULT 0,
  17. PRIMARY KEY (cdata_id),
  18. FOREIGN KEY (cdata_cache_id) REFERENCES cache (cache_id)
  19. ON DELETE CASCADE ON UPDATE CASCADE
  20. );