35ec875f by Jeff Balicki

add db file

1 parent dfb34919
1 -- phpMyAdmin SQL Dump
2 -- version 4.4.10
3 -- http://www.phpmyadmin.net
4 --
5 -- Host: localhost:8889
6 -- Generation Time: Apr 15, 2016 at 03:54 PM
7 -- Server version: 5.5.42
8 -- PHP Version: 5.6.10
9
10 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
11 SET time_zone = "+00:00";
12
13
14 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
15 /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
16 /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
17 /*!40101 SET NAMES utf8mb4 */;
18
19 --
20 -- Database: `PDF`
21 --
22
23 -- --------------------------------------------------------
24
25 --
26 -- Table structure for table `apiCall`
27 --
28
29 CREATE TABLE `apiCall` (
30 `apiCallId` int(11) NOT NULL,
31 `custId` int(11) NOT NULL,
32 `jsonRec` longtext NOT NULL
33 ) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8;
34
35 --
36 -- Dumping data for table `apiCall`
37 --
38
39 INSERT INTO `apiCall` (`apiCallId`, `custId`, `jsonRec`) VALUES
40 (1, 1, '{"pdf":[{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","file":"test.pdf"}],"changes":[{"locationUp":"400","locationRight":90,"pages":"1","content":"siskins.png","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2"},{"locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:2:{s:11:\\"font-family\\";s:11:\\"TradeGothic\\";s:9:\\"font-size\\";s:2:\\"14\\";}","idchange_typePDF":1,"change_type":"2"}]}]}'),
41 (2, 1, '{"pdf":[{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","file":"test.pdf"}],"changes":[{"locationUp":"400","locationRight":90,"pages":"1","content":"siskins.png","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2"},{"locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:2:{s:11:\\"font-family\\";s:11:\\"TradeGothic\\";s:9:\\"font-size\\";s:2:\\"14\\";}","idchange_typePDF":1,"change_type":"2"}]}]}'),
42 (3, 1, '{"pdf":[{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","file":"test.pdf"}],"changes":[{"locationUp":"400","locationRight":90,"pages":"1","content":"siskins.png","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2"},{"locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:2:{s:11:\\"font-family\\";s:11:\\"TradeGothic\\";s:9:\\"font-size\\";s:2:\\"14\\";}","idchange_typePDF":1,"change_type":"2"}]}]}'),
43 (4, 1, '{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","file":"test.pdf","pdfLocation":"http://www.orimi.com/pdf-test.pdf"}],"changes":[{"label":"none","locationUp":"400","locationRight":90,"pages":"1","content":"siskins.png","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2","fileLocation":"http://www.arielpremium.com/images/vsample_images/LOGO_text_black.jpg"},{"label":"text style","locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:2:{s:11:\\"font-family\\";s:11:\\"TradeGothic\\";s:9:\\"font-size\\";s:2:\\"14\\";}","idchange_typePDF":1,"change_type":"2"}]}'),
44 (5, 1, '{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","pdfLocation":"http://www.orimi.com/pdf-test.pdf"}],"changes":[{"label":"none","locationUp":"400","locationRight":90,"pages":"1","content":"LOGO_text_black.jpg","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2","fileLocation":"http://www.arielpremium.com/images/vsample_images/LOGO_text_black.jpg"},{"label":"text style","locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:2:{s:11:\\"font-family\\";s:11:\\"TradeGothic\\";s:9:\\"font-size\\";s:2:\\"14\\";}","idchange_typePDF":1,"change_type":"2"}]}'),
45 (6, 1, '{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","pdfLocation":"https://www.polyu.edu.hk/iaee/files/pdf-sample.pdf"}],"changes":[{"label":"none","locationUp":"400","locationRight":90,"pages":"1","content":"LOGO_text_black.jpg","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2","fileLocation":"http://www.arielpremium.com/images/vsample_images/LOGO_text_black.jpg"},{"label":"text style","locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:2:{s:11:\\"font-family\\";s:11:\\"TradeGothic\\";s:9:\\"font-size\\";s:2:\\"14\\";}","idchange_typePDF":1,"change_type":"2"}]}'),
46 (7, 1, '{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","pdfLocation":"https://www.polyu.edu.hk/iaee/files/pdf-sample.pdf"}],"changes":[{"label":"none","locationUp":"400","locationRight":90,"pages":"1","content":"LOGO_text_black.jpg","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2","fileLocation":"http://www.arielpremium.com/images/vsample_images/LOGO_text_black.jpg"},{"label":"text style","locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:2:{s:11:\\"font-family\\";s:11:\\"TradeGothic\\";s:9:\\"font-size\\";s:2:\\"14\\";}","idchange_typePDF":1,"change_type":"1"}]}'),
47 (8, 1, '{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","pdfLocation":"https://www.polyu.edu.hk/iaee/files/pdf-sample.pdf"}],"changes":[{"label":"none","locationUp":"400","locationRight":90,"pages":"1","content":"LOGO_text_black.jpg","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2","fileLocation":"http://www.arielpremium.com/images/vsample_images/LOGO_text_black.jpg"},{"label":"text style","locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:2:{s:11:\\"font-family\\";s:11:\\"TradeGothic\\";s:9:\\"font-size\\";s:2:\\"14\\";}","idchange_typePDF":1,"change_type":"1"}]}'),
48 (9, 1, '{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","pdfLocation":"https://www.polyu.edu.hk/iaee/files/pdf-sample.pdf"}],"changes":[{"label":"none","locationUp":"400","locationRight":90,"pages":"1","content":"LOGO_text_black.jpg","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2","fileLocation":"http://www.arielpremium.com/images/vsample_images/LOGO_text_black.jpg"},{"label":"text style","locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:3:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";s:10:"font-color";s:14:"cmyk 0 0 0.5 0";}","idchange_typePDF":1,"change_type":"1"}]}'),
49 (10, 1, '{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","pdfLocation":"https://www.polyu.edu.hk/iaee/files/pdf-sample.pdf"}],"changes":[{"label":"none","locationUp":"400","locationRight":90,"pages":"1","content":"LOGO_text_black.jpg","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2","fileLocation":"http://www.arielpremium.com/images/vsample_images/LOGO_text_black.jpg"},{"label":"text style","locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:3:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";s:10:"font-color";s:14:"cmyk 0 0 0.5 0";}","idchange_typePDF":1,"change_type":"1"}]}'),
50 (11, 1, '{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","pdfLocation":"https://www.polyu.edu.hk/iaee/files/pdf-sample.pdf"}],"changes":[{"label":"none","locationUp":"400","locationRight":90,"pages":"1","content":"LOGO_text_black.jpg","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2","fileLocation":"http://www.arielpremium.com/images/vsample_images/LOGO_text_black.jpg"},{"label":"text style","locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:3:{s:11:\\"font-family\\";s:11:\\"TradeGothic\\";s:9:\\"font-size\\";s:2:\\"14\\";s:10:\\"font-color\\";s:14:\\"cmyk 0 0 0.5 0\\";}","idchange_typePDF":1,"change_type":"1"}]}'),
51 (12, 1, 'json'),
52 (13, 1, 'json='),
53 (14, 1, 'json='),
54 (15, 1, 'json='),
55 (16, 1, '1'),
56 (17, 1, '{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","pdfLocation":"https://www.polyu.edu.hk/iaee/files/pdf-sample.pdf"}],"changes":[{"label":"none","locationUp":"400","locationRight":90,"pages":"1","content":"LOGO_text_black.jpg","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2","fileLocation":"http://www.arielpremium.com/images/vsample_images/LOGO_text_black.jpg"},{"label":"text style","locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:3:{s:11:\\"font-family\\";s:11:\\"TradeGothic\\";s:9:\\"font-size\\";s:2:\\"14\\";s:10:\\"font-color\\";s:14:\\"cmyk 0 0 0.5 0\\";}","idchange_typePDF":1,"change_type":"1"}]}'),
57 (18, 1, '{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","pdfLocation":"https://www.polyu.edu.hk/iaee/files/pdf-sample.pdf"}],"changes":[{"label":"none","locationUp":"400","locationRight":90,"pages":"1","content":"LOGO_text_black.jpg","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2","fileLocation":"http://www.arielpremium.com/images/vsample_images/LOGO_text_black.jpg"},{"label":"text style","locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:3:{s:11:\\"font-family\\";s:11:\\"TradeGothic\\";s:9:\\"font-size\\";s:2:\\"14\\";s:10:\\"font-color\\";s:14:\\"cmyk 0 0 0.5 0\\";}","idchange_typePDF":1,"change_type":"1"}]}'),
58 (19, 1, '{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","pdfLocation":"https://www.polyu.edu.hk/iaee/files/pdf-sample.pdf"}],"changes":[{"label":"none","locationUp":"400","locationRight":90,"pages":"1","content":"LOGO_text_black.jpg","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2","fileLocation":"http://www.arielpremium.com/images/vsample_images/LOGO_text_black.jpg"},{"label":"text style","locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:3:{s:11:\\"font-family\\";s:11:\\"TradeGothic\\";s:9:\\"font-size\\";s:2:\\"14\\";s:10:\\"font-color\\";s:14:\\"cmyk 0 0 0.5 0\\";}","idchange_typePDF":1,"change_type":"1"}]}'),
59 (20, 1, '{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","pdfLocation":"https://www.polyu.edu.hk/iaee/files/pdf-sample.pdf"}],"changes":[{"label":"none","locationUp":"400","locationRight":90,"pages":"1","content":"LOGO_text_black.jpg","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2","fileLocation":"http://www.arielpremium.com/images/vsample_images/LOGO_text_black.jpg"},{"label":"text style","locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:3:{s:11:\\"font-family\\";s:11:\\"TradeGothic\\";s:9:\\"font-size\\";s:2:\\"14\\";s:10:\\"font-color\\";s:14:\\"cmyk 0 0 0.5 0\\";}","idchange_typePDF":1,"change_type":"1"}]}'),
60 (21, 1, '{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","pdfLocation":"https://www.polyu.edu.hk/iaee/files/pdf-sample.pdf"}],"changes":[{"label":"none","locationUp":"400","locationRight":90,"pages":"1","content":"LOGO_text_black.jpg","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2","fileLocation":"http://www.arielpremium.com/images/vsample_images/LOGO_text_black.jpg"},{"label":"text style","locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:3:{s:11:\\"font-family\\";s:11:\\"TradeGothic\\";s:9:\\"font-size\\";s:2:\\"14\\";s:10:\\"font-color\\";s:14:\\"cmyk 0 0 0.5 0\\";}","idchange_typePDF":1,"change_type":"1"}]}'),
61 (22, 1, '{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","pdfLocation":"https://www.polyu.edu.hk/iaee/files/pdf-sample.pdf"}],"changes":[{"label":"none","locationUp":"400","locationRight":90,"pages":"1","content":"LOGO_text_black.jpg","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2","fileLocation":"http://www.arielpremium.com/images/vsample_images/LOGO_text_black.jpg"},{"label":"text style","locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:3:{s:11:\\"font-family\\";s:11:\\"TradeGothic\\";s:9:\\"font-size\\";s:2:\\"14\\";s:10:\\"font-color\\";s:14:\\"cmyk 0 0 0.5 0\\";}","idchange_typePDF":1,"change_type":"1"}]}'),
62 (23, 1, '{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","pdfLocation":"https://www.polyu.edu.hk/iaee/files/pdf-sample.pdf"}],"changes":[{"label":"none","locationUp":"400","locationRight":90,"pages":"1","content":"LOGO_text_black.jpg","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2","fileLocation":"http://www.arielpremium.com/images/vsample_images/LOGO_text_black.jpg"},{"label":"text style","locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:3:{s:11:\\"font-family\\";s:11:\\"TradeGothic\\";s:9:\\"font-size\\";s:2:\\"14\\";s:10:\\"font-color\\";s:14:\\"cmyk 0 0 0.5 0\\";}","idchange_typePDF":1,"change_type":"1"}]}'),
63 (24, 1, '{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","pdfLocation":"https://www.polyu.edu.hk/iaee/files/pdf-sample.pdf"}],"changes":[{"label":"none","locationUp":"400","locationRight":90,"pages":"1","content":"LOGO_text_black.jpg","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2","fileLocation":"http://www.arielpremium.com/images/vsample_images/LOGO_text_black.jpg"},{"label":"text style","locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:3:{s:11:\\"font-family\\";s:11:\\"TradeGothic\\";s:9:\\"font-size\\";s:2:\\"14\\";s:10:\\"font-color\\";s:14:\\"cmyk 0 0 0.5 0\\";}","idchange_typePDF":1,"change_type":"1"}]}'),
64 (25, 1, '{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","pdfLocation":"https://www.polyu.edu.hk/iaee/files/pdf-sample.pdf"}],"changes":[{"label":"none","locationUp":"400","locationRight":90,"pages":"1","content":"LOGO_text_black.jpg","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2","fileLocation":"http://www.arielpremium.com/images/vsample_images/LOGO_text_black.jpg"},{"label":"text style","locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:3:{s:11:\\"font-family\\";s:11:\\"TradeGothic\\";s:9:\\"font-size\\";s:2:\\"14\\";s:10:\\"font-color\\";s:14:\\"cmyk 0 0 0.5 0\\";}","idchange_typePDF":1,"change_type":"1"}]}'),
65 (26, 1, '{"pdf":[{"label":"SISKINDS_test file","folder":"SISKINDS_test","pdfLocation":"https://www.polyu.edu.hk/iaee/files/pdf-sample.pdf"}],"changes":[{"label":"none","locationUp":"400","locationRight":90,"pages":"1","content":"LOGO_text_black.jpg","z-index":null,"idstylesPDF":1,"order":"2","style":null,"idchange_typePDF":2,"change_type":"2","fileLocation":"http://www.arielpremium.com/images/vsample_images/LOGO_text_black.jpg"},{"label":"text style","locationUp":"60","locationRight":290,"pages":"1","content":"519.660.2121 siskinds.com\\/change","z-index":null,"idstylesPDF":2,"order":"1","style":"a:3:{s:11:\\"font-family\\";s:11:\\"TradeGothic\\";s:9:\\"font-size\\";s:2:\\"14\\";s:10:\\"font-color\\";s:14:\\"cmyk 0 0 0.5 0\\";}","idchange_typePDF":1,"change_type":"1"}]}');
66
67 -- --------------------------------------------------------
68
69 --
70 -- Table structure for table `changesPDF`
71 --
72
73 CREATE TABLE `changesPDF` (
74 `idchangesPDF` int(11) NOT NULL,
75 `PDF_idPDF` int(11) NOT NULL,
76 `change_typePDF_idchange_typePDF` int(11) NOT NULL,
77 `stylesPDF_idstylesPDF` int(11) NOT NULL,
78 `locationUp` varchar(45) DEFAULT NULL,
79 `locationRight` int(11) DEFAULT NULL,
80 `pages` varchar(45) DEFAULT NULL,
81 `content` varchar(256) DEFAULT NULL,
82 `z-index` int(11) DEFAULT NULL
83 ) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=utf8;
84
85 --
86 -- Dumping data for table `changesPDF`
87 --
88
89 INSERT INTO `changesPDF` (`idchangesPDF`, `PDF_idPDF`, `change_typePDF_idchange_typePDF`, `stylesPDF_idstylesPDF`, `locationUp`, `locationRight`, `pages`, `content`, `z-index`) VALUES
90 (3, 7, 2, 3, '400', 90, '1', 'siskins.png', 0),
91 (4, 7, 2, 4, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
92 (5, 8, 2, 5, '400', 90, '1', 'siskins.png', 0),
93 (6, 8, 2, 6, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
94 (7, 9, 2, 7, '400', 90, '1', 'siskins.png', 0),
95 (8, 9, 2, 8, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
96 (9, 10, 2, 9, '400', 90, '1', 'siskins.png', 0),
97 (10, 10, 2, 10, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
98 (11, 11, 2, 11, '400', 90, '1', 'siskins.png', 0),
99 (12, 11, 2, 12, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
100 (13, 12, 2, 13, '400', 90, '1', 'siskins.png', 0),
101 (14, 12, 2, 14, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
102 (15, 13, 2, 15, '400', 90, '1', 'siskins.png', 0),
103 (16, 13, 2, 16, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
104 (17, 14, 2, 17, '400', 90, '1', 'siskins.png', 0),
105 (18, 14, 1, 18, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
106 (19, 15, 2, 19, '400', 90, '1', 'LOGO_text_black.jpg', 0),
107 (20, 15, 2, 20, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
108 (21, 16, 2, 21, '400', 90, '1', 'LOGO_text_black.jpg', 0),
109 (22, 16, 1, 22, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
110 (23, 17, 2, 23, '400', 90, '1', 'LOGO_text_black.jpg', 0),
111 (24, 17, 1, 24, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
112 (25, 18, 2, 25, '400', 90, '1', 'LOGO_text_black.jpg', 0),
113 (26, 18, 1, 26, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
114 (27, 19, 2, 27, '400', 90, '1', 'LOGO_text_black.jpg', 0),
115 (28, 19, 1, 28, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
116 (29, 20, 2, 29, '400', 90, '1', 'LOGO_text_black.jpg', 0),
117 (30, 20, 1, 30, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
118 (31, 21, 2, 31, '400', 90, '1', 'LOGO_text_black.jpg', 0),
119 (32, 21, 1, 32, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
120 (33, 22, 2, 33, '400', 90, '1', 'LOGO_text_black.jpg', 0),
121 (34, 22, 1, 34, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
122 (35, 23, 2, 35, '400', 90, '1', 'LOGO_text_black.jpg', 0),
123 (36, 23, 1, 36, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
124 (37, 24, 2, 37, '400', 90, '1', 'LOGO_text_black.jpg', 0),
125 (38, 24, 1, 38, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
126 (39, 25, 2, 39, '400', 90, '1', 'LOGO_text_black.jpg', 0),
127 (40, 25, 1, 40, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
128 (41, 26, 2, 41, '400', 90, '1', 'LOGO_text_black.jpg', 0),
129 (42, 26, 1, 42, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
130 (43, 27, 2, 43, '400', 90, '1', 'LOGO_text_black.jpg', 0),
131 (44, 27, 1, 44, '60', 290, '1', '519.660.2121 siskinds.com/change', 0),
132 (45, 28, 2, 45, '400', 90, '1', 'LOGO_text_black.jpg', 0),
133 (46, 28, 1, 46, '60', 290, '1', '519.660.2121 siskinds.com/change', 0);
134
135 -- --------------------------------------------------------
136
137 --
138 -- Table structure for table `change_typePDF`
139 --
140
141 CREATE TABLE `change_typePDF` (
142 `idchange_typePDF` int(11) NOT NULL,
143 `order` varchar(45) DEFAULT NULL,
144 `change_type` varchar(45) DEFAULT NULL,
145 `label` varchar(45) DEFAULT NULL
146 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
147
148 --
149 -- Dumping data for table `change_typePDF`
150 --
151
152 INSERT INTO `change_typePDF` (`idchange_typePDF`, `order`, `change_type`, `label`) VALUES
153 (1, '1', 'text', 'Text'),
154 (2, '2', 'img', 'Image');
155
156 -- --------------------------------------------------------
157
158 --
159 -- Table structure for table `migrations`
160 --
161
162 CREATE TABLE `migrations` (
163 `migration` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
164 `batch` int(11) NOT NULL
165 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
166
167 --
168 -- Dumping data for table `migrations`
169 --
170
171 INSERT INTO `migrations` (`migration`, `batch`) VALUES
172 ('2014_10_12_000000_create_users_table', 1),
173 ('2014_10_12_100000_create_password_resets_table', 1);
174
175 -- --------------------------------------------------------
176
177 --
178 -- Table structure for table `password_resets`
179 --
180
181 CREATE TABLE `password_resets` (
182 `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
183 `token` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
184 `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
185 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
186
187 -- --------------------------------------------------------
188
189 --
190 -- Table structure for table `PDF`
191 --
192
193 CREATE TABLE `PDF` (
194 `idPDF` int(11) NOT NULL,
195 `name` varchar(256) DEFAULT NULL,
196 `folder` varchar(256) NOT NULL,
197 `file` varchar(256) NOT NULL,
198 `image` varchar(256) NOT NULL,
199 `custId` int(11) DEFAULT NULL,
200 `apiCallId` int(11) NOT NULL
201 ) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8;
202
203 --
204 -- Dumping data for table `PDF`
205 --
206
207 INSERT INTO `PDF` (`idPDF`, `name`, `folder`, `file`, `image`, `custId`, `apiCallId`) VALUES
208 (7, 'SISKINDS_test file', 'SISKINDStest-file', 'test.pdf', '', NULL, 3),
209 (8, 'SISKINDS_test file', 'SISKINDStest-file', 'test.pdf', '', NULL, 3),
210 (9, 'SISKINDS_test file', 'SISKINDStest-file', 'test.pdf', '', NULL, 3),
211 (10, 'SISKINDS_test file', 'SISKINDStest-file', 'test.pdf', '', NULL, 3),
212 (11, 'SISKINDS_test file', 'SISKINDStest-file', 'test.pdf', '', NULL, 3),
213 (12, 'SISKINDS_test file', 'SISKINDStest-file', 'test.pdf', '', NULL, 3),
214 (13, 'SISKINDS_test file', 'SISKINDStest', 'test.pdf', '', NULL, 3),
215 (14, 'test file', 'SISKINDS_test', 'SISKINDS_test_file.pdf', 'SISKINDS_test_file.jpg', 1, 3),
216 (15, 'SISKINDS_test file', 'SISKINDStest-file', 'pdf-sample.pdf', '', NULL, 3),
217 (16, 'SISKINDS_test file', 'SISKINDStest-file', 'pdf-sample.pdf', '', NULL, 7),
218 (17, 'SISKINDS_test file', 'SISKINDStest-file', 'pdf-sample.pdf', '', NULL, 8),
219 (18, 'SISKINDS_test file', 'SISKINDStest-file', 'pdf-sample.pdf', '', NULL, 11),
220 (19, 'SISKINDS_test file', 'SISKINDStest-file', 'pdf-sample.pdf', '', NULL, 17),
221 (20, 'SISKINDS_test file', 'SISKINDStest-file', 'pdf-sample.pdf', '', NULL, 18),
222 (21, 'SISKINDS_test file', 'SISKINDStest-file', 'pdf-sample.pdf', '', NULL, 19),
223 (22, 'SISKINDS_test file', 'SISKINDStest-file', 'pdf-sample.pdf', '', NULL, 20),
224 (23, 'SISKINDS_test file', 'SISKINDStest-file', 'pdf-sample.pdf', '', NULL, 21),
225 (24, 'SISKINDS_test file', 'SISKINDStest-file', 'pdf-sample.pdf', '', NULL, 22),
226 (25, 'SISKINDS_test file', 'SISKINDStest-file', 'pdf-sample.pdf', '', NULL, 23),
227 (26, 'SISKINDS_test file', 'SISKINDStest-file', 'pdf-sample.pdf', 'pdf-sample.jpg', NULL, 24),
228 (27, 'SISKINDS_test file', 'SISKINDStest-file', 'pdf-sample.pdf', 'pdf-sample.jpg', 1, 25),
229 (28, 'SISKINDS_test file', 'SISKINDStest-file', 'pdf-sample.pdf', 'pdf-sample.jpg', NULL, 26);
230
231 -- --------------------------------------------------------
232
233 --
234 -- Table structure for table `stylesPDF`
235 --
236
237 CREATE TABLE `stylesPDF` (
238 `idstylesPDF` int(11) NOT NULL,
239 `order` varchar(45) DEFAULT NULL,
240 `label` varchar(45) DEFAULT NULL,
241 `style` varchar(256) DEFAULT NULL
242 ) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=utf8;
243
244 --
245 -- Dumping data for table `stylesPDF`
246 --
247
248 INSERT INTO `stylesPDF` (`idstylesPDF`, `order`, `label`, `style`) VALUES
249 (3, NULL, 'none', NULL),
250 (4, NULL, 'text style', 'a:2:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";}'),
251 (5, NULL, 'none', NULL),
252 (6, NULL, 'text style', 'a:2:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";}'),
253 (7, NULL, 'none', NULL),
254 (8, NULL, 'text style', 'a:2:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";}'),
255 (9, NULL, 'none', NULL),
256 (10, NULL, 'text style', 'a:2:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";}'),
257 (11, NULL, 'none', NULL),
258 (12, NULL, 'text style', 'a:2:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";}'),
259 (13, NULL, 'none', NULL),
260 (14, NULL, 'text style', 'a:2:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";}'),
261 (15, NULL, 'none', NULL),
262 (16, NULL, 'text style', 'a:2:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";}'),
263 (17, NULL, 'none', NULL),
264 (18, NULL, 'text style', 'a:3:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";s:10:"font-color";s:14:"cmyk 0 0 0.5 0";}'),
265 (19, NULL, 'none', NULL),
266 (20, NULL, 'text style', 'a:2:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";}'),
267 (21, NULL, 'none', NULL),
268 (22, NULL, 'text style', 'a:2:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";}'),
269 (23, NULL, 'none', NULL),
270 (24, NULL, 'text style', 'a:2:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";}'),
271 (25, NULL, 'none', NULL),
272 (26, NULL, 'text style', 'a:3:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";s:10:"font-color";s:14:"cmyk 0 0 0.5 0";}'),
273 (27, NULL, 'none', NULL),
274 (28, NULL, 'text style', 'a:3:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";s:10:"font-color";s:14:"cmyk 0 0 0.5 0";}'),
275 (29, NULL, 'none', NULL),
276 (30, NULL, 'text style', 'a:3:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";s:10:"font-color";s:14:"cmyk 0 0 0.5 0";}'),
277 (31, NULL, 'none', NULL),
278 (32, NULL, 'text style', 'a:3:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";s:10:"font-color";s:14:"cmyk 0 0 0.5 0";}'),
279 (33, NULL, 'none', NULL),
280 (34, NULL, 'text style', 'a:3:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";s:10:"font-color";s:14:"cmyk 0 0 0.5 0";}'),
281 (35, NULL, 'none', NULL),
282 (36, NULL, 'text style', 'a:3:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";s:10:"font-color";s:14:"cmyk 0 0 0.5 0";}'),
283 (37, NULL, 'none', NULL),
284 (38, NULL, 'text style', 'a:3:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";s:10:"font-color";s:14:"cmyk 0 0 0.5 0";}'),
285 (39, NULL, 'none', NULL),
286 (40, NULL, 'text style', 'a:3:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";s:10:"font-color";s:14:"cmyk 0 0 0.5 0";}'),
287 (41, NULL, 'none', NULL),
288 (42, NULL, 'text style', 'a:3:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";s:10:"font-color";s:14:"cmyk 0 0 0.5 0";}'),
289 (43, NULL, 'none', NULL),
290 (44, NULL, 'text style', 'a:3:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";s:10:"font-color";s:14:"cmyk 0 0 0.5 0";}'),
291 (45, NULL, 'none', NULL),
292 (46, NULL, 'text style', 'a:3:{s:11:"font-family";s:11:"TradeGothic";s:9:"font-size";s:2:"14";s:10:"font-color";s:14:"cmyk 0 0 0.5 0";}');
293
294 -- --------------------------------------------------------
295
296 --
297 -- Table structure for table `users`
298 --
299
300 CREATE TABLE `users` (
301 `id` int(10) unsigned NOT NULL,
302 `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
303 `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
304 `password` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
305 `remember_token` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
306 `created_at` timestamp NULL DEFAULT NULL,
307 `updated_at` timestamp NULL DEFAULT NULL
308 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
309
310 --
311 -- Indexes for dumped tables
312 --
313
314 --
315 -- Indexes for table `apiCall`
316 --
317 ALTER TABLE `apiCall`
318 ADD PRIMARY KEY (`apiCallId`);
319
320 --
321 -- Indexes for table `changesPDF`
322 --
323 ALTER TABLE `changesPDF`
324 ADD PRIMARY KEY (`idchangesPDF`),
325 ADD KEY `fk_changesPDF_PDF_idx` (`PDF_idPDF`),
326 ADD KEY `fk_changesPDF_change_typePDF1_idx` (`change_typePDF_idchange_typePDF`),
327 ADD KEY `fk_changesPDF_stylesPDF1_idx` (`stylesPDF_idstylesPDF`);
328
329 --
330 -- Indexes for table `change_typePDF`
331 --
332 ALTER TABLE `change_typePDF`
333 ADD PRIMARY KEY (`idchange_typePDF`);
334
335 --
336 -- Indexes for table `password_resets`
337 --
338 ALTER TABLE `password_resets`
339 ADD KEY `password_resets_email_index` (`email`),
340 ADD KEY `password_resets_token_index` (`token`);
341
342 --
343 -- Indexes for table `PDF`
344 --
345 ALTER TABLE `PDF`
346 ADD PRIMARY KEY (`idPDF`);
347
348 --
349 -- Indexes for table `stylesPDF`
350 --
351 ALTER TABLE `stylesPDF`
352 ADD PRIMARY KEY (`idstylesPDF`);
353
354 --
355 -- Indexes for table `users`
356 --
357 ALTER TABLE `users`
358 ADD PRIMARY KEY (`id`),
359 ADD UNIQUE KEY `users_email_unique` (`email`);
360
361 --
362 -- AUTO_INCREMENT for dumped tables
363 --
364
365 --
366 -- AUTO_INCREMENT for table `apiCall`
367 --
368 ALTER TABLE `apiCall`
369 MODIFY `apiCallId` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=27;
370 --
371 -- AUTO_INCREMENT for table `changesPDF`
372 --
373 ALTER TABLE `changesPDF`
374 MODIFY `idchangesPDF` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=47;
375 --
376 -- AUTO_INCREMENT for table `PDF`
377 --
378 ALTER TABLE `PDF`
379 MODIFY `idPDF` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=29;
380 --
381 -- AUTO_INCREMENT for table `stylesPDF`
382 --
383 ALTER TABLE `stylesPDF`
384 MODIFY `idstylesPDF` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=47;
385 --
386 -- AUTO_INCREMENT for table `users`
387 --
388 ALTER TABLE `users`
389 MODIFY `id` int(10) unsigned NOT NULL AUTO_INCREMENT;
390 --
391 -- Constraints for dumped tables
392 --
393
394 --
395 -- Constraints for table `changesPDF`
396 --
397 ALTER TABLE `changesPDF`
398 ADD CONSTRAINT `fk_changesPDF_change_typePDF1` FOREIGN KEY (`change_typePDF_idchange_typePDF`) REFERENCES `change_typePDF` (`idchange_typePDF`) ON DELETE NO ACTION ON UPDATE NO ACTION,
399 ADD CONSTRAINT `fk_changesPDF_PDF` FOREIGN KEY (`PDF_idPDF`) REFERENCES `PDF` (`idPDF`) ON DELETE NO ACTION ON UPDATE NO ACTION,
400 ADD CONSTRAINT `fk_changesPDF_stylesPDF1` FOREIGN KEY (`stylesPDF_idstylesPDF`) REFERENCES `stylesPDF` (`idstylesPDF`) ON DELETE NO ACTION ON UPDATE NO ACTION;
401
402 /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
403 /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
404 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
...@@ -6,6 +6,8 @@ mysql: ...@@ -6,6 +6,8 @@ mysql:
6 - DB_NAME=PDF 6 - DB_NAME=PDF
7 ports: 7 ports:
8 - "10893:3306" 8 - "10893:3306"
9 volumes:
10 - /home/tenzing/pdf-customizer/db/:/var/db/
9 11
10 12
11 web: 13 web:
......