Commit 384ef96785b45e6c1ae0fd19e4ce7cc8680bd76e

Authored by Jarrett Jordaan
1 parent 6fcc2d6d

PT 2492070 :Skeleton Plugin Added.

Committed by: Jarrett Jordaan

Reviewed by: Megan Watson
sql/mysql/install/data.sql
... ... @@ -683,6 +683,38 @@ INSERT INTO `folders` VALUES
683 683 UNLOCK TABLES;
684 684  
685 685 --
  686 +-- Dumping data for table `folder_template_nodes`
  687 +--
  688 +
  689 +LOCK TABLES `folder_template_nodes` WRITE;
  690 +/*!40000 ALTER TABLE `folders` DISABLE KEYS */;
  691 +INSERT INTO `folder_template_nodes` (`id`, `name`, `parent_id`, `template_id`) VALUES
  692 +(1, 'Correspondence', 0, 1),
  693 +(2, 'Tax Returns', 0, 1),
  694 +(3, 'Financial statements', 0, 1),
  695 +(4, 'Working papers', 0, 1),
  696 +(5, 'Templates', 0, 2),
  697 +(6, 'Finance', 0, 2),
  698 +(7, 'Human Resources', 0, 2),
  699 +(8, 'Product', 0, 2),
  700 +(9, 'Operations', 0, 2),
  701 +(10, 'Sales', 0, 2);
  702 +/*!40000 ALTER TABLE `folder_template_nodes` ENABLE KEYS */;
  703 +UNLOCK TABLES;
  704 +
  705 +--
  706 +-- Dumping data for table `folder_templates`
  707 +--
  708 +
  709 +LOCK TABLES `folder_templates` WRITE;
  710 +/*!40000 ALTER TABLE `folder_templates` DISABLE KEYS */;
  711 +INSERT INTO `folder_templates` (`id`, `name`) VALUES
  712 +(1, 'ClientName'),
  713 +(2, 'BusinessName');
  714 +/*!40000 ALTER TABLE `folder_templates` ENABLE KEYS */;
  715 +UNLOCK TABLES;
  716 +
  717 +--
686 718 -- Dumping data for table `folders_users_roles_link`
687 719 --
688 720  
... ...
sql/mysql/install/structure.sql
... ... @@ -803,6 +803,28 @@ CREATE TABLE `folder_subscriptions` (
803 803 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
804 804  
805 805 --
  806 +-- Table structure for table `folder_structures`
  807 +--
  808 +
  809 +CREATE TABLE IF NOT EXISTS `folder_structures` (
  810 + `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  811 + `name` varchar(255) NOT NULL,
  812 + `parent_id` int(11) unsigned NOT NULL,
  813 + `template_id` int(11) unsigned NOT NULL,
  814 + PRIMARY KEY (`id`)
  815 +) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  816 +
  817 +--
  818 +-- Table structure for table `folder_templates`
  819 +--
  820 +
  821 +CREATE TABLE `folder_templates` (
  822 +`id` INT( 11 ) UNSIGNED NOT NULL ,
  823 +`name` VARCHAR( 255 ) NOT NULL ,
  824 +PRIMARY KEY ( `id` )
  825 +) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  826 +
  827 +--
806 828 -- Table structure for table `folder_transactions`
807 829 --
808 830  
... ...