· 9 years ago · Jun 21, 2017, 08:42 PM
1-- phpMyAdmin SQL Dump
2-- version 4.6.5.2
3-- https://www.phpmyadmin.net/
4--
5-- Servidor: 127.0.0.1
6-- Tiempo de generación: 21-06-2017 a las 22:39:27
7-- Versión del servidor: 10.1.21-MariaDB
8-- Versión de PHP: 5.6.30
9
10SET FOREIGN_KEY_CHECKS=0;
11SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
12SET time_zone = "+00:00";
13
14
15/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
16/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
17/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
18/*!40101 SET NAMES utf8mb4 */;
19
20--
21-- Base de datos: `intl_trading`
22--
23CREATE DATABASE IF NOT EXISTS `intl_trading` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
24USE `intl_trading`;
25
26-- --------------------------------------------------------
27
28--
29-- Estructura de tabla para la tabla `backend_permisos`
30--
31
32CREATE TABLE `backend_permisos` (
33 `id` int(10) UNSIGNED NOT NULL,
34 `backend_permisos_nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
35 `created_at` timestamp NULL DEFAULT NULL,
36 `updated_at` timestamp NULL DEFAULT NULL,
37 `deleted_at` timestamp NULL DEFAULT NULL
38) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
39
40--
41-- Volcado de datos para la tabla `backend_permisos`
42--
43
44INSERT INTO `backend_permisos` (`id`, `backend_permisos_nombre`, `created_at`, `updated_at`, `deleted_at`) VALUES
45(1, 'Gerencia', NULL, NULL, NULL),
46(2, 'TesorerÃa', NULL, NULL, NULL),
47(3, 'Cuentas Bancarias', NULL, NULL, NULL),
48(4, 'Gestión Fondos', NULL, NULL, NULL),
49(5, 'Gestión de Internos', NULL, NULL, NULL);
50
51-- --------------------------------------------------------
52
53--
54-- Estructura de tabla para la tabla `backend_permiso_usuario`
55--
56
57CREATE TABLE `backend_permiso_usuario` (
58 `id` int(10) UNSIGNED NOT NULL,
59 `permiso_id` int(10) UNSIGNED NOT NULL,
60 `usuario_id` int(10) UNSIGNED NOT NULL,
61 `created_at` timestamp NULL DEFAULT NULL,
62 `updated_at` timestamp NULL DEFAULT NULL
63) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
64
65--
66-- Volcado de datos para la tabla `backend_permiso_usuario`
67--
68
69INSERT INTO `backend_permiso_usuario` (`id`, `permiso_id`, `usuario_id`, `created_at`, `updated_at`) VALUES
70(1, 1, 1, NULL, NULL),
71(3, 2, 1, NULL, NULL),
72(4, 2, 2, NULL, NULL),
73(5, 3, 2, NULL, NULL),
74(6, 1, 3, NULL, NULL),
75(7, 3, 3, NULL, NULL),
76(15, 4, 6, NULL, NULL),
77(16, 2, 7, NULL, NULL),
78(17, 3, 1, NULL, NULL),
79(18, 2, 3, NULL, NULL),
80(19, 2, 8, NULL, NULL),
81(20, 3, 8, NULL, NULL),
82(21, 2, 9, NULL, NULL),
83(22, 2, 6, NULL, NULL);
84
85-- --------------------------------------------------------
86
87--
88-- Estructura de tabla para la tabla `backend_users`
89--
90
91CREATE TABLE `backend_users` (
92 `id` int(10) UNSIGNED NOT NULL,
93 `backend_users_nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
94 `backend_users_email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
95 `backend_users_username` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
96 `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
97 `backend_users_bloqueado` tinyint(1) NOT NULL DEFAULT '0',
98 `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
99 `last_login` datetime DEFAULT NULL,
100 `created_at` timestamp NULL DEFAULT NULL,
101 `updated_at` timestamp NULL DEFAULT NULL,
102 `deleted_at` timestamp NULL DEFAULT NULL,
103 `backend_users_apellido` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL
104) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
105
106--
107-- Volcado de datos para la tabla `backend_users`
108--
109
110INSERT INTO `backend_users` (`id`, `backend_users_nombre`, `backend_users_email`, `backend_users_username`, `password`, `backend_users_bloqueado`, `remember_token`, `last_login`, `created_at`, `updated_at`, `deleted_at`, `backend_users_apellido`) VALUES
111(1, 'Super', 'super@intl.com', 'superadmin', '$2y$10$b/vBuVxA.vrRdX6PKEZZ1uiAZTkbzk6UYDAANU/hCm.znT7TE5o0.', 0, 'XeJeDSeOrU9ZoivmDiQoNZAULUm9FmIPrK37o2xa9iupub7UvTuAwObDzbGT', '2017-06-21 17:05:45', '2017-05-10 18:47:16', '2017-06-21 20:05:45', NULL, 'Admin'),
112(2, 'Alejandro', 'aleponzo1@gmail.com', 'alelnro1', '$2y$10$R7oQnhaSoSdZR1BMOMJ8kukAglS1kDB3my.r9WQm11W/Lgv/.bJqm', 0, NULL, NULL, '2017-05-12 13:03:35', '2017-05-16 12:27:31', NULL, 'Ponzo'),
113(3, 'Leonel', '@\'leonelavila@doublepoint.com.ar', '@\'leoavila', '$2y$10$s7yVAy4KaxqDbOnyRIXclev7pYABh/g2o.8PfkbF4Top0n66v22Nu', 0, NULL, NULL, '2017-05-12 13:46:20', '2017-05-16 17:46:34', '2017-05-16 17:46:34', 'Avilaa'),
114(6, 'Nicolas', 'nicolasboido@intl.com', 'nicoboidi', '$2y$10$W0KLiPHZLuYy4HpjkykVBOurqGIUkv1nKiz4QLuEDF5Aon6V646Nq', 0, NULL, NULL, '2017-05-12 15:21:25', '2017-06-01 15:28:08', NULL, 'Boidi'),
115(7, 'asd', '@\'asd@asd.com', '@\'asd', '$2y$10$yhG0Z2HiXPosM.WdtlFP2ew1YhjPDHrL0M7gHB4B7qlYOCuVhuls.', 0, NULL, NULL, '2017-05-12 15:23:37', '2017-05-12 15:23:43', '2017-05-12 15:23:43', 'asd'),
116(8, 'asdd', '@\'1495458885_aleponzo1@gmail.com', '@\'1495458885_asd', '$2y$10$Ygk7xAFFTGjLwNf5m.RLSe1akbQZA5oLM/70/SWp2Hf8.FeJZ6R0y', 0, NULL, NULL, '2017-05-22 13:13:10', '2017-05-22 13:14:45', '2017-05-22 13:14:45', 'asd'),
117(9, 'mauro', '@\'1495458911_mauro@gmail.com', '@\'1495458911_asd', '$2y$10$2FL7OFZpmkFpb5EZ9mKb7um24HAIXJzVVD/IrrsjAbiaNfdP4ZFYG', 0, NULL, NULL, '2017-05-22 13:15:07', '2017-05-22 13:15:11', '2017-05-22 13:15:11', 'Mazzara');
118
119-- --------------------------------------------------------
120
121--
122-- Estructura de tabla para la tabla `bancos`
123--
124
125CREATE TABLE `bancos` (
126 `id` int(10) UNSIGNED NOT NULL,
127 `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
128 `habilitado` tinyint(1) NOT NULL,
129 `created_at` timestamp NULL DEFAULT NULL,
130 `updated_at` timestamp NULL DEFAULT NULL,
131 `deleted_at` timestamp NULL DEFAULT NULL
132) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
133
134--
135-- Volcado de datos para la tabla `bancos`
136--
137
138INSERT INTO `bancos` (`id`, `nombre`, `habilitado`, `created_at`, `updated_at`, `deleted_at`) VALUES
139(1, 'Santander Rio', 1, NULL, NULL, NULL),
140(2, 'Macro', 1, NULL, NULL, NULL);
141
142-- --------------------------------------------------------
143
144--
145-- Estructura de tabla para la tabla `banco_moneda`
146--
147
148CREATE TABLE `banco_moneda` (
149 `id` int(10) UNSIGNED NOT NULL,
150 `banco_id` int(10) UNSIGNED NOT NULL,
151 `moneda_id` int(10) UNSIGNED NOT NULL
152) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
153
154--
155-- Volcado de datos para la tabla `banco_moneda`
156--
157
158INSERT INTO `banco_moneda` (`id`, `banco_id`, `moneda_id`) VALUES
159(1, 1, 1),
160(2, 2, 2);
161
162-- --------------------------------------------------------
163
164--
165-- Estructura de tabla para la tabla `comitente_usuario`
166--
167
168CREATE TABLE `comitente_usuario` (
169 `id` int(10) UNSIGNED NOT NULL,
170 `nro_comitente` int(11) NOT NULL,
171 `usuario_id` int(10) UNSIGNED NOT NULL,
172 `tipo_usuario_id` int(10) UNSIGNED NOT NULL
173) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
174
175--
176-- Volcado de datos para la tabla `comitente_usuario`
177--
178
179INSERT INTO `comitente_usuario` (`id`, `nro_comitente`, `usuario_id`, `tipo_usuario_id`) VALUES
180(27, 10014, 15, 2),
181(31, 10016, 15, 2),
182(32, 10016, 16, 2),
183(33, 10016, 16, 1),
184(34, 10014, 16, 1),
185(38, 10014, 17, 2),
186(39, 10016, 17, 2),
187(40, 10016, 17, 1),
188(41, 61035, 17, 1),
189(47, 100057, 18, 1),
190(53, 100484, 19, 1),
191(54, 10014, 13, 2),
192(55, 31, 20, 2),
193(56, 31, 20, 1),
194(58, 111471, 1, 1),
195(61, 100484, 1, 1),
196(62, 1, 13, 2),
197(63, 1103063, 21, 2),
198(64, 1103063, 21, 1),
199(65, 48, 22, 2),
200(66, 48, 22, 1);
201
202-- --------------------------------------------------------
203
204--
205-- Estructura de tabla para la tabla `cuentas_bancarias`
206--
207
208CREATE TABLE `cuentas_bancarias` (
209 `id` int(10) UNSIGNED NOT NULL,
210 `tipo_cuenta_bancaria_id` int(10) UNSIGNED NOT NULL,
211 `moneda_id` int(10) UNSIGNED NOT NULL,
212 `banco_id` int(10) UNSIGNED NOT NULL,
213 `numero` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
214 `cuit` int(11) NOT NULL,
215 `extracto` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
216 `cbu` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
217 `created_at` timestamp NULL DEFAULT NULL,
218 `updated_at` timestamp NULL DEFAULT NULL,
219 `deleted_at` timestamp NULL DEFAULT NULL,
220 `estado_id` int(10) UNSIGNED NOT NULL,
221 `usuario_id` int(10) UNSIGNED NOT NULL,
222 `nro_comitente` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
223 `nombre_comitente` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL
224) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
225
226--
227-- Volcado de datos para la tabla `cuentas_bancarias`
228--
229
230INSERT INTO `cuentas_bancarias` (`id`, `tipo_cuenta_bancaria_id`, `moneda_id`, `banco_id`, `numero`, `cuit`, `extracto`, `cbu`, `created_at`, `updated_at`, `deleted_at`, `estado_id`, `usuario_id`, `nro_comitente`, `nombre_comitente`) VALUES
231(1, 1, 1, 1, '11111', 23622, 'C:\\xampp\\tmp\\phpDDBB.tmp', '123123', '2017-05-19 18:13:57', '2017-05-22 14:20:53', NULL, 3, 1, '', ''),
232(3, 1, 1, 1, '123123', 23622, 'ucxt4Jss0JjlSz5qJcd6lggg9poHXYyVPKmSKfeF.pdf', '123123', '2017-05-22 14:44:25', '2017-05-22 14:55:54', NULL, 2, 1, '', ''),
233(4, 1, 1, 1, '111222333', 23622, 'TXIqxHCDri1UamhMQSomvlpMErNLym1zQVRccugW.pdf', '11122211', '2017-06-01 12:11:20', '2017-06-01 12:17:21', NULL, 3, 1, '', ''),
234(5, 1, 1, 1, '123465', 23622, '287WdROkur0Y3OSLVsaS9pW0N5aKkV8iS2jCqYwQ.pdf', '11123412', '2017-06-01 12:18:11', '2017-06-01 12:18:39', NULL, 2, 1, '', ''),
235(6, 1, 1, 1, '12341234', 23622, 'DlnrfCBCB7Ld6EF4oS67j1SnTmm5p0o2ZmxyVvV7.pdf', '5551234', '2017-06-01 14:05:43', '2017-06-01 14:05:53', NULL, 3, 1, '', ''),
236(7, 1, 1, 1, '123412', 23622, 'HeKz2Jpbc2APFXj259NSukEsnoeSjpCFYybakDtv.pdf', '12341', '2017-06-01 14:06:13', '2017-06-01 14:06:19', NULL, 2, 1, '', ''),
237(8, 1, 1, 1, '1231731', 23622, 'T3IMMmulE2pDoxUjMqhsJcZc126ZNrvFGTk11BqN.pdf', '111222111', '2017-06-01 18:07:25', '2017-06-07 16:51:41', NULL, 3, 1, '', ''),
238(9, 1, 1, 1, '261821821', 23622, 'kbDu7MIL04KI0YoovxC3lKa1fut9o9ThjbPKqCmo.pdf', '1234562712', '2017-06-01 18:11:19', '2017-06-01 18:11:48', NULL, 2, 1, '', ''),
239(10, 1, 1, 1, '123123222', 23622, 'qH7O5GEkTiGr4i0Mg7NlTVoZFBP0M9LVPq9bMq24.pdf', '123123222', '2017-06-07 16:49:56', '2017-06-07 16:53:30', NULL, 2, 1, '111471', 'BOIDI NICOLAS IGNACIO'),
240(11, 1, 1, 1, '123412345', 23622, 'IdqLvMAFvHDG0EbWlSWXYQewG2OrJyzqfng5Zh24.pdf', '11222333445', '2017-06-08 11:46:51', '2017-06-08 11:46:51', NULL, 1, 1, '111471', 'BOIDI NICOLAS IGNACIO');
241
242-- --------------------------------------------------------
243
244--
245-- Estructura de tabla para la tabla `cuentas_bancarias_dolar_divisa`
246--
247
248CREATE TABLE `cuentas_bancarias_dolar_divisa` (
249 `id` int(10) UNSIGNED NOT NULL,
250 `iban` varchar(191) COLLATE utf8_unicode_ci DEFAULT NULL,
251 `swift` varchar(191) COLLATE utf8_unicode_ci DEFAULT NULL,
252 `aba` varchar(191) COLLATE utf8_unicode_ci DEFAULT NULL,
253 `nro_comitente` varchar(191) COLLATE utf8_unicode_ci NOT NULL,
254 `nombre_comitente` varchar(191) COLLATE utf8_unicode_ci NOT NULL,
255 `pais` varchar(191) COLLATE utf8_unicode_ci DEFAULT NULL,
256 `ciudad` varchar(191) COLLATE utf8_unicode_ci DEFAULT NULL,
257 `codigo_postal` varchar(191) COLLATE utf8_unicode_ci DEFAULT NULL,
258 `moneda_id` int(10) UNSIGNED NOT NULL,
259 `banco_id` int(10) UNSIGNED NOT NULL,
260 `estado_id` int(10) UNSIGNED NOT NULL,
261 `usuario_id` int(10) UNSIGNED NOT NULL,
262 `numero` varchar(191) COLLATE utf8_unicode_ci NOT NULL,
263 `extracto` varchar(191) COLLATE utf8_unicode_ci NOT NULL,
264 `created_at` timestamp NULL DEFAULT NULL,
265 `updated_at` timestamp NULL DEFAULT NULL,
266 `deleted_at` timestamp NULL DEFAULT NULL
267) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
268
269--
270-- Volcado de datos para la tabla `cuentas_bancarias_dolar_divisa`
271--
272
273INSERT INTO `cuentas_bancarias_dolar_divisa` (`id`, `iban`, `swift`, `aba`, `nro_comitente`, `nombre_comitente`, `pais`, `ciudad`, `codigo_postal`, `moneda_id`, `banco_id`, `estado_id`, `usuario_id`, `numero`, `extracto`, `created_at`, `updated_at`, `deleted_at`) VALUES
274(2, NULL, '12312331', '123123123', '111471', 'BOIDI NICOLAS IGNACIO', 'Argentina', 'buenos aires', '1686', 1, 1, 2, 1, '1123123123', 'GPMAgWb6te6kyiekW1A85L9audCSzc0HZGELd6Qt.pdf', '2017-06-19 15:34:43', '2017-06-21 14:48:59', NULL),
275(3, NULL, '11112222', '111222', '111471', 'BOIDI NICOLAS IGNACIO', 'United Kingdom', 'London', 'G11 6PD', 1, 1, 1, 1, '11222', 'HwBP86z8GmrvDgzW8SU1aCcEocindd96HmaCAllF.pdf', '2017-06-21 17:10:30', '2017-06-21 17:10:30', NULL);
276
277-- --------------------------------------------------------
278
279--
280-- Estructura de tabla para la tabla `cuentas_bancarias_intl`
281--
282
283CREATE TABLE `cuentas_bancarias_intl` (
284 `id` int(10) UNSIGNED NOT NULL,
285 `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
286 `cbu` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
287 `nro_cuenta` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
288 `habilitada` tinyint(1) NOT NULL,
289 `moneda_id` int(10) UNSIGNED DEFAULT NULL,
290 `created_at` timestamp NULL DEFAULT NULL,
291 `updated_at` timestamp NULL DEFAULT NULL,
292 `deleted_at` timestamp NULL DEFAULT NULL,
293 `cod_cuenta_bancaria_esco` int(11) NOT NULL,
294 `defecto` tinyint(1) NOT NULL
295) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
296
297--
298-- Volcado de datos para la tabla `cuentas_bancarias_intl`
299--
300
301INSERT INTO `cuentas_bancarias_intl` (`id`, `nombre`, `cbu`, `nro_cuenta`, `habilitada`, `moneda_id`, `created_at`, `updated_at`, `deleted_at`, `cod_cuenta_bancaria_esco`, `defecto`) VALUES
302(15, 'Banco de Valores', '', '240/2', 1, 1, NULL, NULL, NULL, 2, 1),
303(16, 'Banco Galicia', '', '48966/9 999/4', 1, 1, NULL, NULL, NULL, 3, 0),
304(17, 'Banco de la Ciudad de Buenos Aires', '', '999-25226-5', 0, 1, NULL, NULL, NULL, 4, 0),
305(18, 'Santander Rio', '', '000-21665-2', 1, 1, NULL, NULL, NULL, 5, 0),
306(19, 'Banco Frances', '', '099-677166/5', 0, 1, NULL, NULL, NULL, 6, 0),
307(20, 'HSBC Bank', '', '0013214663', 0, 1, NULL, NULL, NULL, 7, 0),
308(21, 'Banco Citibank', '', '0192417112', 0, 1, NULL, NULL, NULL, 8, 0),
309(22, 'Banco de la Nacion Argentina', '', '50205/44', 0, 1, NULL, NULL, NULL, 9, 0),
310(23, 'Banco de la Provincia de Buenos Aires', '', '1000-5052/6', 0, 1, NULL, NULL, NULL, 10, 0),
311(24, 'Banco Macro .', '', '35400-011083356/3', 1, 1, NULL, NULL, NULL, 11, 0),
312(25, 'Banco Patagonia', '', '100011428', 1, 1, NULL, NULL, NULL, 14, 0),
313(26, 'Banco Macro', '', '8-005823-8', 0, 1, NULL, NULL, NULL, 16, 0),
314(27, 'Banco Comafi', '', '0080-18431/5', 0, 1, NULL, NULL, NULL, 17, 0),
315(28, 'STANDARD CHARTERED', '', '3544-053057-070', 0, 2, NULL, NULL, NULL, 20, 0),
316(29, 'Banco Macro (pago a proveedores)', '', '35400-940000304-6', 0, 1, NULL, NULL, NULL, 21, 0),
317(30, 'Banco Macro .', '', '1002', 0, 1, NULL, NULL, NULL, 22, 0),
318(31, 'Banco Macro (cta recaudadora)', '', '454009400410655', 0, 1, NULL, NULL, NULL, 23, 0),
319(32, 'Deutsche Bank', '', '660012910', 0, 1, NULL, NULL, NULL, 24, 0),
320(33, 'Deutsche Bank S.A. (Cta. Cte.)', '', '104023540024', 0, 1, NULL, NULL, NULL, 25, 0),
321(34, 'Transferencias Internas', '', '111111111', 0, 1, NULL, NULL, NULL, 26, 0),
322(35, 'Banco Macro (cta recaudadora)', '', '123456', 0, 2, NULL, NULL, NULL, 27, 0),
323(36, 'BANCO FINANSUR', '', '40190/7', 0, 1, NULL, NULL, NULL, 28, 0),
324(37, 'Banco Macro CV 10000 ME', '', '254009405050582', 1, 2, NULL, NULL, NULL, 29, 0),
325(38, 'Banco Macro.', '', '1004', 0, 2, NULL, NULL, NULL, 30, 0),
326(39, 'HSBC Bank', '', '164208', 0, 2, NULL, NULL, NULL, 31, 0),
327(40, 'HSBC Bank', '', '300346568', 0, 1, NULL, NULL, NULL, 32, 0),
328(41, 'HSBC Bank', '', '3008447969', 0, 2, NULL, NULL, NULL, 33, 0),
329(42, 'Bank Of América', '', '446015624527', 0, 2, NULL, NULL, NULL, 36, 0),
330(43, 'BANCO COLUMBIA', '', '02-0052057166/6', 0, 1, NULL, NULL, NULL, 37, 0),
331(44, 'Banco emisor licitaciones primarias', '', '0', 0, 1, NULL, NULL, NULL, 38, 0),
332(45, 'BANCO COLUMBIA', '', '04-005205654/2', 0, 2, NULL, NULL, NULL, 39, 0),
333(46, 'Banco de Valores', '', '104269/9', 1, 2, NULL, NULL, NULL, 40, 1),
334(47, 'Banco de Valores', '', '10', 0, 1, NULL, NULL, NULL, 41, 0),
335(48, 'Banco de Valores', '', '104269-9', 0, 2, NULL, NULL, NULL, 42, 0),
336(49, 'Banco Macro CV 10000 ME', '', '254-00940505582', 0, 2, NULL, NULL, NULL, 43, 0),
337(50, 'Banco Emisor de Licitaciones Primarias MAE', '', '0', 0, 1, NULL, NULL, NULL, 45, 0),
338(51, 'Banco emisor licitaciones primarias Dólar Cable', '', '0', 0, 2, NULL, NULL, NULL, 46, 0),
339(52, 'Banco emisor licitaciones primarias Dólar MEP', '', '0', 0, 2, NULL, NULL, NULL, 47, 0),
340(53, 'Banco emisor licitaciones primarias Dólar MEP', '', '00', 0, 2, NULL, NULL, NULL, 48, 0);
341
342-- --------------------------------------------------------
343
344--
345-- Estructura de tabla para la tabla `depositos`
346--
347
348CREATE TABLE `depositos` (
349 `id` int(10) UNSIGNED NOT NULL,
350 `importe` double(10,2) NOT NULL,
351 `fecha` datetime NOT NULL,
352 `comprobante` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
353 `moneda_id` int(10) UNSIGNED NOT NULL,
354 `origen_id` int(10) UNSIGNED NOT NULL,
355 `destino_id` int(10) UNSIGNED NOT NULL,
356 `estado_id` int(10) UNSIGNED NOT NULL,
357 `usuario_id` int(10) UNSIGNED DEFAULT NULL COMMENT 'El usuario que informó el deposito',
358 `fecha_esco` datetime DEFAULT NULL,
359 `created_at` timestamp NULL DEFAULT NULL,
360 `updated_at` timestamp NULL DEFAULT NULL,
361 `deleted_at` timestamp NULL DEFAULT NULL,
362 `backend_user_id` int(10) UNSIGNED DEFAULT NULL COMMENT 'El usuario del backend que aprueba/rechaza el deposito',
363 `nro_comitente` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
364 `nombre_comitente` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL
365) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
366
367--
368-- Volcado de datos para la tabla `depositos`
369--
370
371INSERT INTO `depositos` (`id`, `importe`, `fecha`, `comprobante`, `moneda_id`, `origen_id`, `destino_id`, `estado_id`, `usuario_id`, `fecha_esco`, `created_at`, `updated_at`, `deleted_at`, `backend_user_id`, `nro_comitente`, `nombre_comitente`) VALUES
372(1, 500.00, '2017-06-12 15:01:36', 'YxgcJ8dBZQBlJC1y4C13iCCwLEKkebPHDAfUIKLT.jpeg', 1, 2, 42, 2, 1, '2017-06-11 15:17:42', '2017-06-12 18:01:36', '2017-06-12 18:17:42', NULL, 1, '111471', 'BOIDI NICOLAS IGNACIO'),
373(2, 100.00, '2017-06-15 09:58:38', 'cQFk8bb9wR1QJZQVF2IGrSMO44YblvBPDPpwIVva.pdf', 1, 1, 15, 3, 1, NULL, '2017-06-15 12:58:38', '2017-06-21 20:00:25', NULL, 1, '111471', 'BOIDI NICOLAS IGNACIO'),
374(55, 600.00, '2017-06-15 14:20:32', 'adVH08JlZETIkxd3ZhBMG0ydLZAT6CHuBVfro7eL.pdf', 1, 1, 46, 2, 1, '2017-06-20 17:00:33', '2017-06-15 17:20:32', '2017-06-21 20:00:33', NULL, 1, '111471', 'BOIDI NICOLAS IGNACIO'),
375(56, 111.00, '2017-06-15 15:06:10', 'bHEFYrbyttqOfqhrpCdteoox3kRIHkvszDo5DAaq.pdf', 1, 1, 46, 2, 1, '2017-06-20 17:23:17', '2017-06-15 18:06:10', '2017-06-21 20:23:17', NULL, 1, '111471', 'BOIDI NICOLAS IGNACIO'),
376(57, 100.00, '2017-06-21 17:17:46', 'rGb0o6JsJChZwOFlb6BOEEuEGuSMwfPpfZQNiNZi.pdf', 1, 1, 15, 3, 1, NULL, '2017-06-21 20:17:46', '2017-06-21 20:22:29', NULL, 1, '100484', 'BERNAL MARTIN Y/O CASAL DOLORES');
377
378-- --------------------------------------------------------
379
380--
381-- Estructura de tabla para la tabla `estado_cuenta_bancaria`
382--
383
384CREATE TABLE `estado_cuenta_bancaria` (
385 `id` int(10) UNSIGNED NOT NULL,
386 `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
387 `created_at` timestamp NULL DEFAULT NULL,
388 `updated_at` timestamp NULL DEFAULT NULL,
389 `deleted_at` timestamp NULL DEFAULT NULL
390) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
391
392--
393-- Volcado de datos para la tabla `estado_cuenta_bancaria`
394--
395
396INSERT INTO `estado_cuenta_bancaria` (`id`, `nombre`, `created_at`, `updated_at`, `deleted_at`) VALUES
397(1, 'Pendiente', NULL, NULL, NULL),
398(2, 'Aceptado', NULL, NULL, NULL),
399(3, 'Rechazado', NULL, NULL, NULL);
400
401-- --------------------------------------------------------
402
403--
404-- Estructura de tabla para la tabla `estado_deposito`
405--
406
407CREATE TABLE `estado_deposito` (
408 `id` int(10) UNSIGNED NOT NULL,
409 `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
410 `deleted_at` timestamp NULL DEFAULT NULL
411) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
412
413--
414-- Volcado de datos para la tabla `estado_deposito`
415--
416
417INSERT INTO `estado_deposito` (`id`, `nombre`, `deleted_at`) VALUES
418(1, 'Pendiente', NULL),
419(2, 'Aceptado', NULL),
420(3, 'Rechazado', NULL);
421
422-- --------------------------------------------------------
423
424--
425-- Estructura de tabla para la tabla `estado_transferencia`
426--
427
428CREATE TABLE `estado_transferencia` (
429 `id` int(10) UNSIGNED NOT NULL,
430 `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
431 `created_at` timestamp NULL DEFAULT NULL,
432 `updated_at` timestamp NULL DEFAULT NULL,
433 `deleted_at` timestamp NULL DEFAULT NULL
434) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
435
436--
437-- Volcado de datos para la tabla `estado_transferencia`
438--
439
440INSERT INTO `estado_transferencia` (`id`, `nombre`, `created_at`, `updated_at`, `deleted_at`) VALUES
441(1, 'Pendiente', NULL, NULL, NULL),
442(2, 'Aceptado', NULL, NULL, NULL),
443(3, 'Rechazado', NULL, NULL, NULL);
444
445-- --------------------------------------------------------
446
447--
448-- Estructura de tabla para la tabla `migrations`
449--
450
451CREATE TABLE `migrations` (
452 `id` int(10) UNSIGNED NOT NULL,
453 `migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
454 `batch` int(11) NOT NULL
455) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
456
457--
458-- Volcado de datos para la tabla `migrations`
459--
460
461INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
462(1, '2014_10_12_000000_create_backend_users_table', 1),
463(2, '2014_10_12_100000_create_password_resets_table', 1),
464(3, '2017_05_10_151140_agregar_email_a_backend_users', 1),
465(4, '2017_05_10_154804_cambiar_nombre_id_backend_users', 1),
466(5, '2017_05_10_160436_create_users_table', 1),
467(6, '2017_05_10_162644_agregar_apellido_a_users', 1),
468(7, '2017_05_11_111126_cambiar_nombre_a_password', 1),
469(8, '2017_05_11_122601_create_permisos_table', 1),
470(9, '2017_05_11_123400_create_permiso_usuario_table', 1),
471(10, '2017_05_12_090630_agregar_apellido_a_backend_users', 1),
472(11, '2017_05_12_120622_agregar_last_login_a_backend_users', 1),
473(12, '2017_05_12_133339_create_estado_deposito_table', 1),
474(13, '2017_05_12_133953_create_moneda_table', 1),
475(14, '2017_05_12_142917_create_bancos_table', 1),
476(15, '2017_05_12_143300_create_banco_moneda_table', 1),
477(16, '2017_05_15_104452_create_cuentas_bancarias_intl_table', 1),
478(40, '2017_05_15_172052_create_depositos_table', 2),
479(41, '2017_05_16_112900_cambiar_campo_password_users_table', 2),
480(42, '2017_05_16_113120_agregar_last_login_users', 2),
481(43, '2017_05_16_124647_agregar_comprobante_a_depositos_table', 2),
482(44, '2017_05_16_132818_agregar_tiempos_a_depositos_table', 2),
483(45, '2017_05_18_100825_agregar_fecha_esco_depositos', 2),
484(65, '2017_05_19_133025_create_tipo_cuenta_bancaria_table', 3),
485(66, '2017_05_19_133202_create_cuentas_bancarias_table', 3),
486(67, '2017_05_19_145202_create_estado_cuenta_bancaria_table', 3),
487(68, '2017_05_19_150105_agregar_estado_id_a_cuentas_bancarias_table', 3),
488(70, '2017_05_19_150818_agregar_usuario_id_a_cuentas_bancarias_table', 4),
489(72, '2017_05_22_114213_quitar_unique_a_cbu_cuentas_bancarias', 5),
490(82, '2017_05_22_132601_create_transferencias_table', 6),
491(83, '2017_05_23_110239_create_estado_transferencia_table', 6),
492(84, '2017_05_23_110335_agregar_estado_id_a_transferencias_table', 6),
493(88, '2017_05_23_141307_agregar_banco_a_transferencias_table', 7),
494(90, '2017_05_24_141343_agregar_num_persona_a_users_table', 8),
495(92, '2017_05_24_144918_eliminar_comitente_de_users', 9),
496(94, '2017_05_24_145135_create_comitente_usuario_table', 10),
497(97, '2017_05_30_094919_cambiar_nombre_a_comitente_id_comitente_usuario_table', 11),
498(100, '2017_05_30_104043_agregar_nulls_a_users', 12),
499(105, '2017_05_30_135323_crear_tipo_comitente_usuario_table', 13),
500(106, '2017_05_30_135625_agregar_tipo_comitente_usuario_id', 13),
501(108, '2017_06_05_143449_agregar_aprobador_id_depositos_table', 14),
502(112, '2017_06_07_102559_cambiar_nombre_origen_transferencias_table', 15),
503(113, '2017_06_07_133531_agregar_datos_comitente_deposito', 16),
504(115, '2017_06_07_134503_agregar_datos_comitente_cuentas_bancarias_table', 17),
505(121, '2017_06_08_153116_agregar_fecha_transaccion_transferencias_table', 18),
506(123, '2017_06_09_113003_agregar_cbu_nro_cuenta_bancos_intl', 19),
507(126, '2017_06_09_120209_agregar_banco_origen_intl_transferencias_table', 20),
508(129, '2017_06_09_134546_agregar_moneda_id_cuenta_intl', 21),
509(131, '2017_06_12_122136_agregar_defecto_cuentas_bancarias_intl', 22),
510(137, '2017_06_19_084512_create_cuentas_bancarias_dolar_divisa_table', 23);
511
512-- --------------------------------------------------------
513
514--
515-- Estructura de tabla para la tabla `monedas`
516--
517
518CREATE TABLE `monedas` (
519 `id` int(10) UNSIGNED NOT NULL,
520 `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
521 `created_at` timestamp NULL DEFAULT NULL,
522 `updated_at` timestamp NULL DEFAULT NULL,
523 `deleted_at` timestamp NULL DEFAULT NULL
524) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
525
526--
527-- Volcado de datos para la tabla `monedas`
528--
529
530INSERT INTO `monedas` (`id`, `nombre`, `created_at`, `updated_at`, `deleted_at`) VALUES
531(1, 'Pesos', NULL, NULL, NULL),
532(2, 'Dolares', NULL, NULL, NULL);
533
534-- --------------------------------------------------------
535
536--
537-- Estructura de tabla para la tabla `password_resets`
538--
539
540CREATE TABLE `password_resets` (
541 `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
542 `token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
543 `created_at` timestamp NULL DEFAULT NULL
544) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
545
546-- --------------------------------------------------------
547
548--
549-- Estructura de tabla para la tabla `tipo_comitente_usuario`
550--
551
552CREATE TABLE `tipo_comitente_usuario` (
553 `id` int(10) UNSIGNED NOT NULL,
554 `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL
555) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
556
557--
558-- Volcado de datos para la tabla `tipo_comitente_usuario`
559--
560
561INSERT INTO `tipo_comitente_usuario` (`id`, `nombre`) VALUES
562(1, 'Operador'),
563(2, 'Vista');
564
565-- --------------------------------------------------------
566
567--
568-- Estructura de tabla para la tabla `tipo_cuenta_bancaria`
569--
570
571CREATE TABLE `tipo_cuenta_bancaria` (
572 `id` int(10) UNSIGNED NOT NULL,
573 `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
574 `created_at` timestamp NULL DEFAULT NULL,
575 `updated_at` timestamp NULL DEFAULT NULL,
576 `deleted_at` timestamp NULL DEFAULT NULL
577) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
578
579--
580-- Volcado de datos para la tabla `tipo_cuenta_bancaria`
581--
582
583INSERT INTO `tipo_cuenta_bancaria` (`id`, `nombre`, `created_at`, `updated_at`, `deleted_at`) VALUES
584(1, 'Caja de Ahorro', NULL, NULL, NULL),
585(2, 'Cuenta Corriente', NULL, NULL, NULL);
586
587-- --------------------------------------------------------
588
589--
590-- Estructura de tabla para la tabla `transferencias`
591--
592
593CREATE TABLE `transferencias` (
594 `id` int(10) UNSIGNED NOT NULL,
595 `nro_comitente` int(11) NOT NULL,
596 `nro_cuenta` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
597 `tipo_cuenta` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
598 `banco` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
599 `banco_origen_id` int(10) UNSIGNED NOT NULL COMMENT 'El banco de INTL',
600 `moneda_id` int(10) UNSIGNED NOT NULL,
601 `usuario_id` int(10) UNSIGNED NOT NULL,
602 `estado_id` int(10) UNSIGNED NOT NULL,
603 `cbu` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
604 `cuit` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
605 `importe` double(10,2) NOT NULL,
606 `fecha_transaccion` datetime DEFAULT NULL,
607 `created_at` timestamp NULL DEFAULT NULL,
608 `updated_at` timestamp NULL DEFAULT NULL,
609 `deleted_at` timestamp NULL DEFAULT NULL,
610 `nombre_comitente` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
611 `backend_user_id` int(10) UNSIGNED DEFAULT NULL
612) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
613
614--
615-- Volcado de datos para la tabla `transferencias`
616--
617
618INSERT INTO `transferencias` (`id`, `nro_comitente`, `nro_cuenta`, `tipo_cuenta`, `banco`, `banco_origen_id`, `moneda_id`, `usuario_id`, `estado_id`, `cbu`, `cuit`, `importe`, `fecha_transaccion`, `created_at`, `updated_at`, `deleted_at`, `nombre_comitente`, `backend_user_id`) VALUES
619(4, 111471, '000-371749/7', 'Caja de Ahorro', 'Santander Rio', 19, 1, 1, 2, '0720000788000037174972', '20225920215', 5000.00, '2017-06-12 14:17:16', '2017-06-12 15:31:12', '2017-06-12 17:17:16', NULL, 'BOIDI NICOLAS IGNACIO', NULL),
620(5, 111471, '000-371749/7', 'Caja de Ahorro', 'Santander Rio', 46, 2, 1, 2, '0720000788000037174972', '20225920215', 600.00, '2017-06-12 14:01:00', '2017-06-12 15:31:19', '2017-06-12 17:01:00', NULL, 'BOIDI NICOLAS IGNACIO', NULL),
621(6, 111471, '000-371749/7', 'Caja de Ahorro', 'Santander Rio', 15, 1, 1, 2, '0720000788000037174972', '20225920215', 500.00, '2017-06-15 09:53:28', '2017-06-15 12:02:17', '2017-06-15 12:53:28', NULL, 'BOIDI NICOLAS IGNACIO', 1),
622(7, 111471, '000-371749/7', 'Caja de Ahorro', 'Santander Rio', 15, 1, 1, 3, '0720000788000037174972', '20225920215', 50.00, NULL, '2017-06-15 17:56:59', '2017-06-21 19:47:58', NULL, 'BOIDI NICOLAS IGNACIO', NULL),
623(8, 111471, '000-371749/7', 'Caja de Ahorro', 'Santander Rio', 15, 1, 1, 3, '0720000788000037174972', '20225920215', 500.00, NULL, '2017-06-15 18:04:31', '2017-06-21 19:49:31', NULL, 'BOIDI NICOLAS IGNACIO', NULL),
624(9, 111471, '000-371749/7', 'Caja de Ahorro', 'Santander Rio', 15, 1, 1, 3, '0720000788000037174972', '20225920215', 560.00, NULL, '2017-06-15 18:04:55', '2017-06-21 20:15:42', NULL, 'BOIDI NICOLAS IGNACIO', NULL),
625(10, 111471, '000-371749/7', 'Caja de Ahorro', 'Santander Rio', 15, 1, 1, 3, '0720000788000037174972', '20225920215', 112.00, NULL, '2017-06-15 18:07:01', '2017-06-21 20:17:14', NULL, 'BOIDI NICOLAS IGNACIO', NULL),
626(11, 111471, '000-371749/7', 'Caja de Ahorro', 'Santander Rio', 15, 1, 1, 3, '0720000788000037174972', '20225920215', 1200.00, NULL, '2017-06-15 18:13:37', '2017-06-21 20:32:46', NULL, 'BOIDI NICOLAS IGNACIO', NULL),
627(14, 100484, '366714/3', 'Caja de Ahorro', 'Santander Rio', 15, 1, 1, 1, '0720201088000036771436', '20254009475', 500.00, NULL, '2017-06-16 14:41:03', '2017-06-16 14:41:03', NULL, 'BERNAL MARTIN Y/O CASAL DOLORES', NULL),
628(15, 100484, '366714/3', 'Caja de Ahorro', 'Santander Rio', 15, 1, 1, 3, '0720201088000036771436', '20254009475', 100.00, NULL, '2017-06-16 14:44:45', '2017-06-21 20:33:13', NULL, 'BERNAL MARTIN Y/O CASAL DOLORES', NULL),
629(16, 100484, '366714/3', 'Caja de Ahorro', 'Santander Rio', 15, 1, 1, 3, '0720201088000036771436', '20254009475', 100.00, NULL, '2017-06-16 17:40:18', '2017-06-16 17:45:20', NULL, 'BERNAL MARTIN Y/O CASAL DOLORES', NULL);
630
631-- --------------------------------------------------------
632
633--
634-- Estructura de tabla para la tabla `users`
635--
636
637CREATE TABLE `users` (
638 `id` int(10) UNSIGNED NOT NULL,
639 `us_nombre` varchar(191) CHARACTER SET utf8 NOT NULL,
640 `us_email` varchar(191) CHARACTER SET utf8 DEFAULT NULL,
641 `us_username` varchar(191) CHARACTER SET utf8 NOT NULL,
642 `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
643 `num_persona` int(11) NOT NULL,
644 `last_login` datetime DEFAULT NULL,
645 `created_at` timestamp NULL DEFAULT NULL,
646 `updated_at` timestamp NULL DEFAULT NULL,
647 `deleted_at` timestamp NULL DEFAULT NULL,
648 `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
649 `us_apellido` varchar(191) CHARACTER SET utf8 DEFAULT NULL
650) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
651
652--
653-- Volcado de datos para la tabla `users`
654--
655
656INSERT INTO `users` (`id`, `us_nombre`, `us_email`, `us_username`, `password`, `num_persona`, `last_login`, `created_at`, `updated_at`, `deleted_at`, `remember_token`, `us_apellido`) VALUES
657(1, 'Alejandro', 'aleponzo1@gmail.com', 'ale', '$2y$10$b/vBuVxA.vrRdX6PKEZZ1uiAZTkbzk6UYDAANU/hCm.znT7TE5o0.', 0, '2017-06-21 17:05:02', NULL, '2017-06-21 20:05:02', NULL, '7zdwOtODEid5Iq2V5FhtbqQhI4IWSXR8CEI5CdsBCxAla33eNnrTSThKAg1L', 'Ponzo'),
658(13, 'Parisi Orlando Francisco', NULL, 'parisi', '$2y$10$MjQGNpoMbU5uWddnRm4WbecDhoLPSm5eStF8QFZIhic.4qhvMM2ae', 1, NULL, '2017-05-30 17:28:25', '2017-05-30 17:28:25', NULL, NULL, NULL),
659(15, 'Lopez Leon Hernan', 'HERNANLOPEZLEON@HOTMAIL.COM', 'lopez', '$2y$10$INKhUqHChmBwQB56vR60.uPF7P5KOoS8aIuvhNXFJOLqoQ/fLm88S', 2, NULL, '2017-05-31 15:15:27', '2017-05-31 15:15:27', NULL, NULL, NULL),
660(16, 'Marasca Diego', NULL, 'diego_marasca', '$2y$10$w/6LPgVnVvOHRYF3.rbgzOVJ6MnDqdKjLkMCpyqdAYt.R2FLUi0r6', 7, NULL, '2017-05-31 15:27:57', '2017-05-31 15:27:57', NULL, NULL, NULL),
661(17, 'Loredo Roberto', 'roberto@laderasur.com.ar', 'loredo_roberto', '$2y$10$efUIlVvW.w.rOziYNviYEuCKdTPtIEuiV8grHMXdZBbA.FS6ZInRW', 5, NULL, '2017-05-31 15:29:26', '2017-05-31 15:29:26', NULL, NULL, NULL),
662(18, 'Chimeno Bibiana', NULL, 'chimeno', '$2y$10$ycjlNjDwzlTxiSCtCGhioOa40kv3iFUeD6bw7DSDtTQfYH7zr0.yW', 81, NULL, '2017-06-01 14:08:00', '2017-06-01 14:08:00', NULL, NULL, NULL),
663(19, 'Bernal Martin', 'MARTIN_BERNAL@YAHOO.COM', 'mbernal', '$2y$10$HhZXtIALJl5hmAFGivZEL.eE.orgvz/yY7AFyT5L8LqJfZInq.Sr2', 5634, NULL, '2017-06-01 15:29:37', '2017-06-01 15:29:37', NULL, NULL, NULL),
664(20, 'Acuña Marcelo', NULL, 'macuna', '$2y$10$BrGCD8iSPeg3VPBEsDffCuyCnPX86UP.Jh25wyg8mLULXA/tv8jGS', 573, NULL, '2017-06-06 17:11:06', '2017-06-06 17:11:06', NULL, NULL, NULL),
665(21, 'Sanchez Juan Carlos Gaston', 'gsanchez2004@gmail.com', 'juanca', '$2y$10$ZihzKH/vfg8JO4ntDl2xsOMdnfwSz0/peilpfUfLo9UGzZnpsokQ2', 10713, NULL, '2017-06-21 14:36:06', '2017-06-21 14:36:06', NULL, NULL, NULL),
666(22, 'Anchorena Santiago', NULL, 'achorena_santiago', '$2y$10$q7jYFf0Dn4oflIyKK5xVxesX7SmivUtmauoUjarJ5o6Z8ads75U/.', 202, NULL, '2017-06-21 18:20:44', '2017-06-21 18:20:44', NULL, NULL, NULL);
667
668--
669-- Ãndices para tablas volcadas
670--
671
672--
673-- Indices de la tabla `backend_permisos`
674--
675ALTER TABLE `backend_permisos`
676 ADD PRIMARY KEY (`id`);
677
678--
679-- Indices de la tabla `backend_permiso_usuario`
680--
681ALTER TABLE `backend_permiso_usuario`
682 ADD PRIMARY KEY (`id`),
683 ADD KEY `backend_permiso_usuario_permiso_id_foreign` (`permiso_id`),
684 ADD KEY `backend_permiso_usuario_usuario_id_foreign` (`usuario_id`);
685
686--
687-- Indices de la tabla `backend_users`
688--
689ALTER TABLE `backend_users`
690 ADD PRIMARY KEY (`id`),
691 ADD UNIQUE KEY `backend_users_backend_users_username_unique` (`backend_users_username`);
692
693--
694-- Indices de la tabla `bancos`
695--
696ALTER TABLE `bancos`
697 ADD PRIMARY KEY (`id`);
698
699--
700-- Indices de la tabla `banco_moneda`
701--
702ALTER TABLE `banco_moneda`
703 ADD PRIMARY KEY (`id`),
704 ADD KEY `banco_moneda_banco_id_foreign` (`banco_id`),
705 ADD KEY `banco_moneda_moneda_id_foreign` (`moneda_id`);
706
707--
708-- Indices de la tabla `comitente_usuario`
709--
710ALTER TABLE `comitente_usuario`
711 ADD PRIMARY KEY (`id`),
712 ADD KEY `comitente_usuario_usuario_id_foreign` (`usuario_id`),
713 ADD KEY `comitente_usuario_tipo_usuario_id_foreign` (`tipo_usuario_id`);
714
715--
716-- Indices de la tabla `cuentas_bancarias`
717--
718ALTER TABLE `cuentas_bancarias`
719 ADD PRIMARY KEY (`id`),
720 ADD KEY `cuentas_bancarias_tipo_cuenta_bancaria_id_foreign` (`tipo_cuenta_bancaria_id`),
721 ADD KEY `cuentas_bancarias_moneda_id_foreign` (`moneda_id`),
722 ADD KEY `cuentas_bancarias_banco_id_foreign` (`banco_id`),
723 ADD KEY `cuentas_bancarias_estado_id_foreign` (`estado_id`),
724 ADD KEY `cuentas_bancarias_usuario_id_foreign` (`usuario_id`);
725
726--
727-- Indices de la tabla `cuentas_bancarias_dolar_divisa`
728--
729ALTER TABLE `cuentas_bancarias_dolar_divisa`
730 ADD PRIMARY KEY (`id`),
731 ADD KEY `cuentas_bancarias_dolar_divisa_estado_id_foreign` (`estado_id`),
732 ADD KEY `cuentas_bancarias_dolar_divisa_moneda_id_foreign` (`moneda_id`),
733 ADD KEY `cuentas_bancarias_dolar_divisa_banco_id_foreign` (`banco_id`),
734 ADD KEY `cuentas_bancarias_dolar_divisa_usuario_id_foreign` (`usuario_id`);
735
736--
737-- Indices de la tabla `cuentas_bancarias_intl`
738--
739ALTER TABLE `cuentas_bancarias_intl`
740 ADD PRIMARY KEY (`id`),
741 ADD KEY `cuentas_bancarias_intl_moneda_id_foreign` (`moneda_id`);
742
743--
744-- Indices de la tabla `depositos`
745--
746ALTER TABLE `depositos`
747 ADD PRIMARY KEY (`id`),
748 ADD KEY `depositos_moneda_id_foreign` (`moneda_id`),
749 ADD KEY `depositos_origen_id_foreign` (`origen_id`),
750 ADD KEY `depositos_destino_id_foreign` (`destino_id`),
751 ADD KEY `depositos_estado_id_foreign` (`estado_id`),
752 ADD KEY `depositos_usuario_id_foreign` (`usuario_id`),
753 ADD KEY `depositos_backend_user_id_foreign` (`backend_user_id`);
754
755--
756-- Indices de la tabla `estado_cuenta_bancaria`
757--
758ALTER TABLE `estado_cuenta_bancaria`
759 ADD PRIMARY KEY (`id`);
760
761--
762-- Indices de la tabla `estado_deposito`
763--
764ALTER TABLE `estado_deposito`
765 ADD PRIMARY KEY (`id`);
766
767--
768-- Indices de la tabla `estado_transferencia`
769--
770ALTER TABLE `estado_transferencia`
771 ADD PRIMARY KEY (`id`);
772
773--
774-- Indices de la tabla `migrations`
775--
776ALTER TABLE `migrations`
777 ADD PRIMARY KEY (`id`);
778
779--
780-- Indices de la tabla `monedas`
781--
782ALTER TABLE `monedas`
783 ADD PRIMARY KEY (`id`);
784
785--
786-- Indices de la tabla `password_resets`
787--
788ALTER TABLE `password_resets`
789 ADD KEY `password_resets_email_index` (`email`);
790
791--
792-- Indices de la tabla `tipo_comitente_usuario`
793--
794ALTER TABLE `tipo_comitente_usuario`
795 ADD PRIMARY KEY (`id`);
796
797--
798-- Indices de la tabla `tipo_cuenta_bancaria`
799--
800ALTER TABLE `tipo_cuenta_bancaria`
801 ADD PRIMARY KEY (`id`);
802
803--
804-- Indices de la tabla `transferencias`
805--
806ALTER TABLE `transferencias`
807 ADD PRIMARY KEY (`id`),
808 ADD KEY `transferencias_moneda_id_foreign` (`moneda_id`),
809 ADD KEY `transferencias_usuario_id_foreign` (`usuario_id`),
810 ADD KEY `transferencias_estado_id_foreign` (`estado_id`),
811 ADD KEY `transferencias_backend_user_id_foreign` (`backend_user_id`),
812 ADD KEY `transferencias_banco_origen_id_foreign` (`banco_origen_id`);
813
814--
815-- Indices de la tabla `users`
816--
817ALTER TABLE `users`
818 ADD PRIMARY KEY (`id`),
819 ADD UNIQUE KEY `users_us_username_unique` (`us_username`);
820
821--
822-- AUTO_INCREMENT de las tablas volcadas
823--
824
825--
826-- AUTO_INCREMENT de la tabla `backend_permisos`
827--
828ALTER TABLE `backend_permisos`
829 MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
830--
831-- AUTO_INCREMENT de la tabla `backend_permiso_usuario`
832--
833ALTER TABLE `backend_permiso_usuario`
834 MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;
835--
836-- AUTO_INCREMENT de la tabla `backend_users`
837--
838ALTER TABLE `backend_users`
839 MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
840--
841-- AUTO_INCREMENT de la tabla `bancos`
842--
843ALTER TABLE `bancos`
844 MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
845--
846-- AUTO_INCREMENT de la tabla `banco_moneda`
847--
848ALTER TABLE `banco_moneda`
849 MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
850--
851-- AUTO_INCREMENT de la tabla `comitente_usuario`
852--
853ALTER TABLE `comitente_usuario`
854 MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=67;
855--
856-- AUTO_INCREMENT de la tabla `cuentas_bancarias`
857--
858ALTER TABLE `cuentas_bancarias`
859 MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
860--
861-- AUTO_INCREMENT de la tabla `cuentas_bancarias_dolar_divisa`
862--
863ALTER TABLE `cuentas_bancarias_dolar_divisa`
864 MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
865--
866-- AUTO_INCREMENT de la tabla `cuentas_bancarias_intl`
867--
868ALTER TABLE `cuentas_bancarias_intl`
869 MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=54;
870--
871-- AUTO_INCREMENT de la tabla `depositos`
872--
873ALTER TABLE `depositos`
874 MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=58;
875--
876-- AUTO_INCREMENT de la tabla `estado_cuenta_bancaria`
877--
878ALTER TABLE `estado_cuenta_bancaria`
879 MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
880--
881-- AUTO_INCREMENT de la tabla `estado_deposito`
882--
883ALTER TABLE `estado_deposito`
884 MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
885--
886-- AUTO_INCREMENT de la tabla `estado_transferencia`
887--
888ALTER TABLE `estado_transferencia`
889 MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
890--
891-- AUTO_INCREMENT de la tabla `migrations`
892--
893ALTER TABLE `migrations`
894 MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=138;
895--
896-- AUTO_INCREMENT de la tabla `monedas`
897--
898ALTER TABLE `monedas`
899 MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
900--
901-- AUTO_INCREMENT de la tabla `tipo_comitente_usuario`
902--
903ALTER TABLE `tipo_comitente_usuario`
904 MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
905--
906-- AUTO_INCREMENT de la tabla `tipo_cuenta_bancaria`
907--
908ALTER TABLE `tipo_cuenta_bancaria`
909 MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
910--
911-- AUTO_INCREMENT de la tabla `transferencias`
912--
913ALTER TABLE `transferencias`
914 MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
915--
916-- AUTO_INCREMENT de la tabla `users`
917--
918ALTER TABLE `users`
919 MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;
920--
921-- Restricciones para tablas volcadas
922--
923
924--
925-- Filtros para la tabla `backend_permiso_usuario`
926--
927ALTER TABLE `backend_permiso_usuario`
928 ADD CONSTRAINT `backend_permiso_usuario_permiso_id_foreign` FOREIGN KEY (`permiso_id`) REFERENCES `backend_permisos` (`id`),
929 ADD CONSTRAINT `backend_permiso_usuario_usuario_id_foreign` FOREIGN KEY (`usuario_id`) REFERENCES `backend_users` (`id`);
930
931--
932-- Filtros para la tabla `banco_moneda`
933--
934ALTER TABLE `banco_moneda`
935 ADD CONSTRAINT `banco_moneda_banco_id_foreign` FOREIGN KEY (`banco_id`) REFERENCES `bancos` (`id`),
936 ADD CONSTRAINT `banco_moneda_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`);
937
938--
939-- Filtros para la tabla `comitente_usuario`
940--
941ALTER TABLE `comitente_usuario`
942 ADD CONSTRAINT `comitente_usuario_tipo_usuario_id_foreign` FOREIGN KEY (`tipo_usuario_id`) REFERENCES `tipo_comitente_usuario` (`id`),
943 ADD CONSTRAINT `comitente_usuario_usuario_id_foreign` FOREIGN KEY (`usuario_id`) REFERENCES `users` (`id`);
944
945--
946-- Filtros para la tabla `cuentas_bancarias`
947--
948ALTER TABLE `cuentas_bancarias`
949 ADD CONSTRAINT `cuentas_bancarias_banco_id_foreign` FOREIGN KEY (`banco_id`) REFERENCES `bancos` (`id`),
950 ADD CONSTRAINT `cuentas_bancarias_estado_id_foreign` FOREIGN KEY (`estado_id`) REFERENCES `estado_cuenta_bancaria` (`id`),
951 ADD CONSTRAINT `cuentas_bancarias_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
952 ADD CONSTRAINT `cuentas_bancarias_tipo_cuenta_bancaria_id_foreign` FOREIGN KEY (`tipo_cuenta_bancaria_id`) REFERENCES `tipo_cuenta_bancaria` (`id`),
953 ADD CONSTRAINT `cuentas_bancarias_usuario_id_foreign` FOREIGN KEY (`usuario_id`) REFERENCES `users` (`id`);
954
955--
956-- Filtros para la tabla `cuentas_bancarias_dolar_divisa`
957--
958ALTER TABLE `cuentas_bancarias_dolar_divisa`
959 ADD CONSTRAINT `cuentas_bancarias_dolar_divisa_banco_id_foreign` FOREIGN KEY (`banco_id`) REFERENCES `bancos` (`id`),
960 ADD CONSTRAINT `cuentas_bancarias_dolar_divisa_estado_id_foreign` FOREIGN KEY (`estado_id`) REFERENCES `estado_cuenta_bancaria` (`id`),
961 ADD CONSTRAINT `cuentas_bancarias_dolar_divisa_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
962 ADD CONSTRAINT `cuentas_bancarias_dolar_divisa_usuario_id_foreign` FOREIGN KEY (`usuario_id`) REFERENCES `users` (`id`);
963
964--
965-- Filtros para la tabla `cuentas_bancarias_intl`
966--
967ALTER TABLE `cuentas_bancarias_intl`
968 ADD CONSTRAINT `cuentas_bancarias_intl_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`);
969
970--
971-- Filtros para la tabla `depositos`
972--
973ALTER TABLE `depositos`
974 ADD CONSTRAINT `depositos_backend_user_id_foreign` FOREIGN KEY (`backend_user_id`) REFERENCES `backend_users` (`id`),
975 ADD CONSTRAINT `depositos_destino_id_foreign` FOREIGN KEY (`destino_id`) REFERENCES `cuentas_bancarias_intl` (`id`),
976 ADD CONSTRAINT `depositos_estado_id_foreign` FOREIGN KEY (`estado_id`) REFERENCES `estado_deposito` (`id`),
977 ADD CONSTRAINT `depositos_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
978 ADD CONSTRAINT `depositos_origen_id_foreign` FOREIGN KEY (`origen_id`) REFERENCES `bancos` (`id`),
979 ADD CONSTRAINT `depositos_usuario_id_foreign` FOREIGN KEY (`usuario_id`) REFERENCES `users` (`id`);
980
981--
982-- Filtros para la tabla `transferencias`
983--
984ALTER TABLE `transferencias`
985 ADD CONSTRAINT `transferencias_backend_user_id_foreign` FOREIGN KEY (`backend_user_id`) REFERENCES `backend_users` (`id`),
986 ADD CONSTRAINT `transferencias_banco_origen_id_foreign` FOREIGN KEY (`banco_origen_id`) REFERENCES `cuentas_bancarias_intl` (`id`),
987 ADD CONSTRAINT `transferencias_estado_id_foreign` FOREIGN KEY (`estado_id`) REFERENCES `estado_transferencia` (`id`),
988 ADD CONSTRAINT `transferencias_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
989 ADD CONSTRAINT `transferencias_usuario_id_foreign` FOREIGN KEY (`usuario_id`) REFERENCES `users` (`id`);
990SET FOREIGN_KEY_CHECKS=1;
991
992/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
993/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
994/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;