Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2288a40

Browse files
Se agrega archivo sql para estructura de la DB
1 parent 7e9e8c8 commit 2288a40

File tree

1 file changed

+96
-0
lines changed

1 file changed

+96
-0
lines changed

‎curso_mvc.sql

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
-- phpMyAdmin SQL Dump
2+
-- version 4.5.1
3+
-- http://www.phpmyadmin.net
4+
--
5+
-- Servidor: 127.0.0.1
6+
-- Tiempo de generación: 17-07-2017 a las 20:29:17
7+
-- Versión del servidor: 10.1.16-MariaDB
8+
-- Versión de PHP: 7.0.9
9+
10+
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
11+
SET time_zone = "+00:00";
12+
13+
14+
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
15+
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
16+
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
17+
/*!40101 SET NAMES utf8mb4 */;
18+
19+
--
20+
-- Base de datos: `curso_mvc`
21+
--
22+
23+
-- --------------------------------------------------------
24+
25+
--
26+
-- Estructura de tabla para la tabla `clients`
27+
--
28+
29+
CREATE TABLE `clients` (
30+
`id` int(11) NOT NULL,
31+
`name` varchar(100) NOT NULL,
32+
`email` varchar(100) NOT NULL,
33+
`address` varchar(150) NOT NULL
34+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
35+
36+
--
37+
-- Volcado de datos para la tabla `clients`
38+
--
39+
40+
INSERT INTO `clients` (`id`, `name`, `email`, `address`) VALUES
41+
(14, 'panchito', 'panchito_tester@mail.com', 'libertad'),
42+
(16, 'ulises', 'ulises@mail.com', 'independencia');
43+
44+
-- --------------------------------------------------------
45+
46+
--
47+
-- Estructura de tabla para la tabla `usuarios`
48+
--
49+
50+
CREATE TABLE `usuarios` (
51+
`id` int(11) NOT NULL,
52+
`email` varchar(60) NOT NULL,
53+
`password` varchar(100) NOT NULL
54+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
55+
56+
--
57+
-- Volcado de datos para la tabla `usuarios`
58+
--
59+
60+
INSERT INTO `usuarios` (`id`, `email`, `password`) VALUES
61+
(1, 'test@dev.com', '2ドルy10ドル$/IKYMpshIx8rPOtDIEnkReKb2x4WIrAUgQxJSxZc6cOd.I5cIHYeS');
62+
63+
--
64+
-- Índices para tablas volcadas
65+
--
66+
67+
--
68+
-- Indices de la tabla `clients`
69+
--
70+
ALTER TABLE `clients`
71+
ADD PRIMARY KEY (`id`),
72+
ADD UNIQUE KEY `email` (`email`);
73+
74+
--
75+
-- Indices de la tabla `usuarios`
76+
--
77+
ALTER TABLE `usuarios`
78+
ADD PRIMARY KEY (`id`);
79+
80+
--
81+
-- AUTO_INCREMENT de las tablas volcadas
82+
--
83+
84+
--
85+
-- AUTO_INCREMENT de la tabla `clients`
86+
--
87+
ALTER TABLE `clients`
88+
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;
89+
--
90+
-- AUTO_INCREMENT de la tabla `usuarios`
91+
--
92+
ALTER TABLE `usuarios`
93+
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
94+
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
95+
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
96+
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /