ext_tables.sql 964 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. );
  8. #
  9. # Table structure for table 'ot_websites'
  10. #
  11. CREATE TABLE ot_websites
  12. (
  13. uid INT UNSIGNED NOT NULL AUTO_INCREMENT,
  14. organization_id INT NOT NULL,
  15. organization_name VARCHAR(255) NOT NULL,
  16. subdomain VARCHAR(45) NOT NULL,
  17. custom_domain VARCHAR(255),
  18. locale VARCHAR(10) DEFAULT 'fr-FR',
  19. config_identifier VARCHAR(45),
  20. deleted tinyint(1) unsigned DEFAULT '0' NOT NULL,
  21. PRIMARY KEY (uid)
  22. );
  23. #
  24. # Table structure for table 'tx_opentalent_log'
  25. #
  26. CREATE TABLE ot_log (
  27. request_id varchar(13) DEFAULT '' NOT NULL,
  28. time_micro double(16,4) NOT NULL default '0.0000',
  29. component varchar(255) DEFAULT '' NOT NULL,
  30. level tinyint(1) unsigned DEFAULT '0' NOT NULL,
  31. message text,
  32. data text,
  33. KEY request (request_id)
  34. );