From: Andrea Zagli Date: Tue, 19 Oct 2010 08:48:05 +0000 (+0200) Subject: Aggiunta la gestione di alcuni campi della tabella persone. X-Git-Tag: 0.0.3~37 X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=d5ebc334a61c3414e5e40d997e59af825c0ff985;p=solipa%2Forganigramma Aggiunta la gestione di alcuni campi della tabella persone. --- diff --git a/data/organigramma/form/persona.form b/data/organigramma/form/persona.form index b63a8db..548884f 100644 --- a/data/organigramma/form/persona.form +++ b/data/organigramma/form/persona.form @@ -36,4 +36,38 @@ + + + + + + + + f + f + + + + + + entry27 + + SELECT nome FROM citta WHERE id = ##label110::gint + + + + + + + + + + + + + + + + + diff --git a/docs/organigramma.sql b/docs/organigramma.sql index 5029981..6f1a76d 100644 --- a/docs/organigramma.sql +++ b/docs/organigramma.sql @@ -3,8 +3,8 @@ -- -- Dumped from database version 8.4.4 --- Dumped by pg_dump version 9.0.0 --- Started on 2010-10-14 17:07:58 +-- Dumped by pg_dump version 9.0.1 +-- Started on 2010-10-19 10:39:54 SET statement_timeout = 0; SET client_encoding = 'UTF8'; @@ -14,7 +14,7 @@ SET client_min_messages = warning; SET escape_string_warning = off; -- --- TOC entry 359 (class 2612 OID 16386) +-- TOC entry 360 (class 2612 OID 16386) -- Name: plpgsql; Type: PROCEDURAL LANGUAGE; Schema: -; Owner: - -- @@ -26,8 +26,8 @@ SET search_path = public, pg_catalog; SET default_with_oids = false; -- --- TOC entry 1546 (class 1259 OID 59279) --- Dependencies: 1845 1846 1847 3 +-- TOC entry 1547 (class 1259 OID 59279) +-- Dependencies: 1846 1847 1848 3 -- Name: nodi; Type: TABLE; Schema: public; Owner: - -- @@ -42,8 +42,8 @@ CREATE TABLE nodi ( -- --- TOC entry 1567 (class 1259 OID 61344) --- Dependencies: 1912 1913 1914 1915 1916 1917 1918 1919 1920 3 +-- TOC entry 1568 (class 1259 OID 61344) +-- Dependencies: 1918 1919 1920 1921 1922 1923 1924 1925 1926 3 -- Name: persona_incarichi; Type: TABLE; Schema: public; Owner: - -- @@ -64,8 +64,8 @@ CREATE TABLE persona_incarichi ( -- --- TOC entry 1562 (class 1259 OID 61295) --- Dependencies: 1895 1896 1897 1898 3 +-- TOC entry 1563 (class 1259 OID 61295) +-- Dependencies: 1901 1902 1903 1904 3 -- Name: persona_nodi; Type: TABLE; Schema: public; Owner: - -- @@ -81,8 +81,8 @@ CREATE TABLE persona_nodi ( -- --- TOC entry 1563 (class 1259 OID 61307) --- Dependencies: 1899 1900 1901 1902 1903 1904 1905 3 +-- TOC entry 1564 (class 1259 OID 61307) +-- Dependencies: 1905 1906 1907 1908 1909 1910 1911 3 -- Name: persona_nodo_recapiti; Type: TABLE; Schema: public; Owner: - -- @@ -99,8 +99,8 @@ CREATE TABLE persona_nodo_recapiti ( -- --- TOC entry 1560 (class 1259 OID 61266) --- Dependencies: 1882 1883 1884 1885 1886 1887 3 +-- TOC entry 1561 (class 1259 OID 61266) +-- Dependencies: 1888 1889 1890 1891 1892 1893 3 -- Name: persona_recapiti; Type: TABLE; Schema: public; Owner: - -- @@ -116,8 +116,8 @@ CREATE TABLE persona_recapiti ( -- --- TOC entry 1559 (class 1259 OID 61243) --- Dependencies: 1880 1881 3 +-- TOC entry 1560 (class 1259 OID 61243) +-- Dependencies: 1886 1887 3 -- Name: persona_uffici; Type: TABLE; Schema: public; Owner: - -- @@ -133,8 +133,8 @@ CREATE TABLE persona_uffici ( -- --- TOC entry 1561 (class 1259 OID 61280) --- Dependencies: 1888 1889 1890 1891 1892 1893 1894 3 +-- TOC entry 1562 (class 1259 OID 61280) +-- Dependencies: 1894 1895 1896 1897 1898 1899 1900 3 -- Name: persona_ufficio_recapiti; Type: TABLE; Schema: public; Owner: - -- @@ -151,8 +151,8 @@ CREATE TABLE persona_ufficio_recapiti ( -- --- TOC entry 1557 (class 1259 OID 61227) --- Dependencies: 1874 1875 1876 1877 3 +-- TOC entry 1558 (class 1259 OID 61227) +-- Dependencies: 1875 1876 1877 1878 1879 1880 1881 1882 1883 3 -- Name: persone; Type: TABLE; Schema: public; Owner: - -- @@ -162,13 +162,18 @@ CREATE TABLE persone ( nome character varying(50) DEFAULT ''::character varying, id_titoli integer DEFAULT 0, data_nascita date, - status character varying(1) DEFAULT ''::character varying + status character varying(1) DEFAULT ''::character varying, + indirizzo character varying(255) DEFAULT ''::character varying, + id_citta integer DEFAULT 0, + cap character varying(5) DEFAULT ''::character varying, + codice_fiscale character varying(16) DEFAULT ''::character varying, + descrizione text DEFAULT ''::text ); -- --- TOC entry 1564 (class 1259 OID 61322) --- Dependencies: 1906 1907 3 +-- TOC entry 1565 (class 1259 OID 61322) +-- Dependencies: 1912 1913 3 -- Name: posizioni_economiche; Type: TABLE; Schema: public; Owner: - -- @@ -180,8 +185,8 @@ CREATE TABLE posizioni_economiche ( -- --- TOC entry 1566 (class 1259 OID 61336) --- Dependencies: 1910 1911 3 +-- TOC entry 1567 (class 1259 OID 61336) +-- Dependencies: 1916 1917 3 -- Name: profili_professionali; Type: TABLE; Schema: public; Owner: - -- @@ -193,8 +198,8 @@ CREATE TABLE profili_professionali ( -- --- TOC entry 1552 (class 1259 OID 59346) --- Dependencies: 1861 1862 1863 3 +-- TOC entry 1553 (class 1259 OID 59346) +-- Dependencies: 1862 1863 1864 3 -- Name: struttura_indirizzi; Type: TABLE; Schema: public; Owner: - -- @@ -209,8 +214,8 @@ CREATE TABLE struttura_indirizzi ( -- --- TOC entry 1550 (class 1259 OID 59327) --- Dependencies: 1855 1856 1857 1858 1859 3 +-- TOC entry 1551 (class 1259 OID 59327) +-- Dependencies: 1856 1857 1858 1859 1860 3 -- Name: strutture; Type: TABLE; Schema: public; Owner: - -- @@ -225,8 +230,8 @@ CREATE TABLE strutture ( -- --- TOC entry 1547 (class 1259 OID 59290) --- Dependencies: 1848 1849 3 +-- TOC entry 1548 (class 1259 OID 59290) +-- Dependencies: 1849 1850 3 -- Name: tipi_nodo; Type: TABLE; Schema: public; Owner: - -- @@ -238,8 +243,8 @@ CREATE TABLE tipi_nodo ( -- --- TOC entry 1565 (class 1259 OID 61329) --- Dependencies: 1908 1909 3 +-- TOC entry 1566 (class 1259 OID 61329) +-- Dependencies: 1914 1915 3 -- Name: tipi_prestazione; Type: TABLE; Schema: public; Owner: - -- @@ -251,8 +256,8 @@ CREATE TABLE tipi_prestazione ( -- --- TOC entry 1558 (class 1259 OID 61236) --- Dependencies: 1878 1879 3 +-- TOC entry 1559 (class 1259 OID 61236) +-- Dependencies: 1884 1885 3 -- Name: tipi_rapporto_lavoro; Type: TABLE; Schema: public; Owner: - -- @@ -264,8 +269,8 @@ CREATE TABLE tipi_rapporto_lavoro ( -- --- TOC entry 1548 (class 1259 OID 59297) --- Dependencies: 1850 1851 3 +-- TOC entry 1549 (class 1259 OID 59297) +-- Dependencies: 1851 1852 3 -- Name: tipi_recapito; Type: TABLE; Schema: public; Owner: - -- @@ -277,8 +282,8 @@ CREATE TABLE tipi_recapito ( -- --- TOC entry 1556 (class 1259 OID 61219) --- Dependencies: 1871 1872 1873 3 +-- TOC entry 1557 (class 1259 OID 61219) +-- Dependencies: 1872 1873 1874 3 -- Name: titoli; Type: TABLE; Schema: public; Owner: - -- @@ -291,8 +296,8 @@ CREATE TABLE titoli ( -- --- TOC entry 1549 (class 1259 OID 59311) --- Dependencies: 1852 1853 1854 3 +-- TOC entry 1550 (class 1259 OID 59311) +-- Dependencies: 1853 1854 1855 3 -- Name: uffici; Type: TABLE; Schema: public; Owner: - -- @@ -306,8 +311,8 @@ CREATE TABLE uffici ( -- --- TOC entry 1553 (class 1259 OID 59357) --- Dependencies: 1864 1865 3 +-- TOC entry 1554 (class 1259 OID 59357) +-- Dependencies: 1865 1866 3 -- Name: ufficio_nodi; Type: TABLE; Schema: public; Owner: - -- @@ -321,8 +326,8 @@ CREATE TABLE ufficio_nodi ( -- --- TOC entry 1554 (class 1259 OID 59399) --- Dependencies: 1866 1867 3 +-- TOC entry 1555 (class 1259 OID 59399) +-- Dependencies: 1867 1868 3 -- Name: ufficio_orari; Type: TABLE; Schema: public; Owner: - -- @@ -349,8 +354,8 @@ CREATE TABLE ufficio_orari ( -- --- TOC entry 1555 (class 1259 OID 59409) --- Dependencies: 1868 1869 1870 3 +-- TOC entry 1556 (class 1259 OID 59409) +-- Dependencies: 1869 1870 1871 3 -- Name: ufficio_recapiti; Type: TABLE; Schema: public; Owner: - -- @@ -366,8 +371,8 @@ CREATE TABLE ufficio_recapiti ( -- --- TOC entry 1551 (class 1259 OID 59340) --- Dependencies: 1860 3 +-- TOC entry 1552 (class 1259 OID 59340) +-- Dependencies: 1861 3 -- Name: vie; Type: TABLE; Schema: public; Owner: - -- @@ -378,8 +383,8 @@ CREATE TABLE vie ( -- --- TOC entry 1922 (class 2606 OID 59289) --- Dependencies: 1546 1546 +-- TOC entry 1928 (class 2606 OID 59289) +-- Dependencies: 1547 1547 -- Name: nodi_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -388,8 +393,8 @@ ALTER TABLE ONLY nodi -- --- TOC entry 1964 (class 2606 OID 61360) --- Dependencies: 1567 1567 +-- TOC entry 1970 (class 2606 OID 61360) +-- Dependencies: 1568 1568 -- Name: persona_incarichi_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -398,8 +403,8 @@ ALTER TABLE ONLY persona_incarichi -- --- TOC entry 1954 (class 2606 OID 61305) --- Dependencies: 1562 1562 +-- TOC entry 1960 (class 2606 OID 61305) +-- Dependencies: 1563 1563 -- Name: persona_nodi_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -408,8 +413,8 @@ ALTER TABLE ONLY persona_nodi -- --- TOC entry 1956 (class 2606 OID 61321) --- Dependencies: 1563 1563 +-- TOC entry 1962 (class 2606 OID 61321) +-- Dependencies: 1564 1564 -- Name: persona_nodo_recapiti_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -418,8 +423,8 @@ ALTER TABLE ONLY persona_nodo_recapiti -- --- TOC entry 1950 (class 2606 OID 61279) --- Dependencies: 1560 1560 +-- TOC entry 1956 (class 2606 OID 61279) +-- Dependencies: 1561 1561 -- Name: persona_recapiti_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -428,8 +433,8 @@ ALTER TABLE ONLY persona_recapiti -- --- TOC entry 1948 (class 2606 OID 61252) --- Dependencies: 1559 1559 +-- TOC entry 1954 (class 2606 OID 61252) +-- Dependencies: 1560 1560 -- Name: persona_uffici_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -438,8 +443,8 @@ ALTER TABLE ONLY persona_uffici -- --- TOC entry 1952 (class 2606 OID 61294) --- Dependencies: 1561 1561 +-- TOC entry 1958 (class 2606 OID 61294) +-- Dependencies: 1562 1562 -- Name: persona_ufficio_recapiti_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -448,8 +453,8 @@ ALTER TABLE ONLY persona_ufficio_recapiti -- --- TOC entry 1944 (class 2606 OID 61235) --- Dependencies: 1557 1557 +-- TOC entry 1950 (class 2606 OID 61235) +-- Dependencies: 1558 1558 -- Name: persone_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -458,8 +463,8 @@ ALTER TABLE ONLY persone -- --- TOC entry 1958 (class 2606 OID 61328) --- Dependencies: 1564 1564 +-- TOC entry 1964 (class 2606 OID 61328) +-- Dependencies: 1565 1565 -- Name: posizioni_economiche_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -468,8 +473,8 @@ ALTER TABLE ONLY posizioni_economiche -- --- TOC entry 1962 (class 2606 OID 61342) --- Dependencies: 1566 1566 +-- TOC entry 1968 (class 2606 OID 61342) +-- Dependencies: 1567 1567 -- Name: profili_professionali_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -478,8 +483,8 @@ ALTER TABLE ONLY profili_professionali -- --- TOC entry 1934 (class 2606 OID 59356) --- Dependencies: 1552 1552 +-- TOC entry 1940 (class 2606 OID 59356) +-- Dependencies: 1553 1553 -- Name: struttura_indirizzi_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -488,8 +493,8 @@ ALTER TABLE ONLY struttura_indirizzi -- --- TOC entry 1930 (class 2606 OID 59339) --- Dependencies: 1550 1550 +-- TOC entry 1936 (class 2606 OID 59339) +-- Dependencies: 1551 1551 -- Name: strutture_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -498,8 +503,8 @@ ALTER TABLE ONLY strutture -- --- TOC entry 1924 (class 2606 OID 59296) --- Dependencies: 1547 1547 +-- TOC entry 1930 (class 2606 OID 59296) +-- Dependencies: 1548 1548 -- Name: tipi_nodo_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -508,8 +513,8 @@ ALTER TABLE ONLY tipi_nodo -- --- TOC entry 1960 (class 2606 OID 61335) --- Dependencies: 1565 1565 +-- TOC entry 1966 (class 2606 OID 61335) +-- Dependencies: 1566 1566 -- Name: tipi_prestazione_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -518,8 +523,8 @@ ALTER TABLE ONLY tipi_prestazione -- --- TOC entry 1946 (class 2606 OID 61242) --- Dependencies: 1558 1558 +-- TOC entry 1952 (class 2606 OID 61242) +-- Dependencies: 1559 1559 -- Name: tipi_rapporto_lavoro_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -528,8 +533,8 @@ ALTER TABLE ONLY tipi_rapporto_lavoro -- --- TOC entry 1926 (class 2606 OID 59303) --- Dependencies: 1548 1548 +-- TOC entry 1932 (class 2606 OID 59303) +-- Dependencies: 1549 1549 -- Name: tipi_recapito_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -538,8 +543,8 @@ ALTER TABLE ONLY tipi_recapito -- --- TOC entry 1942 (class 2606 OID 61226) --- Dependencies: 1556 1556 +-- TOC entry 1948 (class 2606 OID 61226) +-- Dependencies: 1557 1557 -- Name: titoli_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -548,8 +553,8 @@ ALTER TABLE ONLY titoli -- --- TOC entry 1928 (class 2606 OID 59321) --- Dependencies: 1549 1549 +-- TOC entry 1934 (class 2606 OID 59321) +-- Dependencies: 1550 1550 -- Name: uffici_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -558,8 +563,8 @@ ALTER TABLE ONLY uffici -- --- TOC entry 1936 (class 2606 OID 59366) --- Dependencies: 1553 1553 +-- TOC entry 1942 (class 2606 OID 59366) +-- Dependencies: 1554 1554 -- Name: ufficio_nodi_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -568,8 +573,8 @@ ALTER TABLE ONLY ufficio_nodi -- --- TOC entry 1938 (class 2606 OID 59408) --- Dependencies: 1554 1554 +-- TOC entry 1944 (class 2606 OID 59408) +-- Dependencies: 1555 1555 -- Name: ufficio_orari_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -578,8 +583,8 @@ ALTER TABLE ONLY ufficio_orari -- --- TOC entry 1940 (class 2606 OID 59419) --- Dependencies: 1555 1555 +-- TOC entry 1946 (class 2606 OID 59419) +-- Dependencies: 1556 1556 -- Name: ufficio_recapiti_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -588,8 +593,8 @@ ALTER TABLE ONLY ufficio_recapiti -- --- TOC entry 1932 (class 2606 OID 59345) --- Dependencies: 1551 1551 +-- TOC entry 1938 (class 2606 OID 59345) +-- Dependencies: 1552 1552 -- Name: vie_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -597,7 +602,7 @@ ALTER TABLE ONLY vie ADD CONSTRAINT vie_pkey PRIMARY KEY (id); --- Completed on 2010-10-14 17:07:58 +-- Completed on 2010-10-19 10:39:54 -- -- PostgreSQL database dump complete