Duffer Derek
-- phpMyAdmin SQL Dump
-- version 4.0.10deb1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Apr 19, 2017 at 04:41 AM
-- Server version: 5.5.54-0ubuntu0.14.04.1
-- PHP Version: 5.5.9-1ubuntu4.21
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_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `logmein`
--
-- --------------------------------------------------------
--
-- Table structure for table `apps`
--
CREATE TABLE IF NOT EXISTS `apps` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`identifier` int(11) NOT NULL,
`src_space_id` int(11) DEFAULT NULL,
`src_app_id` int(11) DEFAULT NULL,
`src_name` text,
`src_app_url` text,
`src_app_url_label` text,
`dest_app_url_label` text,
`dest_app_url` text,
`src_config` longtext,
`src_app_type` varchar(100) DEFAULT NULL,
`src_fields` longtext,
`dest_fileds` longtext,
`voting` text,
`flows` text,
`widgets` longtext,
`allow_comments` int(11) DEFAULT '1',
`dest_space_id` int(11) DEFAULT NULL,
`dest_app_id` int(11) DEFAULT NULL,
`src_app_item_count` int(11) DEFAULT NULL,
`copy_next_step` varchar(200) DEFAULT NULL,
`copy_completed_steps` text,
`create_next_step` varchar(200) DEFAULT NULL,
`create_completed_steps` text,
`app_created_by_program` int(11) DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `uq` (`src_app_id`),
KEY `space` (`src_space_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `app_fields`
--
CREATE TABLE IF NOT EXISTS `app_fields` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`identifier` int(11) DEFAULT NULL,
`src_app_id` int(11) DEFAULT NULL,
`src_field_id` int(11) DEFAULT NULL,
`status` varchar(100) DEFAULT NULL,
`field_type` text,
`src_field_config` text,
`src_field_external_id` text,
`src_delta` int(11) DEFAULT NULL,
`dest_delta` int(11) DEFAULT NULL,
`label` text,
`dest_app_id` int(11) DEFAULT NULL,
`dest_field_id` int(11) DEFAULT NULL,
`dest_field_external_id` text,
`dest_field_config` text,
`dest_field_extra` text,
PRIMARY KEY (`id`),
UNIQUE KEY `unique_index` (`src_app_id`,`src_field_id`),
KEY `app` (`src_app_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `app_views`
--
CREATE TABLE IF NOT EXISTS `app_views` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`src_app_id` int(11) DEFAULT NULL,
`src_view_d` int(11) DEFAULT NULL,
`fields` text,
`view_type` text,
`created_view_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `app` (`src_app_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `auth`
--
CREATE TABLE IF NOT EXISTS `auth` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user` varchar(100) DEFAULT NULL,
`key` int(11) DEFAULT NULL,
`access_token` varbinary(250) DEFAULT NULL,
`refresh_token` varbinary(250) DEFAULT NULL,
`expire_time` int(11) DEFAULT NULL,
`rate_limit_gen` int(11) DEFAULT NULL,
`rate_limit` int(11) DEFAULT NULL,
`start_time` int(11) DEFAULT NULL,
`end_time` int(11) DEFAULT NULL,
`updated_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `comments`
--
CREATE TABLE IF NOT EXISTS `comments` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`identifier` int(11) DEFAULT NULL,
`src_ref_type` varchar(100) DEFAULT NULL,
`src_ref_id` int(11) DEFAULT NULL,
`comment_id` int(11) DEFAULT NULL,
`file_count` int(11) DEFAULT NULL,
`rich_value` text,
`question` text,
`embed` text,
`like_count` int(11) DEFAULT NULL,
`created_on` datetime DEFAULT NULL,
`created_by_user_id` int(11) DEFAULT NULL,
`created_by_name` text,
`created_by_url` text,
`new_comment_id` int(11) DEFAULT NULL,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `unique_index` (`comment_id`),
KEY `ref` (`src_ref_type`,`src_ref_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `dest_workspace_members`
--
CREATE TABLE IF NOT EXISTS `dest_workspace_members` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`identifier` int(11) DEFAULT NULL,
`dest_space_id` int(11) DEFAULT NULL,
`name` text,
`profile_id` int(11) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`email` varchar(300) DEFAULT NULL,
`role` varchar(300) DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `uq` (`dest_space_id`,`profile_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `error_logs`
--
CREATE TABLE IF NOT EXISTS `error_logs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`message` text,
`error` text,
`details` text,
`ref_type` varchar(100) DEFAULT NULL,
`ref_id` int(11) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `files`
--
CREATE TABLE IF NOT EXISTS `files` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`identifier` int(11) DEFAULT NULL,
`src_ref_type` varchar(100) DEFAULT NULL,
`src_ref_id` int(11) DEFAULT NULL,
`file_id` int(11) DEFAULT NULL,
`mimetype` text,
`hosted_by` varchar(300) DEFAULT NULL,
`size` int(11) DEFAULT NULL,
`name` text,
`status` varchar(100) NOT NULL,
`new_file_id` int(11) DEFAULT NULL,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `unique_index` (`file_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `items`
--
CREATE TABLE IF NOT EXISTS `items` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`identifier` int(11) DEFAULT NULL,
`src_app_id` int(11) DEFAULT NULL,
`dest_app_id` int(11) DEFAULT NULL,
`src_item_id` int(11) DEFAULT NULL,
`src_app_item_id` int(11) DEFAULT NULL,
`dest_item_id` int(11) DEFAULT NULL,
`title` text,
`file_count` int(11) DEFAULT NULL,
`files` text,
`task_count` int(11) DEFAULT NULL,
`comment_count` int(11) DEFAULT NULL,
`participants` text,
`revision` int(11) DEFAULT NULL,
`tags` text,
`created_on` datetime DEFAULT NULL,
`last_event_on` datetime DEFAULT NULL,
`created_by_user_id` int(11) DEFAULT NULL,
`created_by_name` text,
`created_by_url` text,
`copy_next_step` varchar(300) DEFAULT NULL,
`copy_completed_steps` text,
`create_next_step` varchar(200) DEFAULT NULL,
`create_completed_steps` text,
`ref_link_updated` int(11) DEFAULT '0',
`created_by_comment` int(11) DEFAULT NULL,
`voting_comment` int(11) DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `uq` (`src_item_id`),
KEY `item` (`src_app_id`,`src_item_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `item_field_values`
--
CREATE TABLE IF NOT EXISTS `item_field_values` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`identifier` int(11) DEFAULT NULL,
`src_app_id` int(11) DEFAULT NULL,
`src_item_id` int(11) DEFAULT NULL,
`src_field_id` int(11) DEFAULT NULL,
`src_field_external_id` varchar(300) DEFAULT NULL,
`type` varchar(200) DEFAULT NULL,
`value` text,
`contains_podio_link` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `item` (`src_app_id`,`src_item_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `logs`
--
CREATE TABLE IF NOT EXISTS `logs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`type` varchar(300) DEFAULT NULL,
`message` text,
`details` text,
`ref_type` varchar(100) DEFAULT NULL,
`ref_id` int(11) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `log_info`
--
CREATE TABLE IF NOT EXISTS `log_info` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`type` varchar(300) DEFAULT NULL,
`message` text,
`details` text,
`ref_type` varchar(100) DEFAULT NULL,
`ref_id` int(11) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `stream_status`
--
CREATE TABLE IF NOT EXISTS `stream_status` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`identifier` int(11) DEFAULT NULL,
`src_space_id` int(11) DEFAULT NULL,
`status_id` int(11) DEFAULT NULL,
`file_count` int(11) DEFAULT NULL,
`rich_value` text,
`question` text,
`embed` text,
`like_count` int(11) DEFAULT NULL,
`created_on` datetime DEFAULT NULL,
`created_by_user_id` int(11) DEFAULT NULL,
`created_by_name` text,
`created_by_url` text,
`new_status_id` int(11) DEFAULT NULL,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `unique_index` (`status_id`),
KEY `ref` (`src_space_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `tasks`
--
CREATE TABLE IF NOT EXISTS `tasks` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`identifier` int(11) DEFAULT NULL,
`src_task_id` int(11) DEFAULT NULL,
`dest_task_id` int(11) DEFAULT NULL,
`src_ref_type` varchar(100) DEFAULT NULL,
`src_ref_id` int(11) DEFAULT NULL,
`status` varchar(100) DEFAULT NULL,
`due_date` date DEFAULT NULL,
`responsible` text,
`description` text,
`labels` text,
`recurrence` text,
`due_time` text,
`text` text,
`due_on` datetime DEFAULT NULL,
`reminder` text,
`private` int(11) DEFAULT NULL,
`file_count` int(11) DEFAULT NULL,
`comment_count` int(11) DEFAULT NULL,
`created_on` datetime DEFAULT NULL,
`created_by_user_id` int(11) DEFAULT NULL,
`created_by_name` text,
`created_by_url` text,
`created_by_comment` int(11) DEFAULT NULL,
`next_step` text,
`updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `uq` (`src_task_id`),
KEY `ref` (`src_ref_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `transfer_process`
--
CREATE TABLE IF NOT EXISTS `transfer_process` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`start_time` int(11) DEFAULT NULL,
`end_time` int(11) DEFAULT NULL,
`user` varchar(200) DEFAULT NULL,
`key` int(11) DEFAULT NULL,
`spaces` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `user_auth`
--
CREATE TABLE IF NOT EXISTS `user_auth` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`access_token` varbinary(250) DEFAULT NULL,
`refresh_token` varbinary(250) DEFAULT NULL,
`identifier` varchar(256) DEFAULT NULL,
`expire_time` int(11) DEFAULT NULL,
`user_type` varchar(100) DEFAULT NULL,
`priority` int(11) NOT NULL DEFAULT '1',
`api_key_used` int(11) DEFAULT NULL,
`rate_limit_gen` int(11) DEFAULT NULL,
`rate_limit` int(11) DEFAULT NULL,
`start_time` int(11) DEFAULT NULL,
`end_time` int(11) DEFAULT NULL,
`updated_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `workspace_contacts`
--
CREATE TABLE IF NOT EXISTS `workspace_contacts` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`src_space_id` int(11) DEFAULT NULL,
`item_id` int(11) DEFAULT NULL,
`profile_id` int(11) DEFAULT NULL,
`app_id` int(11) DEFAULT NULL,
`fields` text,
PRIMARY KEY (`Id`),
KEY `space` (`src_space_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `workspace_members`
--
CREATE TABLE IF NOT EXISTS `workspace_members` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`identifier` int(11) DEFAULT NULL,
`src_space_id` int(11) DEFAULT NULL,
`name` text,
`profile_id` int(11) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`email` varchar(300) DEFAULT NULL,
`role` varchar(300) DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `uq` (`src_space_id`,`profile_id`),
KEY `space` (`src_space_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `work_spaces`
--
CREATE TABLE IF NOT EXISTS `work_spaces` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`identifier` int(11) DEFAULT NULL,
`src_space_id` int(11) DEFAULT NULL,
`src_space_url_label` text,
`dest_space_url_label` text,
`src_org_url_label` text,
`dest_space_id` int(11) DEFAULT NULL,
`src_org_id` int(11) DEFAULT NULL,
`dest_org_id` int(11) DEFAULT NULL,
`src_name` text,
`src_space_url` text,
`dest_space_url` text,
`type` varchar(100) DEFAULT NULL,
`role` varchar(100) DEFAULT NULL,
`widgets` longtext,
`copy_next_step` varchar(300) DEFAULT NULL,
`copy_completed_steps` text,
`create_next_step` text,
`create_completed_steps` text,
`task_stream_next_step` text,
`task_stream_completed_step` text,
`created_at` timestamp NULL DEFAULT NULL,
`workspace_contact_app` int(11) DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `uq` (`src_space_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists