phase 4 : rajout de la table phase_5_pk
This commit is contained in:
parent
062bd6b16d
commit
d53fa0e35e
Binary file not shown.
|
@ -170,11 +170,15 @@ ORDER BY id ;"""
|
|||
print("")
|
||||
|
||||
print(" Import des PK dans la table phase_5_pk_ref")
|
||||
|
||||
sql_transfert = "TRUNCATE TABLE phase_5_pk_ref ; "
|
||||
sql_transfert = "TRUNCATE TABLE phase_5_pk_ref ; "
|
||||
sql_transfert += "INSERT INTO phase_5_pk_ref SELECT * FROM phase_3_pk ORDER BY pk_id ;"
|
||||
db_redadeg_cursor.execute(sql_transfert)
|
||||
print(" fait")
|
||||
|
||||
print(" Import des PK dans la table phase_5_pk")
|
||||
sql_transfert = "TRUNCATE TABLE phase_5_pk ; "
|
||||
sql_transfert += "INSERT INTO phase_5_pk SELECT * FROM phase_3_pk ORDER BY pk_id ;"
|
||||
db_redadeg_cursor.execute(sql_transfert)
|
||||
print(" fait")
|
||||
|
||||
|
||||
|
|
|
@ -799,6 +799,7 @@ CREATE TABLE phase_5_pk
|
|||
pk_lat numeric(10,8),
|
||||
length_real numeric(6,2),
|
||||
length_theorical integer,
|
||||
length_total integer,
|
||||
secteur_id integer,
|
||||
municipality_admincode text,
|
||||
municipality_postcode text,
|
||||
|
|
Loading…
Reference in a new issue