-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathobssocket.sql
More file actions
70 lines (57 loc) · 2.12 KB
/
obssocket.sql
File metadata and controls
70 lines (57 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
-- phpMyAdmin SQL Dump
-- version 4.9.2
-- https://www.phpmyadmin.net/
--
-- Servidor: 127.0.0.1:3306
-- Tiempo de generación: 27-11-2019 a las 17:40:26
-- Versión del servidor: 5.7.26-log
-- Versión de PHP: 7.2.18
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
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 utf8mb4 */;
--
-- Base de datos: `obssocket`
--
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `imagenes`
--
DROP TABLE IF EXISTS `imagenes`;
CREATE TABLE IF NOT EXISTS `imagenes` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`url` varchar(255) NOT NULL,
`activo` tinyint(1) NOT NULL,
`posicion` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `url` (`url`),
KEY `posicion` (`posicion`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `settings`
--
DROP TABLE IF EXISTS `settings`;
CREATE TABLE IF NOT EXISTS `settings` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`nombre` varchar(255) NOT NULL,
`valor` varchar(255) NOT NULL,
`descripcion` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
--
-- Volcado de datos para la tabla `settings`
--
INSERT INTO `settings` (`id`, `nombre`, `valor`, `descripcion`) VALUES
(1, 'maxFileSize', '5', 'Tamaño maximo del fichero a subir en MB'),
(2, 'slideDuration', '10000', 'Duracion de cada imagen en ms'),
(3, 'fadeDuration', '500', 'Duracion del efecto desaparecer en ms'),
(4, 'mode', '0', '0: Orden por posición (defecto)\r\n1: Orden Alfabetico\r\n2: Orden Alfabetico (Empieza en una imagen aleatoria)\r\n3: Aleatorio. Una imagen por vuelta.');
COMMIT;
/*!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 */;