-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvehiculo.sql
70 lines (56 loc) · 1.76 KB
/
vehiculo.sql
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.7.4
-- https://www.phpmyadmin.net/
--
-- Servidor: 127.0.0.1
-- Tiempo de generación: 11-04-2018 a las 16:28:45
-- Versión del servidor: 10.1.28-MariaDB
-- Versión de PHP: 7.1.11
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: `parquimetro`
--
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `vehiculo`
--
CREATE TABLE `vehiculo` (
`id` int(10) NOT NULL,
`nombre` varchar(50) COLLATE utf8_spanish_ci NOT NULL,
`patente` varchar(9) COLLATE utf8_spanish_ci NOT NULL,
`email` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`estacionado` tinyint(1) NOT NULL,
`tiempo` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `vehiculo`
--
INSERT INTO `vehiculo` (`id`, `nombre`, `patente`, `email`, `estacionado`, `tiempo`) VALUES
(1, 'User 1', 'aa-123-bc', '[email protected]', 1, '2018-04-11 11:08:11');
--
-- Índices para tablas volcadas
--
--
-- Indices de la tabla `vehiculo`
--
ALTER TABLE `vehiculo`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT de las tablas volcadas
--
--
-- AUTO_INCREMENT de la tabla `vehiculo`
--
ALTER TABLE `vehiculo`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
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 */;