A tumblelog CMS built on AJAX, PHP and MySQL.

gelato_db.sql 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. CREATE TABLE `gel_data` (
  2. `id_post` int(11) NOT NULL auto_increment,
  3. `title` text NULL,
  4. `url` varchar(250) default NULL,
  5. `description` text NULL,
  6. `type` tinyint(4) NOT NULL default '1',
  7. `date` datetime NOT NULL,
  8. `id_user` int(10) NOT NULL,
  9. PRIMARY KEY (`id_post`)
  10. ) ENGINE = MYISAM ;
  11. CREATE TABLE `gel_users` (
  12. `id_user` int(10) unsigned NOT NULL auto_increment,
  13. `name` varchar(100) default NULL,
  14. `login` varchar(100) NOT NULL default '',
  15. `password` varchar(64) NOT NULL default '',
  16. `email` varchar(100) default NULL,
  17. `website` varchar(150) default NULL,
  18. `about` text,
  19. PRIMARY KEY (`id_user`)
  20. ) ENGINE = MYISAM ;
  21. CREATE TABLE `gel_config` (
  22. `posts_limit` int(3) NOT NULL,
  23. `title` varchar(250) NOT NULL,
  24. `description` text NOT NULL,
  25. `lang` varchar(10) NOT NULL,
  26. `template` varchar(100) NOT NULL,
  27. `url_installation` varchar(250) NOT NULL,
  28. `url_friendly` tinyint(1) NOT NULL,
  29. `rich_text` tinyint(1) NOT NULL,
  30. PRIMARY KEY (`title`)
  31. ) ENGINE = MYISAM ;
  32. -- Example data for table `gel_config`
  33. INSERT INTO `gel_config` VALUES (10, 'Tumble title', 'tumble description', 'en', 'tumblr', 'http://localhost/gelato', 1, 1);
  34. -- The password is "demo" without the "
  35. INSERT INTO `gel_users` VALUES (1, 'System administrator', 'admin', 'fe01ce2a7fbac8fafaed7c982a04e229', 'correo@correo.com', 'page', 'about');