1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-14 01:15:16 +01:00
openstamanager/update/example.sql
Thomas Zilio 177cca2d4b Fix
Risoluzione di alcuni problemi originati dallla migrazione.
2017-08-04 18:04:14 +02:00

71 lines
8.3 KiB
SQL

--
-- Dump dei dati per la tabella `an_anagrafiche`
--
INSERT INTO `an_anagrafiche` (`idanagrafica`, `codice`, `ragione_sociale`, `tipo`, `piva`, `codice_fiscale`, `capitale_sociale`, `data_nascita`, `luogo_nascita`, `sesso`, `indirizzo`, `indirizzo2`, `citta`, `cap`, `provincia`, `km`, `id_nazione`, `telefono`, `fax`, `cellulare`, `email`, `sitoweb`, `note`, `codiceri`, `codicerea`, `appoggiobancario`, `filiale`, `codiceiban`, `bic`, `diciturafissafattura`, `idpagamento`, `idlistino`, `idiva`, `idsede_fatturazione`, `idconto_cliente`, `idconto_fornitore`, `settore`, `marche`, `dipendenti`, `macchine`, `idagente`, `idrelazione`, `agentemaster`, `idzona`, `foro_competenza`, `nome_cognome`, `iscrizione_tribunale`, `cciaa`, `cciaa_citta`, `n_alboartigiani`, `colore`, `deleted`, `idtipointervento_default`, `created_at`, `updated_at`) VALUES
(1, '00000001', 'Azienda', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(2, '00000002', 'Cliente 1', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 112, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(3, '00000003', 'Cliente 2', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 113, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(4, '00000004', 'Cliente 3', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 114, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(5, '00000005', 'Cliente 4', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 115, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(6, '00000006', 'Cliente 5', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 116, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(7, '00000007', 'Tecnico 1', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(8, '00000008', 'Tecnico 2', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(9, '00000009', 'Tecnico 3', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(10, '00000010', 'Tecnico 4', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(11, '00000011', 'Tecnico 5', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(12, '00000012', 'Fornitore 1', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 117, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(13, '00000013', 'Fornitore 2', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 118, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(14, '00000014', 'Fornitore 3', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 119, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(15, '00000015', 'Fornitore 4', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 120, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(16, '00000016', 'Fornitore 5', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 121, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(17, '00000017', 'Agente 1', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(18, '00000018', 'Agente 2', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(19, '00000019', 'Agente 3', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(20, '00000020', 'Agente 4', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(21, '00000021', 'Agente 5', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(22, '00000022', 'Vettore 1', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(23, '00000023', 'Vettore 2', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(24, '00000024', 'Vettore 3', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(25, '00000025', 'Vettore 4', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW()),
(26, '00000026', 'Vettore 5', '', '', '', '', '0000-00-00', '', '', '', '', '', '', '', '0.00', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, '', '', '', '', '', NULL, '#FFFFFF', 0, '', NOW(), NOW());
--
-- Dump dei dati per la tabella `an_tipianagrafiche_anagrafiche`
--
INSERT INTO `an_tipianagrafiche_anagrafiche` (`idtipoanagrafica`, `idanagrafica`, `created_at`, `updated_at`) VALUES
(1, 2, NOW(), NOW()),
(1, 3, NOW(), NOW()),
(1, 4, NOW(), NOW()),
(1, 5, NOW(), NOW()),
(1, 6, NOW(), NOW()),
(2, 7, NOW(), NOW()),
(2, 8, NOW(), NOW()),
(2, 9, NOW(), NOW()),
(2, 10, NOW(), NOW()),
(2, 11, NOW(), NOW()),
(3, 1, NOW(), NOW()),
(4, 12, NOW(), NOW()),
(4, 13, NOW(), NOW()),
(4, 14, NOW(), NOW()),
(4, 15, NOW(), NOW()),
(4, 16, NOW(), NOW()),
(5, 22, NOW(), NOW()),
(5, 23, NOW(), NOW()),
(5, 24, NOW(), NOW()),
(5, 25, NOW(), NOW()),
(5, 26, NOW(), NOW()),
(6, 17, NOW(), NOW()),
(6, 18, NOW(), NOW()),
(6, 19, NOW(), NOW()),
(6, 20, NOW(), NOW()),
(6, 21, NOW(), NOW());
--
-- Dump dei dati per la tabella `an_zone`
--
INSERT INTO `an_zone` (`id`, `nome`, `descrizione`, `default`, `created_at`, `updated_at`) VALUES
(1, 'Zona 1', 'Zona per il test', 0, NOW(), NOW());