ext_tables.sql 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # ext_tables.sql contient les directives permettant d ajouter des tables et champs à la DB
  2. #
  3. # Table structure for table 'pages'
  4. #
  5. CREATE TABLE pages (
  6. ot_website_uid INT UNSIGNED DEFAULT NULL,
  7. KEY website (ot_website_uid)
  8. );
  9. #
  10. # Table structure for table 'ot_websites'
  11. #
  12. CREATE TABLE ot_websites
  13. (
  14. uid INT UNSIGNED NOT NULL AUTO_INCREMENT,
  15. organization_id INT NOT NULL,
  16. organization_name VARCHAR(255) NOT NULL,
  17. subdomain VARCHAR(255) NOT NULL,
  18. custom_domain VARCHAR(255),
  19. locale VARCHAR(10) DEFAULT 'fr-FR',
  20. config_identifier VARCHAR(255),
  21. deleted tinyint(1) unsigned DEFAULT '0' NOT NULL,
  22. PRIMARY KEY (uid),
  23. KEY organization_id (organization_id),
  24. KEY subdomain (subdomain),
  25. KEY config_identifier (config_identifier)
  26. );
  27. #
  28. # Table structure for table 'tx_opentalent_log'
  29. #
  30. CREATE TABLE ot_log (
  31. request_id varchar(13) DEFAULT '' NOT NULL,
  32. time_micro double(16,4) NOT NULL default '0.0000',
  33. component varchar(255) DEFAULT '' NOT NULL,
  34. level tinyint(1) unsigned DEFAULT '0' NOT NULL,
  35. message text,
  36. data text,
  37. KEY request (request_id)
  38. );