WIPUP

Version 22.08.10b (eh?)

WIPUP

update icon
update icon
update icon
update icon
update icon
WIPUP is a flexible and easy way to share works-in-progresses.
22nd August 2010

Temporary new database dump for those trying out Eadrax.

by Moult with 0 kudos
26th September 2009

You should share it.

It doesn't matter if your update looks horrible, your update is a valued part of the creation process and deserves every right to be proudly showcased out there for the world to see. At WIPUP, we believe that this in-between is just as important and breathtakingly awesome as the finished product iself - it's the hidden spectacular adventure behind the creation. Anything from a brainwave of an idea to a tiny nudge of a pixel - we want you to use WIPUP to suit your workflow.

You can start sharing this update with your friends by directing them to this URL:

For those social folk we've got a few shortcuts to share on your social network's stream.

Twitter Facebook Digg Delicious

Use this instead of what's inside DATABASES (untested)

Pastebin (mysql)

  1. CREATE TABLE IF NOT EXISTS `categories` (
  2.   `id` int(11) NOT NULL auto_increment,
  3.   `name` varchar(255) NOT NULL,
  4.   PRIMARY KEY  (`id`)
  5.  
  6. INSERT INTO `categories` (`id`, `name`) VALUES
  7. (1, '2D Animation'),
  8. (2, '3D Animation'),
  9. (3, '3D Modeling'),
  10. (4, 'Application Programming'),
  11. (5, 'Digital Paintings'),
  12. (6, 'Documents & Articles'),
  13. (7, 'Games'),
  14. (8, 'Homework'),
  15. (9, 'Interface Design'),
  16. (10, 'Literature & Fiction'),
  17. (11, 'Magazines & Newsletters'),
  18. (12, 'Miscellaneous'),
  19. (13, 'Music'),
  20. (14, 'Posters'),
  21. (15, 'Presentations'),
  22. (16, 'Sound Effects'),
  23. (17, 'Vector Art'),
  24. (18, 'Video'),
  25. (19, 'Website Programming');
  26.  
  27. CREATE TABLE IF NOT EXISTS `comments` (
  28.   `id` int(11) NOT NULL auto_increment,
  29.   `uid` int(11) NOT NULL,
  30.   `upid` int(11) NOT NULL,
  31.   `comment` text NOT NULL,
  32.   PRIMARY KEY  (`id`),
  33.   KEY `uid` (`uid`),
  34.   KEY `upid` (`upid`)
  35.  
  36. CREATE TABLE IF NOT EXISTS `kudos` (
  37.   `id` int(11) NOT NULL auto_increment,
  38.   `uid` int(11) NOT NULL,
  39.   `upid` int(11) NOT NULL,
  40.   PRIMARY KEY  (`id`),
  41.   KEY `uid` (`uid`),
  42.   KEY `upid` (`upid`)
  43.  
  44. CREATE TABLE IF NOT EXISTS `news` (
  45.   `id` int(11) NOT NULL auto_increment,
  46.   `uid` int(11) NOT NULL,
  47.   `cid` int(11) NOT NULL,
  48.   `upid` int(11) NOT NULL,
  49.   `pid` int(11) NOT NULL,
  50.   `kid` int(11) NOT NULL,
  51.   `sid` int(11) NOT NULL,
  52.   `tid` int(11) NOT NULL,
  53.   PRIMARY KEY  (`id`)
  54. ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 ;
  55.  
  56. CREATE TABLE IF NOT EXISTS `openid` (
  57.   `url` varchar(255) NOT NULL,
  58.   `uid` int(10) NOT NULL,
  59.   PRIMARY KEY  (`url`),
  60.   KEY `uid` (`uid`)
  61.  
  62. CREATE TABLE IF NOT EXISTS `projects` (
  63.   `id` int(11) NOT NULL auto_increment,
  64.   `uid` int(11) NOT NULL,
  65.   `cid` int(11) NOT NULL,
  66.   `name` varchar(255) NOT NULL,
  67.   `website` varchar(255) NOT NULL,
  68.   `contributors` varchar(255) NOT NULL,
  69.   `icon` varchar(255) NOT NULL,
  70.   `description` text NOT NULL,
  71.   `views` int(11) NOT NULL,
  72.   PRIMARY KEY  (`id`),
  73.   KEY `uid` (`uid`),
  74.   KEY `cid` (`cid`)
  75.  
  76. INSERT INTO `projects` (`uid`, `cid`, `name`, `description`) VALUES
  77. (1, 12, 'Uncategorised', 'Every update that is not part of any user-defined project is put into this section. This includes updates submitted by guest users.');
  78.  
  79. CREATE TABLE IF NOT EXISTS `subscribe` (
  80.   `id` int(11) NOT NULL auto_increment,
  81.   `pid` int(11) NOT NULL,
  82.   `uid` int(11) NOT NULL,
  83.   PRIMARY KEY  (`id`),
  84.   KEY `pid` (`pid`),
  85.   KEY `uid` (`uid`)
  86.  
  87. CREATE TABLE IF NOT EXISTS `track` (
  88.   `id` int(11) NOT NULL auto_increment,
  89.   `track` int(11) NOT NULL,
  90.   `uid` int(11) NOT NULL,
  91.   PRIMARY KEY  (`id`),
  92.   KEY `track` (`track`),
  93.   KEY `uid` (`uid`)
  94.  
  95. CREATE TABLE IF NOT EXISTS `updates` (
  96.   `id` int(11) NOT NULL auto_increment,
  97.   `pid` int(11) NOT NULL,
  98.   `uid` int(11) NOT NULL,
  99.   `summary` varchar(255) NOT NULL,
  100.   `filename` varchar(255) NOT NULL,
  101.   `detail` text NOT NULL,
  102.   `syntax` varchar(255) NOT NULL,
  103.   `pastebin` text NOT NULL,
  104.   `ext` varchar(10) NOT NULL,
  105.   `views` int(11) NOT NULL,
  106.   PRIMARY KEY  (`id`),
  107.   KEY `pid` (`pid`),
  108.   KEY `uid` (`uid`)
  109.  
  110. CREATE TABLE IF NOT EXISTS `users` (
  111.   `id` int(11) NOT NULL auto_increment,
  112.   `username` varchar(50) NOT NULL,
  113.   `password` varchar(255) NOT NULL,
  114.   `description` text NOT NULL,
  115.   `email` varchar(50) NOT NULL,
  116.   `msn` varchar(50) NOT NULL,
  117.   `gtalk` varchar(50) NOT NULL,
  118.   `yahoo` varchar(50) NOT NULL,
  119.   `skype` varchar(50) NOT NULL,
  120.   `website` varchar(50) NOT NULL,
  121.   `location` varchar(50) NOT NULL,
  122.   `dob` varchar(8) NOT NULL,
  123.   `gender` enum('Unknown','Male','Female') NOT NULL default 'Unknown',
  124.   `avatar` varchar(255) NOT NULL,
  125.   `level` enum('Normal','Special','Staff','Admin') NOT NULL default 'Normal',
  126.   `lastactive` int(11) NOT NULL,
  127.   PRIMARY KEY  (`id`),
  128.   UNIQUE KEY `username` (`username`)
  129.  
  130. INSERT INTO `users` (`username`, `password`, `description`) VALUES
  131. ('Guest', 'guest', 'This is a special user to represent guest submissions on the website. Please register to access all the features of the website.');
  132.  
  133. ALTER TABLE `comments`
  134.   ADD CONSTRAINT `comments_ibfk_1` FOREIGN KEY (`uid`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  135.   ADD CONSTRAINT `comments_ibfk_2` FOREIGN KEY (`upid`) REFERENCES `updates` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
  136.  
  137. ALTER TABLE `kudos`
  138.   ADD CONSTRAINT `kudos_ibfk_1` FOREIGN KEY (`uid`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  139.   ADD CONSTRAINT `kudos_ibfk_2` FOREIGN KEY (`upid`) REFERENCES `updates` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
  140.  
  141. ALTER TABLE `openid`
  142.   ADD CONSTRAINT `openid_ibfk_1` FOREIGN KEY (`uid`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
  143.  
  144. ALTER TABLE `projects`
  145.   ADD CONSTRAINT `projects_ibfk_1` FOREIGN KEY (`uid`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  146.   ADD CONSTRAINT `projects_ibfk_2` FOREIGN KEY (`cid`) REFERENCES `categories` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
  147.  
  148. ALTER TABLE `subscribe`
  149.   ADD CONSTRAINT `subscribe_ibfk_1` FOREIGN KEY (`pid`) REFERENCES `projects` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  150.   ADD CONSTRAINT `subscribe_ibfk_2` FOREIGN KEY (`uid`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
  151.  
  152. ALTER TABLE `track`
  153.   ADD CONSTRAINT `track_ibfk_1` FOREIGN KEY (`track`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  154.   ADD CONSTRAINT `track_ibfk_2` FOREIGN KEY (`uid`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
  155.  
  156. ALTER TABLE `updates`
  157.   ADD CONSTRAINT `updates_ibfk_1` FOREIGN KEY (`pid`) REFERENCES `projects` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  158.   ADD CONSTRAINT `updates_ibfk_2` FOREIGN KEY (`uid`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
Revise Paste

Comments (1)

Moult says:

Note: has been committed as of 29/09/09. Pending deletion.

If you don't have anything specific to say but you like this update nonetheless, you should kudos it.

Leave a comment

If you were logged in, we won't ask you silly questions like in primary school.



captcha