insert.sql 550 B

123456789101112131415161718
  1. -- Insert this in your Chamilo 1.9 Database
  2. CREATE TABLE c_timeline (
  3. id INTEGER NOT NULL AUTO_INCREMENT,
  4. c_id INTEGER NOT NULL,
  5. headline VARCHAR(255) NOT NULL,
  6. type VARCHAR(255) NOT NULL,
  7. start_date VARCHAR(255) NOT NULL,
  8. end_date VARCHAR(255) NOT NULL,
  9. text VARCHAR(255) NOT NULL,
  10. media VARCHAR(255) NOT NULL,
  11. media_credit VARCHAR(255) NOT NULL,
  12. media_caption VARCHAR(255) NOT NULL,
  13. title_slide VARCHAR(255) NOT NULL,
  14. parent_id INTEGER DEFAULT 0 NOT NULL,
  15. status INTEGER NOT NULL,
  16. PRIMARY KEY (id, c_id)
  17. );