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