-- phpMyAdmin SQL Dump
-- version 4.3.11
-- http://www.phpmyadmin.net
--
-- Servidor: 127.0.0.1
-- Tiempo de generación: 15-05-2017 a las 12:17:03
-- Versión del servidor: 5.6.24
-- Versión de PHP: 5.6.8
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 */;
--
-- Base de datos: `social`
--
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `jhss_attachment`
--
CREATE TABLE IF NOT EXISTS `jhss_attachment` (
`id` bigint(20) NOT NULL,
`ruta` varchar(250) NOT NULL,
`nombre` varchar(250) NOT NULL,
`usuario` int(11) NOT NULL,
`fecha` datetime NOT NULL,
`ext` varchar(20) NOT NULL,
`peso` varchar(100) NOT NULL,
`permalink` varchar(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `jhss_comments`
--
CREATE TABLE IF NOT EXISTS `jhss_comments` (
`id` bigint(11) NOT NULL,
`comentario` varchar(250) NOT NULL,
`post` int(11) NOT NULL,
`usuario` int(11) NOT NULL,
`fecha` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `jhss_contacts`
--
CREATE TABLE IF NOT EXISTS `jhss_contacts` (
`id` bigint(20) NOT NULL,
`one` int(11) NOT NULL,
`two` int(11) NOT NULL,
`fecha` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `jhss_conversation`
--
CREATE TABLE IF NOT EXISTS `jhss_conversation` (
`id` bigint(11) NOT NULL,
`de` int(11) NOT NULL,
`para` int(11) NOT NULL,
`fecha` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `jhss_conversationreply`
--
CREATE TABLE IF NOT EXISTS `jhss_conversationreply` (
`id` bigint(11) NOT NULL,
`conversation` int(11) NOT NULL,
`mensaje` varchar(250) NOT NULL,
`usuario` int(11) NOT NULL,
`fecha` datetime NOT NULL,
`visto` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `jhss_followers`
--
CREATE TABLE IF NOT EXISTS `jhss_followers` (
`id` bigint(20) NOT NULL,
`follow` int(11) NOT NULL,
`fromthe` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `jhss_imagespost`
--
CREATE TABLE IF NOT EXISTS `jhss_imagespost` (
`id` bigint(11) NOT NULL,
`ruta` varchar(250) NOT NULL,
`usuario` int(11) NOT NULL,
`fecha` datetime NOT NULL,
`album` int(11) NOT NULL,
`type` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `jhss_information`
--
CREATE TABLE IF NOT EXISTS `jhss_information` (
`id` bigint(20) NOT NULL,
`usuario` int(11) NOT NULL,
`description` text NOT NULL,
`emailshow` int(11) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
--
-- Volcado de datos para la tabla `jhss_information`
--
INSERT INTO `jhss_information` (`id`, `usuario`, `description`, `emailshow`) VALUES
(1, 3, 'Aqui puedes editar tu información :)', 1);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `jhss_likepost`
--
CREATE TABLE IF NOT EXISTS `jhss_likepost` (
`id` bigint(11) NOT NULL,
`post` int(11) NOT NULL,
`usuario` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `jhss_notifications`
--
CREATE TABLE IF NOT EXISTS `jhss_notifications` (
`id` bigint(20) NOT NULL,
`para` int(11) NOT NULL,
`de` int(11) NOT NULL,
`tipo` int(11) NOT NULL,
`post` int(11) DEFAULT NULL,
`leido` int(11) NOT NULL,
`fecha` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `jhss_posts`
--
CREATE TABLE IF NOT EXISTS `jhss_posts` (
`id` bigint(11) NOT NULL,
`post` text NOT NULL,
`usuario` int(11) NOT NULL,
`permalink` varchar(250) NOT NULL,
`fecha` datetime NOT NULL,
`tipo` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `jhss_socialconfig`
--
CREATE TABLE IF NOT EXISTS `jhss_socialconfig` (
`id` int(11) NOT NULL,
`sitename` varchar(100) NOT NULL,
`login` int(11) DEFAULT NULL,
`register` int(11) DEFAULT NULL,
`forgot` int(11) DEFAULT NULL,
`smtp` varchar(100) DEFAULT NULL,
`port` int(11) DEFAULT NULL,
`fromname` varchar(100) DEFAULT NULL,
`mail` varchar(100) DEFAULT NULL,
`password` varchar(50) DEFAULT NULL,
`url` varchar(150) DEFAULT NULL,
`messagemail` text,
`messagechange` text,
`renewmessage` text,
`archiveextensions` varchar(250) NOT NULL,
`requiredemail` int(11) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
--
-- Volcado de datos para la tabla `jhss_socialconfig`
--
INSERT INTO `jhss_socialconfig` (`id`, `sitename`, `login`, `register`, `forgot`, `smtp`, `port`, `fromname`, `mail`, `password`, `url`, `messagemail`, `messagechange`, `renewmessage`, `archiveextensions`, `requiredemail`) VALUES
(1, 'SmallSocial', 1, 1, 1, 'mail.localhost.com', 587, 'Webmaster', '[email protected]', 'passemail', 'http://wwww.thesiteurl.com/', '1', '2', '3', 'jpg|rar|txt|zip', 2);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `jhss_usuarios`
--
CREATE TABLE IF NOT EXISTS `jhss_usuarios` (
`id` bigint(11) NOT NULL,
`nombre` varchar(150) NOT NULL,
`apellido` varchar(150) NOT NULL,
`email` varchar(100) NOT NULL,
`password` varchar(250) NOT NULL,
`apodo` varchar(100) DEFAULT NULL,
`nacimiento` date NOT NULL,
`registro` date NOT NULL,
`permalink` varchar(100) NOT NULL,
`rango` int(11) NOT NULL,
`activo` int(11) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
--
-- Volcado de datos para la tabla `jhss_usuarios`
--
INSERT INTO `jhss_usuarios` (`id`, `nombre`, `apellido`, `email`, `password`, `apodo`, `nacimiento`, `registro`, `permalink`, `rango`, `activo`) VALUES
(1, 'Administrator', 'Test', '[email protected]', '8fb5df6129546683fddff8746112e97f1c5dedf4', NULL, '1989-06-08', '2016-12-27', 'd5cbbda80241af7', 2, 2);
-- --------------------------------------------------------