271 | | alter table obstacle set schema roe_v2 |
272 | | COMMENT ON TABLE roe_v2.obstacle IS 'Table transmise par Laurent du 13 février 2012'; |
273 | | |
274 | | UPDATE roe_v2.obstacle SET the_geom = ST_transform(the_geom, 3035); |
275 | | ALTER TABLE roe_v2.obstacle ADD CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035); |
276 | | |
277 | | alter table roe_v2.obstacle RENAME COLUMN "Id_ROE" TO Id_ROE; |
278 | | alter table roe_v2.obstacle RENAME COLUMN "Nom" TO Nom; |
279 | | alter table roe_v2.obstacle RENAME COLUMN "typeNom" TO typeNom; |
280 | | alter table roe_v2.obstacle RENAME COLUMN "stypeNom" TO stypeNom; |
281 | | alter table roe_v2.obstacle RENAME COLUMN "staNom" TO staNom; |
282 | | alter table roe_v2.obstacle RENAME COLUMN "etatNom" TO etatNom; |
283 | | alter table roe_v2.obstacle RENAME COLUMN "IdTrCart" TO IdTrCart; |
284 | | alter table roe_v2.obstacle RENAME COLUMN "nomCart" TO nomCart; |
285 | | alter table roe_v2.obstacle RENAME COLUMN "CHCart" TO CHCart; |
286 | | alter table roe_v2.obstacle RENAME COLUMN "CGCart" TO CGCart; |
287 | | alter table roe_v2.obstacle RENAME COLUMN "ZHCart" TO ZHCart; |
288 | | alter table roe_v2.obstacle RENAME COLUMN "nomTopo" TO nomTopo; |
289 | | alter table roe_v2.obstacle RENAME COLUMN "commNom" TO commNom; |
290 | | alter table roe_v2.obstacle RENAME COLUMN "deptCd" TO deptCd; |
| 271 | alter table obstacle set schema roe_v3 |
| 272 | COMMENT ON TABLE roe_v3.obstacle IS 'Table transmise par Laurent du 13 février 2012'; |
| 273 | |
| 274 | UPDATE roe_v3.obstacle SET the_geom = ST_transform(the_geom, 3035); |
| 275 | ALTER TABLE roe_v3.obstacle ADD CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 3035); |
| 276 | |
| 277 | alter table roe_v3.obstacle RENAME COLUMN "Id_ROE" TO Id_ROE; |
| 278 | alter table roe_v3.obstacle RENAME COLUMN "Nom" TO Nom; |
| 279 | alter table roe_v3.obstacle RENAME COLUMN "typeNom" TO typeNom; |
| 280 | alter table roe_v3.obstacle RENAME COLUMN "stypeNom" TO stypeNom; |
| 281 | alter table roe_v3.obstacle RENAME COLUMN "staNom" TO staNom; |
| 282 | alter table roe_v3.obstacle RENAME COLUMN "etatNom" TO etatNom; |
| 283 | alter table roe_v3.obstacle RENAME COLUMN "IdTrCart" TO IdTrCart; |
| 284 | alter table roe_v3.obstacle RENAME COLUMN "nomCart" TO nomCart; |
| 285 | alter table roe_v3.obstacle RENAME COLUMN "CHCart" TO CHCart; |
| 286 | alter table roe_v3.obstacle RENAME COLUMN "CGCart" TO CGCart; |
| 287 | alter table roe_v3.obstacle RENAME COLUMN "ZHCart" TO ZHCart; |
| 288 | alter table roe_v3.obstacle RENAME COLUMN "nomTopo" TO nomTopo; |
| 289 | alter table roe_v3.obstacle RENAME COLUMN "commNom" TO commNom; |
| 290 | alter table roe_v3.obstacle RENAME COLUMN "deptCd" TO deptCd; |