A semantic search engine for source code https://bitshift.benkurtovic.com/
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

24 wiersze
916 B

  1. CREATE DATABASE bitshift DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
  2. USE `bitshift`;
  3. CREATE TABLE codelets (
  4. `codelet_id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE,
  5. `codelet_name` VARCHAR(512) NOT NULL,
  6. `codelet_code_id` BIGINT UNSIGNED NOT NULL,
  7. `codelet_lang` SMALLINT UNSIGNED DEFAULT NULL,
  8. `codelet_origin` TINYINT UNSIGNED DEFAULT NULL,
  9. `codelet_url` VARCHAR(512) NOT NULL,
  10. `codelet_date_created` DATETIME DEFAULT NULL,
  11. `codelet_date_modified` DATETIME DEFAULT NULL,
  12. PRIMARY KEY (`codelet_id`)
  13. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  14. CREATE TABLE code (
  15. `code_id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE,
  16. `code_hash` BIGINT NOT NULL,
  17. `code_code` MEDIUMTEXT NOT NULL,
  18. PRIMARY KEY (`code_id`)
  19. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  20. -- separate tables: authors, symbols, caches, search indices