Cleanup SQL file to remove unneeded tables, and other irrelevant data

This commit is contained in:
Timothy Warren 2014-10-01 16:33:07 -04:00
parent f6d0ae5c25
commit 6946f64a2a

109
node.sql
View File

@ -1,16 +1,3 @@
-- phpMyAdmin SQL Dump
-- version 4.2.9
-- http://www.phpmyadmin.net
--
-- Host:
-- Generation Time: Sep 30, 2014 at 01:59 PM
-- Server version: 10.0.13-MariaDB-log
-- PHP Version: 5.6.0-pl0-gentoo
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
@ -22,18 +9,6 @@ SET time_zone = "+00:00";
-- -------------------------------------------------------- -- --------------------------------------------------------
--
-- Table structure for table `phinxlog`
--
CREATE TABLE IF NOT EXISTS `phinxlog` (
`version` bigint(14) NOT NULL,
`start_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`end_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
-- --
-- Table structure for table `todo_category` -- Table structure for table `todo_category`
-- --
@ -99,9 +74,6 @@ INSERT INTO `todo_checklist` (`id`, `task_id`, `description`, `is_checked`) VALU
(113, 136, 'Client side templating', 1), (113, 136, 'Client side templating', 1),
(117, 136, 'Client-side data manipulation', 1), (117, 136, 'Client-side data manipulation', 1),
(118, 136, 'Client-side data access', 1), (118, 136, 'Client-side data access', 1),
(129, 149, 'one', 1),
(130, 149, '', 0),
(131, 149, 'thow', 1),
(132, 151, 'Add task filtering by category', 0), (132, 151, 'Add task filtering by category', 0),
(133, 151, 'Add general task search', 0), (133, 151, 'Add general task search', 0),
(134, 151, 'Remove remnants of social integration', 1), (134, 151, 'Remove remnants of social integration', 1),
@ -138,20 +110,6 @@ INSERT INTO `todo_checklist` (`id`, `task_id`, `description`, `is_checked`) VALU
-- -------------------------------------------------------- -- --------------------------------------------------------
--
-- Table structure for table `todo_ci_sessions`
--
CREATE TABLE IF NOT EXISTS `todo_ci_sessions` (
`session_id` varchar(40) NOT NULL,
`ip_address` varchar(40) NOT NULL,
`user_agent` varchar(255) NOT NULL,
`last_activity` int(11) NOT NULL,
`user_data` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
-- --
-- Table structure for table `todo_group` -- Table structure for table `todo_group`
-- --
@ -168,17 +126,8 @@ CREATE TABLE IF NOT EXISTS `todo_group` (
INSERT INTO `todo_group` (`id`, `name`) VALUES INSERT INTO `todo_group` (`id`, `name`) VALUES
(1, 'global'), (1, 'global'),
(11, 'timw4mail'), (11, 'timw4mail'),
(12, 'global'),
(53, 'guest'), (53, 'guest'),
(54, 'mabuza'), (65, 'guests');
(55, 'vaughnderson'),
(56, 'co-workers'),
(57, 'cbrown'),
(59, 'aviat4ion'),
(60, 'workmates'),
(64, 'dclark'),
(65, 'guests'),
(66, 'global');
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -197,8 +146,6 @@ CREATE TABLE IF NOT EXISTS `todo_group_task_link` (
-- --
INSERT INTO `todo_group_task_link` (`group_id`, `task_id`, `permissions`) VALUES INSERT INTO `todo_group_task_link` (`group_id`, `task_id`, `permissions`) VALUES
(56, 97, 2),
(56, 151, 2),
(65, 151, 2); (65, 151, 2);
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -220,20 +167,6 @@ CREATE TABLE IF NOT EXISTS `todo_group_users_link` (
INSERT INTO `todo_group_users_link` (`group_id`, `user_id`, `is_admin`) VALUES INSERT INTO `todo_group_users_link` (`group_id`, `user_id`, `is_admin`) VALUES
(11, 1, 1), (11, 1, 1),
(53, 3, 1), (53, 3, 1),
(54, 4, 1),
(55, 5, 1),
(56, 1, 1),
(56, 4, 0),
(56, 5, 0),
(56, 6, 0),
(56, 8, 0),
(57, 6, 1),
(59, 7, 1),
(60, 1, 0),
(60, 4, 1),
(60, 5, 0),
(64, 8, 1),
(65, 1, 1),
(65, 3, 0); (65, 3, 0);
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -265,12 +198,9 @@ INSERT INTO `todo_item` (`id`, `user_id`, `category_id`, `priority`, `status`, `
(101, 1, 9, 5, 2, 'Edit/Delete task categories', 'Add the ability to edit or delete task categories that are private, and belong to the current user.<br>', 1287630000, 1287602597, 1287509051), (101, 1, 9, 5, 2, 'Edit/Delete task categories', 'Add the ability to edit or delete task categories that are private, and belong to the current user.<br>', 1287630000, 1287602597, 1287509051),
(115, 1, 9, 5, 2, 'Make checkboxes conditionally change status', '<ul><li>Checking the first checkbox in a list (the first one to be checked) should set the current task as "Work Started"</li><li>Checking the last unchecked item in the checklist should set the current task as "Task Completed"<br /></li></ul>', 1289271600, 1288736763, 1288629218), (115, 1, 9, 5, 2, 'Make checkboxes conditionally change status', '<ul><li>Checking the first checkbox in a list (the first one to be checked) should set the current task as "Work Started"</li><li>Checking the last unchecked item in the checklist should set the current task as "Task Completed"<br /></li></ul>', 1289271600, 1288736763, 1288629218),
(136, 1, 4, 5, 2, 'Twitter Client Improvements', 'Improve Twitter Client<br />', 0, 1404231369, 1297462883), (136, 1, 4, 5, 2, 'Twitter Client Improvements', 'Improve Twitter Client<br />', 0, 1404231369, 1297462883),
(149, 4, 13, 5, 1, 'Test', 'this is<a href="http://google.com"> a test task</a>', 1405008000, 1404914181, 1404228619),
(150, 1, 13, 6, 1, 'Anime Collection App', 'Creation of an anime collection app.<br/><br/>Purposes:<br/><ul><li>Easy way to keep track of one''s collection</li><li>Searchable by title and aliases</li></ul><p>Features:</p><ul><li>User Accounts</li><li>Read-only guest access, or private access</li><li>Search / Organize by meta-data</li></ul>', 1412179200, 1406320382, 1404230822), (150, 1, 13, 6, 1, 'Anime Collection App', 'Creation of an anime collection app.<br/><br/>Purposes:<br/><ul><li>Easy way to keep track of one''s collection</li><li>Searchable by title and aliases</li></ul><p>Features:</p><ul><li>User Accounts</li><li>Read-only guest access, or private access</li><li>Search / Organize by meta-data</li></ul>', 1412179200, 1406320382, 1404230822),
(151, 1, 9, 8, 3, 'Todo Improvements', 'Things to clean up, improve, fix or add to the todo app to make it better.<br />', 0, 1406321163, 1404231517), (151, 1, 9, 8, 3, 'Todo Improvements', 'Things to clean up, improve, fix or add to the todo app to make it better.<br />', 0, 1406321163, 1404231517),
(152, 5, 1, 5, 1, 'Log time', 'Log time on Version One.', 1404334800, 0, 1404293467),
(153, 3, 1, 5, 3, 'Get to work, Slacker!', 'Dude, you should be at work.', 1405083600, 0, 1405026719), (153, 3, 1, 5, 3, 'Get to work, Slacker!', 'Dude, you should be at work.', 1405083600, 0, 1405026719),
(154, 8, 13, 5, 1, 'Test Task', 'Good Morning', 1405080000, 0, 1405026934),
(155, 1, 13, 8, 5, 'Fix NAS Web Interface', 'Figure out a way to re-install the base OS without wiping the NAS data.<br/>', 1406347200, 1405603389, 1405467330), (155, 1, 13, 8, 5, 'Fix NAS Web Interface', 'Figure out a way to re-install the base OS without wiping the NAS data.<br/>', 1406347200, 1405603389, 1405467330),
(156, 3, 1, 5, 1, 'Lunch Appointment', 'Test', 1406304000, 0, 1406295432), (156, 3, 1, 5, 1, 'Lunch Appointment', 'Test', 1406304000, 0, 1406295432),
(157, 1, 9, 5, 3, 'Normalize Task validation', '<ul><li>Move custom validation to CI validation library</li><li>Move remaining logic to controllers as protected/private methods<br/></li></ul>', 0, 0, 1408390221); (157, 1, 9, 5, 3, 'Normalize Task validation', '<ul><li>Move custom validation to CI validation library</li><li>Move remaining logic to controllers as protected/private methods<br/></li></ul>', 0, 0, 1408390221);
@ -300,7 +230,6 @@ INSERT INTO `todo_item_comments` (`id`, `user_id`, `item_id`, `comment`, `time_p
(67, 1, 136, 'Worth looking into: last read synchronization.<br><br>http://www.manton.org/2011/06/tweetmarks.html<br>http://tweetmarks.net/<br>', 1307123852, 3), (67, 1, 136, 'Worth looking into: last read synchronization.<br><br>http://www.manton.org/2011/06/tweetmarks.html<br>http://tweetmarks.net/<br>', 1307123852, 3),
(77, 1, 97, 'This is a shared comment.<br/>', 1404762189, 3), (77, 1, 97, 'This is a shared comment.<br/>', 1404762189, 3),
(79, 1, 151, 'Problem Areas<br/><ul><li>Code Quality (Repetition, inappropriate class state)</li><li>SQL Queries (Inconsistent, repeditive, using php to join datasets)</li><li>Lack of Tests</li></ul>', 1404847061, 3), (79, 1, 151, 'Problem Areas<br/><ul><li>Code Quality (Repetition, inappropriate class state)</li><li>SQL Queries (Inconsistent, repeditive, using php to join datasets)</li><li>Lack of Tests</li></ul>', 1404847061, 3),
(80, 1, 149, 'I should be able to add a comment<br/>', 1404852258, 3),
(81, 1, 155, 'Apparently it fixed itself!<br/>', 1405603381, 1), (81, 1, 155, 'Apparently it fixed itself!<br/>', 1405603381, 1),
(83, 1, 151, 'Problem Areas (as of July 25, 2014)<br/><ul><li>Code Quality (Custom code for framework functionality)</li></ul>', 1406299699, 3); (83, 1, 151, 'Problem Areas (as of July 25, 2014)<br/><ul><li>Code Quality (Custom code for framework functionality)</li></ul>', 1406299699, 3);
@ -344,18 +273,6 @@ CREATE TABLE IF NOT EXISTS `todo_reminder` (
`user_id` int(11) NOT NULL `user_id` int(11) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=43 DEFAULT CHARSET=utf8; ) ENGINE=InnoDB AUTO_INCREMENT=43 DEFAULT CHARSET=utf8;
--
-- Dumping data for table `todo_reminder`
--
INSERT INTO `todo_reminder` (`id`, `task_id`, `reminder_time`, `sent`, `user_id`) VALUES
(35, 150, 1412155800, 0, 1),
(36, 152, 1404333000, 1, 5),
(37, 149, 1405006200, 1, 4),
(38, 153, 1405081800, 1, 3),
(39, 154, 1405078200, 1, 8),
(42, 155, 1406295000, 1, 1);
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
@ -419,12 +336,7 @@ CREATE TABLE IF NOT EXISTS `todo_user` (
INSERT INTO `todo_user` (`id`, `username`, `password`, `email`, `enabled`, `timezone`, `num_format`, `reset_token`) VALUES INSERT INTO `todo_user` (`id`, `username`, `password`, `email`, `enabled`, `timezone`, `num_format`, `reset_token`) VALUES
(1, 'timw4mail', '$2a$10$Ngb.PprkGi2daNIeyW5odOMkUqnqhdSBBgO.6idEspoQZfsH0QcQG', 'tim@timshomepage.net', 1, 'America/Detroit', 1, NULL), (1, 'timw4mail', '$2a$10$Ngb.PprkGi2daNIeyW5odOMkUqnqhdSBBgO.6idEspoQZfsH0QcQG', 'tim@timshomepage.net', 1, 'America/Detroit', 1, NULL),
(3, 'guest', '$2a$10$qW8HlbNDNEJx1GqmYW9APOYOqo5apV8stjNcV/xunsvnjTYJBTc0m', 'guest@timshomepage.net', 1, 'America/Detroit', 0, NULL), (3, 'guest', '$2a$10$qW8HlbNDNEJx1GqmYW9APOYOqo5apV8stjNcV/xunsvnjTYJBTc0m', 'guest@timshomepage.net', 1, 'America/Detroit', 0, NULL);
(4, 'mabuza', '$2a$10$kKSs2x5cPOPzYBa1YcQL3u1kR4din9AeQ547XzQlRl.MJo3RNJxHq', 'mabuzagu@gmail.com', 1, 'America/Detroit', 0, NULL),
(5, 'vaughnderson', '$2a$10$gmAWicAvRqX17OfxVlmWbu9BeNWdk7nPfRRtnslprYbOwfqq1oMDK', 'anderson.vaughn@gmail.com', 1, 'America/Detroit', 0, NULL),
(6, 'cbrown', '$2a$10$pAQndMevbX85QSqCAtv1cOjq0C5Py0Gs/GI16Dy1/FGDmmeG/S/TC', 'chris.brown@systemsinmotion.com', 1, 'America/Detroit', 0, NULL),
(7, 'aviat4ion', '$2a$10$RIgnyU.N.IxJxGYXU9Ic9eXQnLcT4/N11hMLiBPdUDfmrpMLIYIJW', 'timw4mail@gmail.com', 1, 'America/Detroit', 0, NULL),
(8, 'dclark', '$2a$10$7jBjEhPu1mAyLZC9DK5ah.U1ZQltce8ifDPBqbWCJMFk5ZFuDA.4e', 'clarkde5@gmail.com', 1, 'America/Detroit', 0, NULL);
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -443,12 +355,7 @@ CREATE TABLE IF NOT EXISTS `todo_user_friend_link` (
-- --
INSERT INTO `todo_user_friend_link` (`user_id`, `user_friend_id`, `confirmed`) VALUES INSERT INTO `todo_user_friend_link` (`user_id`, `user_friend_id`, `confirmed`) VALUES
(1, 3, 1), (1, 3, 1);
(1, 4, 1),
(5, 1, 1),
(5, 4, 1),
(6, 1, 1),
(8, 1, 1);
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -467,9 +374,7 @@ CREATE TABLE IF NOT EXISTS `todo_user_task_link` (
-- --
INSERT INTO `todo_user_task_link` (`user_id`, `task_id`, `permissions`) VALUES INSERT INTO `todo_user_task_link` (`user_id`, `task_id`, `permissions`) VALUES
(1, 136, -1), (1, 136, -1);
(4, 149, -1),
(5, 149, -1);
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -496,12 +401,6 @@ ALTER TABLE `todo_category`
ALTER TABLE `todo_checklist` ALTER TABLE `todo_checklist`
ADD PRIMARY KEY (`id`), ADD KEY `task_id` (`task_id`); ADD PRIMARY KEY (`id`), ADD KEY `task_id` (`task_id`);
--
-- Indexes for table `todo_ci_sessions`
--
ALTER TABLE `todo_ci_sessions`
ADD PRIMARY KEY (`session_id`);
-- --
-- Indexes for table `todo_group` -- Indexes for table `todo_group`
-- --