Changes between Version 11 and Version 12 of dbeel


Ignore:
Timestamp:
Dec 21, 2010 4:27:47 PM (14 years ago)
Author:
cedric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • dbeel

    v11 v12  
    2222C:\"Program Files"\PostgreSQL\8.4\bin\psql -U postgres -d dbeel -p 5433 -f bdmap.bdmap.sql 
    2323}}} 
    24 {{{ 
    25 #!sql 
    26 DROP TABLE if exists "onema".station_onema CASCADE; 
    27 CREATE TABLE "onema".station_onema ( 
    28         LIKE bdmap.station, 
    29         CONSTRAINT station_onema_id PRIMARY KEY (op_id), 
    30         CONSTRAINT station_onema_fk_observation_place_type_id FOREIGN KEY (op_no_observationplacetype)  
    31         REFERENCES "dbeel_nomenclature".observation_place_type (no_id)  
    32         MATCH SIMPLE ON UPDATE CASCADE ON DELETE RESTRICT 
    33 ) INHERITS ("dbeel".observation_places); 
    34 -- TODO: insert trigger 
    3524 
    36 INSERT INTO "onema".station_onema 
    37         SELECT  uuid_generate_v4() as op_id, 
    38         'onema' as op_gis_systemname , 
    39         'BDMAP' as op_gis_layername,  
    40         s.st_id as op_gislocation, 
    41         s.st_localisation as op_placename, 
    42         10 as op_no_observationplacetype, -- Sampling station 
    43         NULL as  op_op_id, 
    44         s.* FROM bdmap.station s ; 
    45 }}} 
     25= changes by cedric = 
     26changeset:1488 [[BR]]